Needs review
Project:
LDAP integration
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Dec 2012 at 12:44 UTC
Updated:
2 May 2013 at 17:23 UTC
Jump to comment: Most recent file
Comments
Comment #1
pbosmans commentedI noticed some strange behavior about the syncing of profile fields.
Within the ldapsync.module on line 355 the function '_ldapdata_user_load' use the parameter $ldap_users which is not defined in the function.
The only place where $ldap_users is define is on line 82 with the function '_ldap_search'. This function calls the function '_ldapsync_process_entry' which on his turns call the '_ldapdata_user_load' function which uses the result of the return value of '_ldap_search'.
This is one issue why the syncing of profile fields doesn't work. The other issue is within the ldapdata.module.
I created a patch that will do the job correctly and now ldapsync will update my profile fields with the corresponding ldap-attributes.
Comment #2
puddyglumThanks for the patch, it works very well!