-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
I think this example should be added to the README
If you need to set a protocol version to connect to your ldap server you should do this:
$params = array(
'hostname' => 'example.com',
'base_dn' => 'dc=example,dc=com',
'port' => 389,
'bind_dn' => 'cn=admin,dc=example,dc=com',
'bind_password' => 'secretpassword',
'options' => array(LDAP_OPT_PROTOCOL_VERSION => 3),
);
$manager = new Manager($params, new Driver());
Do the same for any of the options listed here http://php.net/manual/it/function.ldap-set-option.php
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels