How to choose which fields are available via LDAP from an Active Directory
- by Felix Eve
I'm using PHP to do an ldap search and then pull the attributes out using ldap_get_attributes.
This returns an array of data (that can be seen here) however there are some fields that are missing such as Organization Title, department, company, address and telephone number.
How to I make these fields available?
There is a similar question here: http://www.petri.co.il/forums/showthread.php?t=15227
I've followed the steps outlined there an tried changing some access permissions but am not really sure what I'm doing and can't see any permissions that directly relate to the fields that I can see when I edit a user in the "Active Directory Users Computers" window.
I am a PHP developer, not a Windows server administrator so am finding configuring an AD rather challenging so please don't assume any level of knowledge about AD.
I've asked the same question on stack exchange but understand this is a more relevant place to ask.