3 # _ ____ | |__ _ ____ ____
4 # | | _ \| __) |/ ___) _ )
5 # | | | | | | | | | ( (/ /
6 # |_| ||_/|_| |_|_| \____)
9 # OpenLDAP configuration
11 # www.ipfire.org - Licensed under the GPLv3
14 include /etc/openldap/schema/core.schema
15 include /etc/openldap/schema/cosine.schema
16 include /etc/openldap/schema/inetorgperson.schema
17 include /etc/openldap/schema/nis.schema
19 pidfile /var/run/slapd.pid
20 argsfile /var/run/slapd.args
24 #######################################################################
26 #######################################################################
28 moduleload back_hdb.so
30 #######################################################################
32 #######################################################################
34 access to attrs=userPassword,userPKCS12
37 access to attrs=shadowLastChange
43 #######################################################################
44 # BDB database definitions
45 #######################################################################
48 suffix "dc=my-domain,dc=com"
49 rootdn "cn=Manager,dc=my-domain,dc=com"
52 directory /var/lib/ldap
54 # Indices to maintain for this database
55 index objectClass eq,pres
56 index ou,cn,mail,surname,givenname eq,pres,sub
57 index uidNumber,gidNumber,loginShell eq,pres
58 index uid,memberUid eq,pres,sub
59 index nisMapName,nisMapEntry eq,pres,sub