summaryrefslogtreecommitdiffstats
path: root/tests/slapd.conf
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-03-17 20:25:18 -0400
committerPatrick Uiterwijk <puiterwijk@redhat.com>2015-03-23 15:44:25 +0100
commitcacb41e93b377496e77f824f4f1b0ce206da0bed (patch)
treee3f08b34d1480099eb1aca84ad25e0324bf16c22 /tests/slapd.conf
parent521a28fd446a64c4fa5895e1aa768512249652f6 (diff)
downloadipsilon-cacb41e93b377496e77f824f4f1b0ce206da0bed.tar.gz
ipsilon-cacb41e93b377496e77f824f4f1b0ce206da0bed.tar.xz
ipsilon-cacb41e93b377496e77f824f4f1b0ce206da0bed.zip
Add LDAP test
This finally tests the LDAP login/info plugins as well as the special "groups" attribute. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
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