Quoting Javier Barroso ([EMAIL PROTECTED]): > Now I try to invoke ldapvi again, and remove this trailing space, ldapvi > generate: > changetype: modify > add: givenName > givenName: Javier > - > delete: givenName > givenName: Javier > > And ldapmodify fails because it can't add before than delete > ldap_modify: Type or value exists (20) > additional info: modify/add: givenName: value #0 already exists > > Do you know any work around this ?
There is a patch in the ldapvi source code directory that can be applied to fix this. Try downloading the source code, then run $ patch -p1 <replace_not_delete_add.diff and recompile. > PD: I have about 500 entrys with trailing spaces Thank you for the report; I will properly apply that patch in the next release. Whenever that will be... d. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]