1 # The backend type, ldbm, is the default standard
4 # The base of your directory
7 # Where the database file are physically stored
8 directory "/var/lib/ldap"
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
15 # Don't limit queries to the default of 500
18 # Save the time that the entry gets modified
21 # LDAP admins have full access, so has sshdist
23 by group="cn=LDAP Administrator,ou=users,@@DN@@" write
24 by dn="uid=sshdist,ou=users,@@DN@@" write
28 access to attrs=userPassword,sudoPassword,bATVToken
32 access to attrs=sshrsaauthkey
37 access to attrs=activity-pgp,activity-from,dnsZoneEntry
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
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
47 by dn.regex="uid=.*,ou=users,@@DN@@" read
48 by peername.ip=127.0.0.1 read
49 by domain=alioth.debian.org none
50 by domain.subtree=@@DOMAIN@@ read
53 # owner writeable, authenticated user readable
54 access to attrs=facsimileTelephoneNumber,telephoneNumber,postalAddress,postalCode,loginShell,onVacation,privateSub,latitude,longitude,VoIP
56 by dn.regex="uid=.*,ou=users,@@DN@@" read