-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathslapd.conf
40 lines (35 loc) · 1.03 KB
/
slapd.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
include schema/core.schema
include schema/cosine.schema
include schema/inetorgperson.schema
include schema/misc.schema
include schema/openldap.schema
include schema/nis.schema
include schema/oidc-schema.schema
pidfile slapd.pid
argsfile slapd.args
# Load dynamic backend modules:
# modulepath /usr/libexec/openldap
# moduleload back_bdb.la
# moduleload back_hdb.la
# moduleload back_ldap.la
database ldif
suffix dc=my-domain,dc=com
rootdn uid=root,dc=my-domain,dc=com
# secret
rootpw {SSHA}onFTP6X7P03o00dzgb43svQvQ9mRGT2I
directory data
##index objectClass eq
# Allow users to change their own password
# Allow anonymous to authenciate against the password
# Allow admin to change anyone's password
access to attrs=userPassword
by self write
by anonymous auth
by dn.base="uid=root,dc=my-domain,dc=com" write
by dn.base="uid=bind,dc=my-domain,dc=com" write
by * none
access to *
by self write
by dn.base="uid=root,dc=my-domain,dc=com" write
by dn.base="uid=bind,dc=my-domain,dc=com" write
by * read