2008-02-12 18:59:44 +01:00
## Racine
access to dn.regex="^o=ls$" attrs="entry,children,objectclass"
2008-06-05 15:21:18 +02:00
by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
by users read
by * read
2008-02-12 18:59:44 +01:00
## Groups
### Ajout d'entrees par les admins
access to dn.regex="^ou=groups,o=ls$" attrs="children,objectclass"
2008-06-05 15:21:18 +02:00
by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
by users read
by * none
2008-02-12 18:59:44 +01:00
access to dn.regex="^cn=[^,]+,ou=groups,o=ls$" attrs="entry,objectclass"
2008-06-05 15:21:18 +02:00
by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
by users read
by * none
2008-02-12 18:59:44 +01:00
### Les admins peuvent tout modifier, les authentifies peuvent tout voir
access to dn.regex="^cn=[^,]+,ou=groups,o=ls$"
2008-06-05 15:21:18 +02:00
by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
by users read
by * none
2008-02-12 18:59:44 +01:00
## Peoples
### Ajout d'entrees par les admins
access to dn.regex="^ou=people,o=ls$" attrs="children,objectclass"
2008-06-05 15:21:18 +02:00
by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
by users read
by * read
2008-02-12 18:59:44 +01:00
access to dn.regex="^uid=[^,]+,ou=people,o=ls$" attrs="entry,objectclass"
2008-06-05 15:21:18 +02:00
by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
by users read
by * read
2008-02-12 18:59:44 +01:00
2008-04-25 16:09:27 +02:00
### Les admins peuvent modifier le mot de passe, samba le mettre à jour, les autres peuvent s'en servir pour l'authentification
2008-02-12 18:59:44 +01:00
access to dn.regex="^uid=[^,]+,ou=people,o=ls$" attrs="userPassword"
2008-06-05 15:21:18 +02:00
by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
by dn="uid=samba,ou=sysaccounts,o=ls" write
by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
by self write
by anonymous auth
by * none
2008-02-12 18:59:44 +01:00
2008-06-05 15:21:18 +02:00
access to dn.regex="^uid=[^,]+,ou=sysaccounts,o=ls$" attrs="userPassword"
by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
by anonymous auth
by * none
2008-02-12 18:59:44 +01:00
2008-06-05 15:21:18 +02:00
### Les admins peuvent modifier ces attributs, les authentifies peuvent les voir
access to dn.regex="^uid=[^,]+,ou=people,o=ls$" attrs="uid,lsallowedservices,uidNumber,gidNumber,homeDirectory,loginShell,sambaSID,sambaAcctFlags,sambaPrimaryGroupSID"
by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
by users read
by * none
2008-02-12 18:59:44 +01:00
### Les admins peuvent modifier ces attributs, le proprio aussi, samba aussi
access to dn.regex="^uid=[^,]+,ou=people,o=ls$" attrs="sambaLMPassword,sambaNTPassword"
2008-06-05 15:21:18 +02:00
by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
by dn="uid=samba,ou=sysaccounts,o=ls" write
by self write
by * none
2008-02-12 18:59:44 +01:00
### Les admins peuvent modifier ces attributs, le proprio aussi, les authentifies peuvent les voir
2008-06-05 15:21:18 +02:00
access to dn.regex="^uid=[^,]+,ou=people,o=ls$" attrs="c,cn,jpegPhoto,personalTitle,sn,givenName,postalAddress,postalCode,l,st,telephoneNumber,mobile,fax,mail,description"
by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
by self write
by users read
by * read
2008-02-12 18:59:44 +01:00
## Les authentifies peuvent voir les noeuds et les admins peuvent en ajouter
access to * attrs="entry"
2008-06-05 15:21:18 +02:00
by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
by users read
by * none
2008-02-12 18:59:44 +01:00
## Le reste
access to *
2008-06-05 15:21:18 +02:00
by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
by * none