RE: [PHP] LDAP Query

2006-05-18 Thread php
For anyone interested: after some furhter troubleshooting, I found the error. The password I was passing was incorrect. What I found interesting is that even though the password was incorrect, the bind function still worked. I'm thinking that it logged me in as anonymous at that stage. >Our

[PHP] LDAP Query

2006-05-18 Thread php
Our organization is migrating away from Novell E-directory to MS Active Directory. I have a php class that allows me to run various queries on our e-directory ldap server which I am working to convert to AD. However, I'm running into an error that i cannot figure out. I have updated the base_

[PHP] Re: PHP LDAP query - need to add Exchange fields

2003-12-22 Thread Phil Dowson
Ben, I was trying the same thing, but I am not sure you are using the same setup as me. My office runs a windows 2000 domain with a Exchange server 2000 box. All profile information is stored in the windows 2000 domain controller, and the exchange server accesses the information from there. So

Re: [PHP] PHP LDAP query - need to add Exchange fields

2003-12-18 Thread Stuart
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[$

[PHP] PHP LDAP query - need to add Exchange fields

2003-12-17 Thread Ben Crothers
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 n

[PHP] PHP LDAP query - need to add Exchange fields

2003-12-17 Thread Ben Crothers
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 n