default anti-spam options
[mirror/userdir-ldap.git] / userdir-ldap-slapd.conf.in
1 # The backend type, ldbm, is the default standard
2 database hdb
3
4 # The base of your directory
5 suffix          "@@DN@@"
6
7 # Where the database file are physically stored
8 directory       "/var/lib/ldap"
9
10 # Indexing options
11 index gecos,cn,sn,uid,ircNick,hostname,emailForward pres,eq,sub,approx
12 index keyfingerprint,homeDirectory,objectClass,loginShell,supplementaryGid pres,eq
13 index c,gender,dnsZoneEntry,birthDate,gidNumber,uidNumber pres,eq
14
15 # Don't limit queries to the default of 500
16 sizelimit 10000
17
18 # Save the time that the entry gets modified
19 lastmod on
20
21 # owner writeable
22 access to attrs=userPassword,sudoPassword,bATVToken
23         by group="cn=LDAP Administrator,ou=users,@@DN@@" write
24         by dn="uid=sshdist,ou=users,@@DN@@"  write
25         by self write
26         by * compare
27
28 access to attrs=sshrsaauthkey
29         by group="cn=LDAP Administrator,ou=users,@@DN@@" write
30         by dn="uid=sshdist,ou=users,@@DN@@"  write
31         by self read
32         by * compare
33
34 # debian readable
35 access to attrs=activity-pgp,activity-from,dnsZoneEntry
36         by group="cn=LDAP Administrator,ou=users,@@DN@@" write
37         by dn="uid=sshdist,ou=users,@@DN@@" write
38         by peername.ip=127.0.0.1 read
39         by domain=alioth.debian.org none
40         by domain.subtree=@@DOMAIN@@ read
41         by dn.regex="uid=.*,ou=users,@@DN@@" read
42         by * none
43
44 # owner writeable, debian readable, authenticated user readable
45 access to attrs=c,l,loginShell,ircNick,labeledURI,icqUIN,jabberJID,onVacation,birthDate,mailDisableMessage,gender,emailforward,mailCallout,mailGreylisting,mailRBL,mailRHSBL,mailWhitelist,mailContentInspectionAction,mailDefaultOptions
46         by group="cn=LDAP Administrator,ou=users,@@DN@@" write
47         by dn="uid=sshdist,ou=users,@@DN@@" write
48         by self write
49         by dn.regex="uid=.*,ou=users,@@DN@@" read
50         by peername.ip=127.0.0.1 read
51         by domain=alioth.debian.org none
52         by domain.subtree=@@DOMAIN@@ read
53         by * none
54
55 # owner writeable, authenticated user readable
56 access to attrs=facsimileTelephoneNumber,telephoneNumber,postalAddress,postalCode,loginShell,onVacation,privateSub,latitude,longitude,VoIP
57         by group="cn=LDAP Administrator,ou=users,@@DN@@" write
58         by dn="uid=sshdist,ou=users,@@DN@@" write
59         by self write
60         by dn.regex="uid=.*,ou=users,@@DN@@" read
61         by * none
62
63 # globally readable
64 access to *
65         by group="cn=LDAP Administrator,ou=users,@@DN@@" write
66         by dn="uid=sshdist,ou=users,@@DN@@" write
67         by * read