Re: PHP LDAP query - need to add Exchange fields
| From: | Stuart | Date: | Thu, 18 Dec 2003 10:52:20 +0000 |
| Subject: | Re: PHP LDAP query - need to add Exchange fields | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172933@lists.php.net to get a copy of this message | ||
Ben Crothers wrote:
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?Not all of the fields in Exchange are exposed through LDAP (this is from experience, I have no reference to back this up but would appreciate it if someone else has any info on the LDAP implementation in Excahnge 5.5+). I would guess from your question that 'office' is one of the fields that is not. -- Stuart