Closed (fixed)
Project:
LDAP integration
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2008 at 16:15 UTC
Updated:
27 Jan 2009 at 15:52 UTC
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
Comment #1
eriktoyra commentedThis 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.
Comment #2
mtndan commentedWill 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?
Comment #3
eriktoyra commentedYes, 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.
Comment #4
mtndan commentedThanks. Any plans to make this work with profiles-as-nodes, ala bio or content profile module?
Comment #5
miglius commentedhttp://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.
Comment #6
mtndan commentedThank 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