]> Git — Sourcephile - sourcephile-nix.git/blob - install/logical/friot/sldapd/olcAccess.modify.ldif
nix: add nixpkgs-commonsoft
[sourcephile-nix.git] / install / logical / friot / sldapd / olcAccess.modify.ldif
1 # sudo ldapmodify -Y EXTERNAL -H ldapi:/// -f ./olcAccess.modify.ldif
2 # sudo ldapsearch -Y EXTERNAL -H ldapi:/// -b "olcDatabase={1}mdb,cn=config" olcAccess
3 dn: olcDatabase={1}mdb,cn=config
4 changetype: modify
5 replace: olcAccess
6 olcAccess: to attrs=loginShell,gecos
7 by dn="cn=admin,dc=commonsoft,dc=coop" write
8 by self write
9 by * read
10 olcAccess: to attrs=userPassword,givenName,sn,photo
11 by self write
12 by anonymous auth
13 by dn="cn=admin,dc=commonsoft,dc=coop" write
14 by * none
15 olcAccess: to *
16 by self read
17 by dn="cn=admin,dc=commonsoft,dc=coop" write
18 by * read