Change the configuration examples to use STARTTLS when connecting to LDAP servers.
Thanks to Thijs Kinkhorst for providing this patch! git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3178 44740490-163a-0410-bde0-09ae8108e29a
This commit is contained in:
parent
1eb4408cea
commit
1a27ea749b
|
@ -228,7 +228,7 @@ $config = array(
|
|||
'hostname' => 'ldap.example.org',
|
||||
|
||||
// Whether SSL/TLS should be used when contacting the LDAP server.
|
||||
'enable_tls' => FALSE,
|
||||
'enable_tls' => TRUE,
|
||||
|
||||
// Whether debug output from the LDAP library should be enabled.
|
||||
// Default is FALSE.
|
||||
|
|
|
@ -13,7 +13,7 @@ $casldapconfig = array (
|
|||
),
|
||||
'ldap' => array(
|
||||
'servers' => 'idpentityid.example.org',
|
||||
'enable_tls' => false,
|
||||
'enable_tls' => true,
|
||||
'searchbase' => 'dc=example,dc=org',
|
||||
'searchattributes' => 'uid',
|
||||
'attributes' => array('cn', 'mail'),
|
||||
|
@ -26,7 +26,7 @@ $casldapconfig = array (
|
|||
),
|
||||
'ldap' => array(
|
||||
'servers' => 'ldap://idpentityid2.example.org',
|
||||
'enable_tls' => false,
|
||||
'enable_tls' => true,
|
||||
'searchbase' => 'ou=users,dc=example,dc=org',
|
||||
'searchattributes' => array('uid', 'mail'), # array for being able to login with either uid or mail.
|
||||
'attributes' => null,
|
||||
|
|
|
@ -16,7 +16,7 @@ $config = array (
|
|||
'auth.ldap.dnpattern' => 'uid=%username%,dc=feide,dc=no,ou=feide,dc=uninett,dc=no',
|
||||
'auth.ldap.hostname' => 'ldap.uninett.no',
|
||||
'auth.ldap.attributes' => null,
|
||||
'auth.ldap.enable_tls' => false,
|
||||
'auth.ldap.enable_tls' => true,
|
||||
|
||||
/*
|
||||
* Searching the DN of the user.
|
||||
|
|
|
@ -14,7 +14,7 @@ $ldapmulti = array (
|
|||
'dnpattern' => 'uid=%username%,dc=feide,dc=no,ou=feide,dc=uninett,dc=no',
|
||||
'hostname' => 'ldap.uninett.no',
|
||||
'attributes' => NULL,
|
||||
'enable_tls' => FALSE,
|
||||
'enable_tls' => TRUE,
|
||||
'search.enable' => FALSE,
|
||||
'search.base' => NULL,
|
||||
'search.attributes' => NULL,
|
||||
|
|
Reference in New Issue