During configuration of this module we initially decided we'd create a power-user to update attributes in LDAP so, under advanced configuration, I cleared the password and and setup the dn / pass for the user.

We've since opted to to allow users to edit their own attributes (via drupal UI) but I can not figure out how to revert the settings back to the default configuration.

In the meantime, when I "test" under advanced configuration w/o a dn/pass set, it connects to LDAP fine. But when user's update their account information I see this error: The data was not written to LDAP.

I've tried uninstalling and reinstalling the module but it still has the form fields to enter the dn / pass rather than the default settings.

Any help is appreciated.

Comments

cgmonroe’s picture

Status: Active » Closed (fixed)

Clearing out old support requests - reopen if problem still exists in newest code (dev)

That said... to revert to using the user dn and password when writing attributes, you need to:

- Check the "clear current password" option and save the server entry.
- Then delete the dn (make sure it's an empty string and not "blank" and save the entry.

This will ensure the _ldapdata_server_edition() code will use the user info.