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
6 olcAccess: to attrs=loginShell,gecos
7 by dn="cn=admin,dc=commonsoft,dc=coop" write
10 olcAccess: to attrs=userPassword,givenName,sn,photo
13 by dn="cn=admin,dc=commonsoft,dc=coop" write
17 by dn="cn=admin,dc=commonsoft,dc=coop" write