]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - openldap/slapd.conf
Move all packages to root.
[people/amarx/ipfire-3.x.git] / openldap / slapd.conf
CommitLineData
ba87b2e2
MT
1# _ ___ _
2# (_) / __|_)
3# _ ____ | |__ _ ____ ____
4# | | _ \| __) |/ ___) _ )
5# | | | | | | | | | ( (/ /
6# |_| ||_/|_| |_|_| \____)
7# |_|
8#
9# OpenLDAP configuration
10#
11# www.ipfire.org - Licensed under the GPLv3
12#
13
14include /etc/openldap/schema/core.schema
15include /etc/openldap/schema/cosine.schema
16include /etc/openldap/schema/inetorgperson.schema
17include /etc/openldap/schema/nis.schema
18
19pidfile /var/run/slapd.pid
20argsfile /var/run/slapd.args
21
22loglevel 2048
23
863fe649
MT
24#######################################################################
25# Load modules
26#######################################################################
27
28moduleload back_hdb.so
29
ba87b2e2
MT
30#######################################################################
31# ACL
32#######################################################################
33
34access to attrs=userPassword,userPKCS12
35 by self write
36 by * auth
37access to attrs=shadowLastChange
38 by self write
39 by * read
40access to *
41 by * read
42
43#######################################################################
44# BDB database definitions
45#######################################################################
46
47database hdb
48suffix "dc=my-domain,dc=com"
49rootdn "cn=Manager,dc=my-domain,dc=com"
50rootpw secret
51
52directory /var/lib/ldap
53
54# Indices to maintain for this database
55index objectClass eq,pres
56index ou,cn,mail,surname,givenname eq,pres,sub
57index uidNumber,gidNumber,loginShell eq,pres
58index uid,memberUid eq,pres,sub
59index nisMapName,nisMapEntry eq,pres,sub