Hi,
I was trying to add aci to a userid using ldapmodify from a text file as follows
ldapmodify -h host -p port -D "cn=Directory Manager" -f /path/ldapmodify.txt
This is the error I’m getting
modifying entry ldapmodify -h host -p port -D "cn=directory manager"
ldap_modify_s: Protocol error
I have the following in the text file
ldapmodify -h servername -p 123 -D "cn=directory manager" -w password
dn: uid=xxxx,ou=People,dc=xxx,dc=com
changetype: modify
add: aci
aci:(targetattr=userPassword)(version 3.0; acl "Deny Password Change";
deny(write) userdn = “ldap:///uid=xxxx,ou=People,dc=xxx,dc=com";)
I’m not sure whats going wrong? Any help is appreciated
Am i using the correct utility or can i use ldapadd?