Skip to content

Conversation

@schiessle
Copy link
Member

fix from upstream: owncloud/core#25553

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.
@schiessle
Copy link
Member Author

cc @blizzz for this one and the backports

@icewind1991
Copy link
Member

👍

@ChristophWurst
Copy link
Member

👍 makes sense

@LukasReschke LukasReschke merged commit bf7afcd into master Jul 28, 2016
@LukasReschke LukasReschke deleted the ldap-avoidneedlesssetemailonlogin branch July 28, 2016 15:10
GitHubUser4234 pushed a commit to GitHubUser4234/server that referenced this pull request Aug 30, 2016
…emailonlogin

Prevent setting email and triggering events at login time (nextcloud#25553)
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