-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathslapd.conf
More file actions
44 lines (33 loc) · 1.09 KB
/
slapd.conf
File metadata and controls
44 lines (33 loc) · 1.09 KB
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
41
42
43
44
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/inetorgperson.schema
include /etc/ldap/schema/nis.schema
TLSCACertificateFile /ldap/CA_crt.pem
TLSCertificateFile /ldap/ldap_crt.pem
TLSCertificateKeyFile /ldap/ldap_key.pem
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
disallow bind_anon
require bind
access to attrs=userPassword
by self write
by users read
by anonymous auth
access to dn.base="" by * read
access to dn.base="cn=Subschema" by * read
#access to *
# by self write
# by anonymous auth
# by users none
modulepath /usr/lib/ldap
moduleload back_bdb.la
database bdb
suffix "dc=example,dc=com"
rootdn "cn=admin,dc=example,dc=com"
rootpw mypassword
directory /var/lib/ldap
index objectClass eq
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq
index nisMapName,nisMapEntry eq,pres,sub