I have a simple script which returns results from the active directory. It works great.
But some of the feilds like "streetAddress", "postalCode" etc etc, are not returning any data, even though they are filled out in the active directory.
I starting thinking, that maybe my script is populating data from the Global Catelouge, which in turn only indexes the information which the Global Address Book uses. But when I double click a name in our Global Address Book, I can see all the users details from the active directory.
I guess my question is, how is the Global Address Book populated, and when I click a user, how is the additional information populated?
My assumption is that my script (and the global address book) are using the data from the GC. And when I click on a user in the Global Address Book, the additional data is pulled from the AD.
Does anyone have an example of pulling ALL data of a user from the AD in php using LDAP?
Thanks.