sshrsaauthkey is only readble by self. everyone else does not even get to compare it
[mirror/userdir-ldap.git] / userdir-ldap-slapd.conf.in
index 5653155..2e9041d 100644 (file)
@@ -29,13 +29,16 @@ access to attrs=c,l,loginShell,ircNick,labeledURI,icqUIN,jabberJID,onVacation,bi
        by self write
        by * break
 
-# owner writeable
+# allow authn/z by anyone
 access to attrs=userPassword,sudoPassword,bATVToken
        by * compare
 
+
+
+# readable only by self
 access to attrs=sshrsaauthkey
        by self read
-       by * compare
+       by * none
 
 # debian.org readable, authenticated user readable
 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
@@ -45,11 +48,12 @@ access to attrs=activity-pgp,activity-from,dnsZoneEntry,c,l,loginShell,ircNick,l
        by dn.regex="uid=.*,ou=users,@@DN@@" read
        by * none
 
-# owner writeable, authenticated user readable
+# authenticated user readable
 access to attrs=facsimileTelephoneNumber,telephoneNumber,postalAddress,postalCode,loginShell,onVacation,privateSub,latitude,longitude,VoIP
        by dn.regex="uid=.*,ou=users,@@DN@@" read
        by * none
 
+
 # globally readable
 access to *
        by * read