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.
@schiessle schiessle added this to the Nextcloud 10.0 milestone Jul 27, 2016
@schiessle schiessle changed the title Prevent setting email and triggering events at login time (#25554) [stable10] Prevent setting email and triggering events at login time (#25554) Jul 27, 2016
@icewind1991
Copy link
Member

👍

1 similar comment
@blizzz
Copy link
Member

blizzz commented Jul 31, 2016

👍

@MorrisJobke MorrisJobke merged commit 481418f into stable10 Aug 1, 2016
@MorrisJobke MorrisJobke deleted the ldap-avoidneedlesssetemailonlogin-stable10 branch August 1, 2016 16:22
R0Wi pushed a commit to R0Wi/server that referenced this pull request Nov 22, 2025
 Remove https prevention for manual-install
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