
jonkke
By: a guest on Apr 26th, 2010 | syntax:
None | size: 0.68 KB | hits: 183 | expires: Never
root@ltsp42:~/ldap# cat acls.ldif
dn: olcDatabase={1}hdb,cn=config
add: olcAccess
olcAccess: {0}to attrs=userPassword,shadowLastChange by dn="uid=admin,ou=People,dc=keuruu,dc=fi" write by anonymous auth by self write by * none
olcAccess: {1}to dn.subtree="" by * read
olcAccess: {2}to * by dn="uid=admin,ou=People,dc=edu,dc=keuruu,dc=fi" write by * read
root@ltsp42:~/ldap# sudo ldapadd -Y EXTERNAL -H ldapi:/// -f acls.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
adding new entry "olcDatabase={1}hdb,cn=config"
ldap_add: Undefined attribute type (17)
additional info: add: attribute type undefined