Fix encryption setting written to a LDAP reource's INI configuration

Use starttls for STARTTLS and ldaps for LDAPS.
This commit is contained in:
Eric Lippmann 2015-03-12 23:54:05 +01:00
parent 86f3ce9133
commit db08ccad4b

View File

@ -36,14 +36,14 @@ class Connection
* *
* @var string * @var string
*/ */
const STARTTLS = 'tls'; const STARTTLS = 'starttls';
/** /**
* Encrypt connection using LDAP over SSL (using a separate port) * Encrypt connection using LDAP over SSL (using a separate port)
* *
* @var string * @var string
*/ */
const LDAPS = 'ssl'; const LDAPS = 'ldaps';
protected $ds; protected $ds;
protected $hostname; protected $hostname;