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

Re: ldapmodify question



> > 
> > i'm attempting to change an object's userPassword attribute and don't
> > understand why i'm getting an error. i have included the default
> > core.schema, have no ACLs configured, am binding as my rootdn, other
> > modifications work fine. here's what i'm doing:
> > 
> > box:ian[508] /export/home> ldapmodify -D "cn=manager,dc=ians,dc=net" -W
> > Enter LDAP Password: 
> > dn: uid=user,ou=people,dc=ians,dc=net
> > changetype: modify
> > replace: userPassword  
> > userPassword: {CRYPT}ooGkGUUMHUTsA
> > 
> > modifying entry "uid=user,ou=people,dc=ians,dc=net"
> > ldap_modify: Undefined attribute type
> >         additional info: userPassword  : attribute description contains
> > inappropriate characters
> 
> Looks like you left some trailing space after userPassword in "replace: "
> line.

Maybe we should be a little more liberal about this kind of mistakes 
(logging a warning or so) because the syntax of the attributeType field
is so strict that it should not leave room for ambiguities.

Pierangelo.