Problem with LDAP mapping I've successfully used the LDAP Integration module to use LDAP authentication with Drupal. Now I'm trying to create an address book with information from LDAP.

I've tried the following solution:

Changed the ldapdata.module, the part that states which fields can be mapped between LDAP and Drupal (e.g. mail => mail). This fails when I try to add more mappings. I believe this maps to the users table in Drupal, but when I try to add a field to that table and map a LDAP attribute to it, nothing goes into the database. My plan was to then use Table Wizard with Views to create the address book. Using Table Wizard and Views I was able to extract everything I wanted from the users table, but the problem of entering data into the table is still not solved.

If you have any ideas, any at all, I'd really appreciate it.
Enable the LDAP Query module and run your own query like below.

//Lets say you have the user details loaded here
global $user;

$ldap_query = new LdapQuery('ldap_user_query');
$ldap_query-&gt;baseDn=array('DC=CORP,DC=AD,DC=YOURCOMPANY,DC=com');
$ldap_query-&gt;sid='corp.ad.yourcompany.com';
$ldap_query-&gt;qid='ldap_user_query';
$ldap_query-&gt;name='ldap_user_query';

//Enable the Query.
$ldap_query-&gt;status=1;

$ldap_query-&gt;filter='(&amp;(objectClass=user)(name=' . $user-&gt;field_full_name[LANGUAGE_NONE][0]['value'] . '))';
$user_data = $ldap_query-&gt;query();

//use the user data to update other fields.
dsm($user_data);