Skip to content

Conversation

@schiessle
Copy link
Member

backport of #592

Whenever an LDAP user also has an email address defined in LDAP, the
LDAP code will try and update the email address of the locally known
user. This happens at login time or every time the user's LDAP
attributes are processed.

There is code listening to the email setting hook which updates the
system address book, which also will trigger FS setup due to avatars
and other things.

This fix only sets the email address when really necessary.

Whenever an LDAP user also has an email address defined in LDAP, the
LDAP code will try and update the email address of the locally known
user. This happens at login time or every time the user's LDAP
attributes are processed.

There is code listening to the email setting hook which updates the
system address book, which also will trigger FS setup due to avatars
and other things.

This fix only sets the email address when really necessary.
@icewind1991
Copy link
Member

👍

@schiessle
Copy link
Member Author

@blizzz mind having a look at this LDAP pr? Thanks!

@blizzz
Copy link
Member

blizzz commented Jul 31, 2016

LGTM

@MorrisJobke MorrisJobke merged commit 76d7612 into stable9 Aug 1, 2016
@MorrisJobke MorrisJobke deleted the ldap-avoidneedlesssetemailonlogin-stable9 branch August 1, 2016 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants