Hi, I have been trying to read the users telephone number and title from ldap and for some reason this data does not show up on the page. This is what I added to "modules/ldap_integration/ldap_integration/ldapdata.conf.php"

  'telexNumber'			=> array('text', 'textfield', t('Telephone'), 64, 64),
  'title'			=> array('text', 'textfield', t('Title'), 64, 64),

I have gone to ldap data and enabled the attributes to be read by user. When I visit the default user profile, it shows the titles of the fields but does not display the data.

Using LDAP Integration module version 5.x-1.x-dev and Novell Netware 6.5

I appreciate the help!

Comments

cgallo’s picture

Priority: Normal » Critical

I have tried with other values and these seem to work. Can anybody please take a look at this issue? I hope it is a simple error, I do not know much about LDAP. Thanks for the help!

$GLOBALS['ldap_attributes'] = array(
  'givenName'			=> array('text', 'textfield', t('First Name'), 64, 64),
  'sn'				=> array('text', 'textfield', t('Last Name'), 64, 64), //aka Surname
  'title'			=> array('text', 'textfield', t('Title'), 64, 64),
  'cn'            => array('text', 'textfield', t('Common Name'), 64, 64),
  'mail'          => array('text', 'textfield', t('Email'), 64, 64)
);

It just seem weird that it is able to read some values and not others. I appreciate the help.

cgallo’s picture

Status: Active » Fixed

I think I found the solution to this. It seems that the way we have configured LDAP security has something to do with it. If you do searches using an anonymous account, it only lets you see certain fields. You need to make sure that when you configure your ldap connection, you specify a login and password for a user with read and search privileges.

This website was very useful, it has a list of all the ldap attributes for Novell.

http://developer.novell.com/documentation/ndslib/index.html?page=/ndk/do...

scafmac’s picture

Priority: Critical » Normal
Status: Fixed » Closed (fixed)

nothing was fixed