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
27 # allow users write access to an explicit subset of their fields
28 access to attrs=c,l,loginShell,ircNick,labeledURI,icqUIN,jabberJID,onVacation,birthDate,mailDisableMessage,gender,emailforward,mailCallout,mailGreylisting,mailRBL,mailRHSBL,mailWhitelist,mailContentInspectionAction,mailDefaultOptions,facsimileTelephoneNumber,telephoneNumber,postalAddress,postalCode,loginShell,onVacation,privateSub,latitude,longitude,VoIP,userPassword,sudoPassword,bATVToken
32 # allow authn/z by anyone
33 access to attrs=userPassword,sudoPassword,bATVToken
36 access to attrs=sshrsaauthkey
40 # debian.org readable, authenticated user readable
41 access to attrs=activity-pgp,activity-from,dnsZoneEntry,c,l,loginShell,ircNick,labeledURI,icqUIN,jabberJID,onVacation,birthDate,mailDisableMessage,gender,emailforward,mailCallout,mailGreylisting,mailRBL,mailRHSBL,mailWhitelist,mailContentInspectionAction,mailDefaultOptions
42 by peername.ip=127.0.0.1 read
43 by domain=alioth.debian.org none
44 by domain.subtree=@@DOMAIN@@ read
45 by dn.regex="uid=.*,ou=users,@@DN@@" read
48 # authenticated user readable
49 access to attrs=facsimileTelephoneNumber,telephoneNumber,postalAddress,postalCode,loginShell,onVacation,privateSub,latitude,longitude,VoIP
50 by dn.regex="uid=.*,ou=users,@@DN@@" read