Full_Name: J.P.Swithenbank Version: openldap-stable-20000515 OS: Linux(kernel 2.2.14) URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (212.126.143.2) a minor bug...but here goes... in the process of modifying a reccord using ldapmodify... using ldif... e.g. --- dn: cn=aperson,o=anorg,c=any replace: mail mail: aperson@anorg.dom --- this would replace the schema item mail...as intended...but also add the schema item replace with the value mail...if it already exists...the item replace would be replaced with the new value! ok.
At 09:24 AM 5/26/00 GMT, jswith@jswith.f9.co.uk wrote: >in the process of modifying a reccord using ldapmodify... >using ldif... >e.g. >--- >dn: cn=aperson,o=anorg,c=any >replace: mail >mail: aperson@anorg.dom >--- >this would replace the schema item mail...as intended...but also add the >schema item replace with the value mail...if it already exists...the item >replace would be replaced with the new value! You failed to specify the changetype. ldapmodify attempts to guess in such cases, sometimes it guess wrong. Try: dn: cn=aperson,o=anorg,c=any changetype: modify replace: mail mail: aperson@anorg.dom
changed notes changed state Open to Closed
Assumed resolved by suggestion.