Currently it appears for users to edit their ldap data fields, the module has to authenticate as a single "super" user with edit permissions for ALL ldap users. It would make more sense to have the module authenticate as the user themselves in order to edit their ldap data.

Comments

eriktoyra’s picture

Status: Active » Closed (won't fix)

This is not up to the LDAP module to decide. By default, the LDAP module tries to authenticate with the currently logged in user when updating data fields. However, if the LDAP server is configured so that "normal" users should not be able to update their own data fields it is required that you have a "super" user with edit permissions for all LDAP users. This is normally a "root" or "admin" user. You should either configure the "super" user login in the LDAP module configuration or (which I don't recommend) allow all users to edit their own data fields in the LDAP server.

Setting the status to "Won't fix" since this request is outside the LDAP module project.

mtndan’s picture

Will this work regardless if you are using Profile module to hold the fields, or do you have to manually configure them in the conf file?

eriktoyra’s picture

Status: Closed (won't fix) » Closed (fixed)

Yes, you can use the Profile module and map the fields to the corresponding LDAP fields in the conf file. I do that on our intranet and it works great.

mtndan’s picture

Thanks. Any plans to make this work with profiles-as-nodes, ala bio or content profile module?

miglius’s picture

http://drupal.org/project/ldap_provisioning module is integrated with the http://drupal.org/project/content_profile module which provides profiles as nodes, but ldapdata module is not.

mtndan’s picture

Thank you. I sifted through the README and the code for ldap_provisioning, and I do see references to content_profile in the code, but I have no idea how to get it to work. See http://drupal.org/project/issues/178908