Project

General

Profile

Bug #14286

GET/POST/PUT /api/v2/auth_source_ldaps/ do not return 'groups_base' attribute

Added by Shimon Shtein over 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1318629
++ This bug was initially created as a clone of Bug #1318325 ++

Description of problem:
auth_source_ldaps have 'groups_base' attribute, value of which is not returned by any of POST/GET/PUT request in sat6.2.

Version-Release number of selected component (if applicable):
Satellite 6.2.0 Compose 3

How reproducible:
100%

Steps to Reproduce:
1. Issue HTTP POST request to https://sat.example.com/api/v2/auth_source_ldaps with 'groups_base' attribute set to some value (e.g. 'CN=foobargroup,DC=fortellolabs,DC=org').
2. Capture the response. Examine the JSON payload and discover that the "groups_base" attribute is not mentioned.
3. Issue HTTP GET and HTTP PUT requests to previously created auth_source_ldap. Check the "groups_base" attribute presence.

Actual results:
'groups_base' attribute is absent in GET/POST/PUT responses.

Expected results:
'groups_base' attribute is present and has correct value.

Additional info:
Similar to #1318325


Related issues

Has duplicate Foreman - Bug #9696: LDAP auth source base DN and password missing from API responsesDuplicate2015-03-10

Associated revisions

Revision 6aa12560 (diff)
Added by Shimon Shtein over 4 years ago

Fixes #14286 - added :groups_base field to auth_source_ldaps API

Revision e3c61b68 (diff)
Added by Shimon Shtein about 4 years ago

Fixes #14286 - added :groups_base field to auth_source_ldaps API

(cherry picked from commit 6aa12560df8df0246b1a93801655bad0954e880d)

History

#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3349 added

#2 Updated by Shimon Shtein over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Dominic Cleal over 4 years ago

  • Category set to API
  • Legacy Backlogs Release (now unused) set to 141

#4 Updated by Dominic Cleal over 4 years ago

  • Has duplicate Bug #9696: LDAP auth source base DN and password missing from API responses added

Also available in: Atom PDF