X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=userdir-ldap-slapd.conf.in;h=554541dcab1af90d6db532fd48f40d7c1c792ab3;hb=bfd6f5c83238290a5920219af7329fb85af86a0b;hp=cf4ecfdeff93ceee2005fc167b68c5743429fb4e;hpb=443e8855704a416fc920a4e3bf0c515cbc4be11c;p=mirror%2Fuserdir-ldap.git diff --git a/userdir-ldap-slapd.conf.in b/userdir-ldap-slapd.conf.in index cf4ecfd..554541d 100644 --- a/userdir-ldap-slapd.conf.in +++ b/userdir-ldap-slapd.conf.in @@ -26,7 +26,13 @@ sizelimit 10000 lastmod on # owner writeable -access to attrs=userPassword,sudoPassword,sshrsaauthkey +access to attrs=userPassword,sudoPassword + by group="cn=LDAP Administrator,ou=users,@@DN@@" write + by dn="uid=sshdist,ou=users,@@DN@@" write + by self write + by * compare + +access to attrs=sshrsaauthkey by group="cn=LDAP Administrator,ou=users,@@DN@@" write by dn="uid=sshdist,ou=users,@@DN@@" write by self read