[Date Prev][Date Next] [Chronological] [Thread] [Top]

Strange error when attempting to replace userPassword ...

Another strange thing happens when I attempt something like:

# ldapmodify -h machine-name -D "uid=myself,dc=domain,dc=name" -w mypassword
dn: uid=targetuser,dc=domain,dc=name
changetype: modify
replace: userPassword
userPassword: newpassword

I receive a response such as:

modifying entry "uid=targetuser,dc=domain,dc=name"
ldap_modify: Undefined attribute type
	additional info: attribute description contains inappropriate characters

However, if I attempt the same command separately (I first delete the attribute, and THEN add in a separate command) then it works perfectly.

Any ideas? What is even more strange is that this worked fine with the attribute 'uniqueMember' (with the modifications in the slapd source code I posted earlier).

* Anthony Brock                                         abrock@georgefox.edu *
* Director of Network Services                         George Fox University *