Hi, I was wondering if it's possible to auto-populate a profile field with an LDAP attribute. For example, their first name. Or just their name. Any help would be greatly appreciated. Thanks, Sarah
Hi Sarah,
On Dec 11, 2007 2:06 AM, Sarah.Vardy@student.griffith.edu.au wrote:
I was wondering if it's possible to auto-populate a profile field with an LDAP attribute. For example, their first name. Or just their name.
If you're using the LDAP Integration modules, you can enable ldapdata.moduleand in the settings for it you can map any of the profile fields to fields in LDAP...
Kind regards, Dan
On Monday 10 December 2007 09:06:49 pm Sarah.Vardy@student.griffith.edu.au wrote:
Hi, I was wondering if it's possible to auto-populate a profile field with an LDAP attribute. For example, their first name. Or just their name. Any help would be greatly appreciated. Thanks, Sarah
Sorry for the late reply.
I'm using the LDAP integration module along with Profile to pull in a user's information based on LDAP attributes. I didn't have to edit any of the conf.php files until I wanted to map Drupal roles to specific LDAP groups.
All I did was set up the basic LDAP information in the LDAP Integration module, including the LDAP attributes for name (I think it's typically "uid") and email (I think it's typically "mail"), and then I checked off, in the LDAP Data module configuration, under Attribute Visibility and Access Control, the corresponding boxes.
Hope this helps.
Michael