Hello Bram,

I didn't have any problems as far as I can remember, I've wrapped the
connection part so it is some time ago I actually coded that part.

I connect to LDAP like this, maybe the protocol version is significant,
I vaguely remember something with that.

$this->conn = ldap_connect($ldaphost,$ldapport);                
ldap_set_option($this->conn,LDAP_OPT_PROTOCOL_VERSION,3);
ldap_bind($this->conn,$binddn,$bindpw);

Regards,
Gerben van Ek

-----Oorspronkelijk bericht-----
Van: [email protected]
[mailto:[email protected]] Namens Bram Cymet
Verzonden: donderdag 10 maart 2011 18:27
Aan: [email protected]
Onderwerp: php ldap binding problems

Hi,

Has anyone had to problem using php_ldap where the bind to ldap will 
work find but will unbind right away so any attempt to search the tree 
fails?

If so were you able to fix it?

-- 
Bram Cymet
Software Developer
Canadian Bank Note Co. Ltd.
613-608-9752


--
 


--
 

Reply via email to