X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=userdir-ldap-slapd.conf.in;h=554541dcab1af90d6db532fd48f40d7c1c792ab3;hb=4f471180cc08e40c19d907892fc2102c43fecd49;hp=cf4ecfdeff93ceee2005fc167b68c5743429fb4e;hpb=9226811a30c63b167221ac9a4df7c71bf3bcaefe;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