Details
-
Bug
-
Resolution: Fixed
-
Major
-
9.15.6
-
None
-
Unknown
-
Description
If an attribute from the LDAP is removed, the corresponding user profile attribute is not cleaned up.
I have seen an actual use case where users of the organization might loose their email address while still being able to log in.
Steps to reproduce:
- give a test user an email, e.g. by the following ldif:
dn: CN=User101,CN=Users,DC=localhost,DC=nodomain changetype: modify replace: mail mail: user101@localhost.nodomain
- log in as that user - user gets email set in their profile
- remove the email attribute in LDAP:
dn: CN=User101,CN=Users,DC=localhost,DC=nodomain changetype: modify delete: mail
- log in again with that user
Expected behavior:
- user has no loger their e-mail address set in the profile
Observed behavior:
- email is still set in the user profile