stable

Clone or download

Read-only

Fix request #32289 LDAP default user sync have a wrong check for users with long names

Given a user that have a real name that have more than 32 chars, and given that Tuleap uses the LDAP authentication method, then an LDAP sync will be forced at each user login, even if the Tuleap real name matches the LDAP real name. Note: Some example files are removed because it has no more interest. How to test ----------- * Have an LDAP user with a realname that have more than 32 chars * Have this same realname in the corresponding Tuleap user * Loggin as this user using the LDAP auth => No LDAP sync is triggered. Change-Id: I9f27e79644828c30b0d46976f98d74560a67c446

Modified Files

Name
M plugins/ldap/include/LDAP_UserSync.class.php +16 −16 Go to diff View file
D plugins/ldap/include/LDAP_UserSync_Orange.class.php +0 −67 Go to diff View file
D plugins/ldap/site-content/en_US/synchronize_user_of.txt +0 −116 Go to diff View file
M plugins/ldap/tests/unit/UserSyncTest.php +92 −53 Go to diff View file