Problem using ldapmodify

Beta testers only forum

Moderator: Support

Problem using ldapmodify

Postby manikya412 » Tue Oct 03, 2006 5:22 pm

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?
manikya412
 
Posts: 11
Joined: Tue Sep 12, 2006 7:05 pm

Return to Beta Tester's Forum

Who is online

Users browsing this forum: No registered users and 0 guests