Fix encryption setting written to a LDAP reource's INI configuration
Use starttls for STARTTLS and ldaps for LDAPS.
This commit is contained in:
parent
86f3ce9133
commit
db08ccad4b
|
@ -36,14 +36,14 @@ class Connection
|
|||
*
|
||||
* @var string
|
||||
*/
|
||||
const STARTTLS = 'tls';
|
||||
const STARTTLS = 'starttls';
|
||||
|
||||
/**
|
||||
* Encrypt connection using LDAP over SSL (using a separate port)
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
const LDAPS = 'ssl';
|
||||
const LDAPS = 'ldaps';
|
||||
|
||||
protected $ds;
|
||||
protected $hostname;
|
||||
|
|
Loading…
Reference in New Issue