Bug 1445421 - Auth MIQLDAP Email field not updated when changed on LDAP server
Summary: Auth MIQLDAP Email field not updated when changed on LDAP server
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: GA
: cfme-future
Assignee: Joe Vlcek
QA Contact: Matt Pusateri
URL:
Whiteboard: auth:miqldap:ad:freeipa:openldap
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-25 16:01 UTC by Matt Pusateri
Modified: 2017-10-09 19:07 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-09 19:07:42 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Matt Pusateri 2017-04-25 16:01:56 UTC
Description of problem:
Auth - MIQLDAP - Openldap Email field not update when changed on LDAP server - Definitely happens when not using "get groups from LDAP". 


Version-Release number of selected component (if applicable):
5.8.0.11-beta2  Probably 5.6 and 5.7 as well

How reproducible:


Steps to Reproduce:
1. Configure MIQLDAP for LDAP/LDAPS
2. Check "Get Groups from LDAP due to this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1445405
3. Log in with a user, check his user page in the UI.
4. Update the users email address on the ldap server
5. Uncheck "get groups from ldap" see bug above
6. Log out and back in, see that the users email address is not updated.

Actual results:
email address is not updated

Expected results:
email address should be updated.

Additional info:
Could also be affected by bug: https://bugzilla.redhat.com/show_bug.cgi?id=1445413

Comment 2 Joe Vlcek 2017-10-09 19:07:42 UTC
Matt,

In Brief:
---------
I am closing this a NOTABUG because it is working as designed. If you feel it is an issue that MiqLdap should handle let's reopen this but as an RFE.

Details:
--------

The user record is not updated to reflect changes in the directory because you had changed the way MiqLdap manages the user record when you did:
  "5. Uncheck "get groups from ldap" see bug above"


Had you left "get groups from ldap" checked changes to the user's directory entry would be reflected in the CFME user record. But when "get groups from ldap" is unchecked CFME will not create or modify the user record. Under this condition it is the responsibility of the CFME administrator to create and manage the user records in the CFME database.

I am marking this as not a bug because by design MiqLdap will not create or modify
the user record when "get groups from ldap" is unchecked.

If you feel it is an issue that MiqLdap should handle let's reopen this but as an RFE.

JoeV


Note You need to log in before you can comment on or make changes to this bug.