[Date Prev][Date Next]
Re: php ldap binding problems
Germ van Eck wrote:
> 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);
Yes, setting LDAPv3 as protocol is important! Depending on the server's
configuration LDAPv2 is not accepted. Or some LDAP servers return other
character set (not UTF-8) for attribute values of syntax DirectoryString.