Revision: 3178
Author: olavmrk
Date: Fri Sep 28 02:14:49 2012
Log: Change the configuration examples to use STARTTLS when connecting
to LDAP servers.
Thanks to Thijs Kinkhorst for providing this patch!
http://code.google.com/p/simplesamlphp/source/detail?r=3178
Modified:
/trunk/config-templates/authsources.php
/trunk/config-templates/cas-ldap.php
/trunk/config-templates/ldap.php
/trunk/config-templates/ldapmulti.php
=======================================
--- /trunk/config-templates/authsources.php Wed May 23 07:01:08 2012
+++ /trunk/config-templates/authsources.php Fri Sep 28 02:14:49 2012
@@ -228,7 +228,7 @@
'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.
=======================================
--- /trunk/config-templates/cas-ldap.php Thu Jul 12 03:37:44 2012
+++ /trunk/config-templates/cas-ldap.php Fri Sep 28 02:14:49 2012
@@ -13,7 +13,7 @@
),
'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 @@
),
'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,
=======================================
--- /trunk/config-templates/ldap.php Wed Jun 4 06:13:56 2008
+++ /trunk/config-templates/ldap.php Fri Sep 28 02:14:49 2012
@@ -16,7 +16,7 @@
'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.
=======================================
--- /trunk/config-templates/ldapmulti.php Wed Aug 20 07:14:08 2008
+++ /trunk/config-templates/ldapmulti.php Fri Sep 28 02:14:49 2012
@@ -14,7 +14,7 @@
'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,
--
You received this message because you are subscribed to the Google Groups
"simpleSAMLphp commits" group.
To post to this group, send email to simplesamlphp-commits@googlegroups.com.
To unsubscribe from this group, send email to
simplesamlphp-commits+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/simplesamlphp-commits?hl=en.