LDAP group synchronisation is dependent on the "corresponding user attribute", a setting which is only needed if an external directory is used for group synchronisation.
The fix is simple - the combination of if-staments just need to be adjusted slightly - see patch.
1174c1179 -if ($prefs['syncGroupsWithDirectory'] == 'y' && $userattributes[$prefs['auth_ldap_group_corr_userattr']] != null) { - // sync external group information of user - $ldapgroups = array(); - - if ($prefs['auth_ldap_group_external'] == 'y') { +if ($prefs['syncGroupsWithDirectory'] == 'y') { + // sync external group information of user + $ldapgroups = array(); + + if ($prefs['auth_ldap_group_external'] == 'y' && $userattributes[$prefs['auth_ldap_group_corr_userattr']] != null) {
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |