PHP LDAP query - need to add Exchange fields
| From: | Ben Crothers | Date: | Wed, 17 Dec 2003 23:56:16 +0000 |
| Subject: | PHP LDAP query - need to add Exchange fields | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-172913@lists.php.net to get a copy of this message | ||
Hoping this is an easy question to answer, apologise upfront if this is so
basic, but just been put in charge of a PHP app with LDAP interface to M$
Exchange, and trying to figure out how it works.
At the moment it works fine and extracts fields like first- and surname,
title, department, etc. I need to add the 'office' field, and added it at
the end of this filter line:
---------------------------------------------------
$filter =
"(|(sn=$search[$i]*)(givenname=$search[$i]*)(title=$search[$i]*)(department=
$search[$i]*)(office=$search[$i]*))";
----------------------------------------------------
...but so far it's not working. I *know* there's data in the 'office'
field -- any ideas as to what I'm missing?
Thanks a lot in advance,
Ben