Closed (fixed)
Project:
LDAP integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
17 Aug 2009 at 22:25 UTC
Updated:
15 Oct 2009 at 22:03 UTC
When there is a permission error using the ldap data module to update a directory server via mapping of a profile field the user gets a false "changes have been saved" message.
If display of PHP errors is enabled they also see the permission error. "warning: ldap_modify() [function.ldap-modify]: Modify: Insufficient access in /var/www/html/website/sites/all/modules/ldap_integration/includes/LDAPInterface.inc on line 260.".
If display of php errors is off this can lead to the user thinking their profile is updated but it has not been.
Comments
Comment #1
vincetingey commentedComment #2
miglius commentedI have added a code which prints out the error message if the data was not written to LDAP.
Comment #4
vincetingey commentedThank you!