summaryrefslogtreecommitdiffstats
path: root/tests/slapd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/slapd.conf')
-rw-r--r--tests/slapd.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/slapd.conf b/tests/slapd.conf
new file mode 100644
index 0000000..83416ba
--- /dev/null
+++ b/tests/slapd.conf
@@ -0,0 +1,21 @@
+include /etc/openldap/schema/core.schema
+include /etc/openldap/schema/cosine.schema
+include /etc/openldap/schema/inetorgperson.schema
+include /etc/openldap/schema/nis.schema
+pidfile ${ldapdir}/slapd.pid
+
+attributeoptions x-hidden lang-
+access to attrs=name;x-hidden by * =cs
+
+access to attrs=userPassword by * auth
+access to * by * read
+
+logfile ${ldapdir}/slapd.log
+loglevel 0x2ff
+
+database mdb
+suffix "dc=example,dc=com"
+directory ${ldapdir}
+rootdn cn=root,dc=example,dc=com
+# pw: root
+rootpw {SSHA}I9OPIS+SsizMZ/FmYgZL2GVCx63+kITj