Skip to content

Commit 3eec7f8

Browse files
committed
Minor LDAPTLS configuration set for default
1 parent 00648c4 commit 3eec7f8

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

docs/config_ldap.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ the requirements of your server. For example:
5656

5757
TLS_CIPHER_SUITE TLSv1+RSA
5858

59+
Alternatively these configurations can be overriden directly in the
60+
``config.inc.local.php`` using the following configurations:
61+
62+
::
63+
64+
putenv("LDAPTLS_REQCERT=allow");
65+
putenv("LDAPTLS_CACERT=/etc/ssl/ca.crt");
5966

6067
You can also define the ldap connection timeout:
6168

docs/installation.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,15 @@ Prepare a local configuration file, for example ``ssp.conf.php``.
138138
<?php // My SSP configuration
139139
$keyphrase = "mysecret";
140140
$debug = true;
141+
$ldap_url = "ldap://localhost";
142+
# Uncomment if LDAPS is required
143+
#$ldap_starttls = true;
144+
#putenv("LDAPTLS_REQCERT=allow");
145+
#putenv("LDAPTLS_CACERT=/etc/ssl/certs/ca-certificates.crt");
146+
$ldap_binddn = "cn=manager,dc=example,dc=com";
147+
$ldap_bindpw = 'secret';
148+
$ldap_base = "dc=example,dc=com";
149+
$ldap_login_attribute = "uid";
141150
?>
142151
143152
Start container, mounting that configuration file:

0 commit comments

Comments
 (0)