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
1 changed files with 2 additions and 2 deletions

View File

@ -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;