Add option to disable SSL certificate verification for LDAP.

This commit is contained in:
Francois Ferrand
2014-07-03 10:25:25 +02:00
parent 98bd694e2b
commit 0a3049c172
3 changed files with 9 additions and 0 deletions

View File

@@ -30,6 +30,9 @@ define('LDAP_SERVER', '');
// LDAP server port (389 by default)
define('LDAP_PORT', 389);
// By default, require certificate to be verified for ldaps:// style URL. Set to false to skip the verification.
define('LDAP_SSL_VERIFY', true);
// LDAP username to connect with. NULL for anonymous bind (by default).
define('LDAP_USERNAME', null);