Project

General

Profile

Actions

Bug #14286

closed

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

Added by Shimon Shtein over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
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 1 (0 open1 closed)

Has duplicate Foreman - Bug #9696: LDAP auth source base DN and password missing from API responsesDuplicate03/10/2015Actions
Actions #1

Updated by The Foreman Bot over 8 years ago

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

Updated by Shimon Shtein over 8 years ago

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

Updated by Dominic Cleal over 8 years ago

  • Category set to API
  • Translation missing: en.field_release set to 141
Actions #4

Updated by Dominic Cleal over 8 years ago

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

Also available in: Atom PDF