[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: php ldap binding problems



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: openldap-technical-bounces@OpenLDAP.org
[mailto:openldap-technical-bounces@OpenLDAP.org] Namens Bram Cymet
Verzonden: donderdag 10 maart 2011 18:27
Aan: openldap-technical@openldap.org
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


--
 


--