diff options
author | Hans Nilsson <[email protected]> | 2013-10-15 20:56:37 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2013-10-28 16:48:57 +0100 |
commit | e2b0dfac40f2f7f0aa0d74ca902ea5f867c06cd1 (patch) | |
tree | a8a93a1d20c981cd6a7196b496a335c35a9ff4ce /lib/eldap/test/ldap_server | |
parent | 207a13a549052e014a82362032995e347ffb68ff (diff) | |
download | otp-e2b0dfac40f2f7f0aa0d74ca902ea5f867c06cd1.tar.gz otp-e2b0dfac40f2f7f0aa0d74ca902ea5f867c06cd1.tar.bz2 otp-e2b0dfac40f2f7f0aa0d74ca902ea5f867c06cd1.zip |
eldap: Add START_TLS (OTP-11336)
Diffstat (limited to 'lib/eldap/test/ldap_server')
-rw-r--r-- | lib/eldap/test/ldap_server/slapd.conf | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/lib/eldap/test/ldap_server/slapd.conf b/lib/eldap/test/ldap_server/slapd.conf index 87be676d9f..eca298c866 100644 --- a/lib/eldap/test/ldap_server/slapd.conf +++ b/lib/eldap/test/ldap_server/slapd.conf @@ -1,14 +1,32 @@ -include /etc/ldap/schema/core.schema -pidfile /tmp/openldap-data/slapd.pid -argsfile /tmp/openldap-data/slapd.args +modulepath /usr/lib/ldap +moduleload back_bdb.la + +# example config file - global configuration section +include /etc/ldap/schema/core.schema +referral ldap://root.openldap.org +access to * by * read + +TLSCACertificateFile /ldisk/hans_otp/otp/lib/eldap/test/eldap_basic_SUITE_data/certs/server/cacerts.pem +TLSCertificateFile /ldisk/hans_otp/otp/lib/eldap/test/eldap_basic_SUITE_data/certs/server/cert.pem +TLSCertificateKeyFile /ldisk/hans_otp/otp/lib/eldap/test/eldap_basic_SUITE_data/certs/server/keycert.pem + database bdb suffix "dc=ericsson,dc=se" rootdn "cn=Manager,dc=ericsson,dc=se" rootpw hejsan + # The database must exist before running slapd -directory /tmp/openldap-data +directory /tmp/slapd/openldap-data-ericsson.se + # Indices to maintain index objectClass eq -# URI "ldap://0.0.0.0:9876 ldaps://0.0.0.0:9870" -# servers/slapd/slapd -d 255 -h "ldap://0.0.0.0:9876 ldaps://0.0.0.0:9870" -f /ldisk/dgud/src/otp/lib/eldap/test/ldap_server/slapd.conf
\ No newline at end of file +access to attrs=userPassword + by self write + by anonymous auth + by dn.base="cn=Manager,dc=ericsson,dc=se" write + by * none +access to * + by self write + by dn.base="cn=Manager,dc=ericsson,dc=se" write + by * read |