Bug #12296
closedUsers in external group removed, users remain in Foreman.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1253800
Description of problem:
External group in Foreman linked to LDAP. Refresh button populates group members as expected. Remove all users from group in LDAP, refresh button has comes back with: "Group does not have any members" as expected. However the previous user account still exists in that group even though they are no longer in said group in LDAP.
Version-Release number of selected component (if applicable):
Red Hat Satellite
Version 6.1.1 © 2014 Red Hat Inc.
Includes Foreman © 2009-2015 Paul Kelly and Ohad Levy
How reproducible: 100%
Steps to Reproduce:
1. Create user group in Satellite Server
2. Link it to external LDAP group
3. Refresh the LDAP Satellite group
4. Note members of group post refresh
5. Remove all group members in LDAP
6. Refresh the LDAP Satellite group
7. View the user group members
Actual results:
Members no longer in the LDAP group remain in Satellite user group.
Expected results:
Members no longer in the LDAP group should be removed from Satellite user group.
Additional info:
I am using an old Sun LDAP for this test. Have not tried to reproduce on AD or OpenLDAP.
Updated by Dominic Cleal over 8 years ago
- Status changed from New to Need more information
Can you provide debug logs (with LDAP enabled)? http://theforeman.org/manuals/latest/index.html#7.2Debugging
ldapsearch output of the groups would be useful too.
Updated by Tomer Brisker about 8 years ago
- Status changed from Need more information to Rejected
Downstream bug has been closed, could not be reproduced. Closing upstream as well.