int connect(
$dsn
$dsninfo, [boolean
$persistent = false])
|
|
Connect and bind to LDAPv3 server with either anonymous or authenticated bind depending on dsn info
The format of the supplied DSN:
ldap3://binddn:bindpw@host:port/basedn
I.e.:
ldap3://uid=dexter,ou=People,dc=example,dc=net:secret@127.0.0.1/dc=example,dc=net
Overrides
DB_ldap2::connect() (Connect and bind to LDAPv2 server with either anonymous or authenticated bind depending on dsn info)
Parameters: