Give keyring-maint write access to keyFingerPrint
[mirror/userdir-ldap.git] / userdir-ldap-slapd.conf.in
index 450c280..4e4c92a 100644 (file)
@@ -30,6 +30,12 @@ access to *
        by dn="uid=sshdist,ou=users,@@DN@@" write
        by * break
 
+# allow keyring maint to write to the keyFingerPrint attribute
+# (make an exception for adm for security reasons)
+access to filter="(!(supplementaryGid=adm))" attrs=keyFingerPrint
+       by dn="cn=Keyring Maintainers,ou=users,@@DN@@" write
+       by * break
+
 # allow users write access to an explicit subset of their fields
 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
        by self write