Bug 1318629
Summary: | GET/POST/PUT /api/v2/auth_source_ldaps/ do not return 'groups_base' attribute | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Andrii Balakhtar <abalakht> | ||||
Component: | Provisioning | Assignee: | Shimon Shtein <sshtein> | ||||
Status: | CLOSED ERRATA | QA Contact: | Roman Plevka <rplevka> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.2.0 | CC: | bbuckingham, ehelms, rplevka | ||||
Target Milestone: | Unspecified | Keywords: | Regression, Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
URL: | http://projects.theforeman.org/issues/14286 | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | 1318325 | Environment: | |||||
Last Closed: | 2016-07-27 09:07:19 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Andrii Balakhtar
2016-03-17 12:06:39 UTC
Created redmine issue http://projects.theforeman.org/issues/14286 from this bug Upstream bug component is Provisioning Moving to POST since upstream bug http://projects.theforeman.org/issues/14286 has been closed ------------- Shimon Shtein Applied in changeset commit:6aa12560df8df0246b1a93801655bad0954e880d. VERIFIED with Sat6.2 Snap6.1 ## POST # curl -ku 'admin:changeme' 'https://<sat6_server>/api/v2/auth_source_ldaps' -H 'Content-Type: application/json' -d '{"name":"foo","host":"bar", "groups_base":"CN=foobargroup,DC=fortellolabs,DC=org"}' {"host":"bar","port":389,"account":null,"base_dn":null,"ldap_filter":null,"attr_login":null,"attr_firstname":null,"attr_lastname":null,"attr_mail":null,"attr_photo":null,"onthefly_register":false,"usergroup_sync":true,"tls":false,"server_type":"posix","groups_base":"CN=foobargroup,DC=fortellolabs,DC=org","created_at":"2016-04-03 19:56:47 UTC","updated_at":"2016-04-03 19:56:47 UTC","id":3,"type":"AuthSourceLdap","name":"foo","external_usergroups":[]} ## GET # curl -ku 'admin:changeme' 'https://<sat6_server>/api/v2/auth_source_ldaps/3' {"host":"bar","port":389,"account":null,"base_dn":null,"ldap_filter":null,"attr_login":null,"attr_firstname":null,"attr_lastname":null,"attr_mail":null,"attr_photo":null,"onthefly_register":false,"usergroup_sync":true,"tls":false,"server_type":"posix","groups_base":"CN=foobargroup,DC=fortellolabs,DC=org","created_at":"2016-04-03 19:56:47 UTC","updated_at":"2016-04-03 19:56:47 UTC","id":3,"type":"AuthSourceLdap","name":"foo","external_usergroups":[]} ## PUT # curl -ku 'admin:changeme' 'https://<sat6_server>/api/v2/auth_source_ldaps/3' -H 'Content-Type: application/json' -d '{"id":3, "name":"foo_modified"}' -X PUT {"host":"bar","port":389,"account":null,"base_dn":null,"ldap_filter":null,"attr_login":null,"attr_firstname":null,"attr_lastname":null,"attr_mail":null,"attr_photo":null,"onthefly_register":false,"usergroup_sync":true,"tls":false,"server_type":"posix","groups_base":"CN=foobargroup,DC=fortellolabs,DC=org","created_at":"2016-04-03 19:56:47 UTC","updated_at":"2016-04-03 20:00:31 UTC","id":3,"type":"AuthSourceLdap","name":"foo_modified","external_usergroups":[]} Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1500 |