Package: ldapvi
Version: 1.5-1
Severity: important

Try: 

add a space " " to givenName attribute of a object, ldapvi generate:
changetype: modify
delete: givenName
givenName: Javier
-
add: givenName
givenName: Javier 

With last givenName with a space trail .... and it will run fine

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 ?

Thank you !

PD: I have about 500 entrys with trailing spaces


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages ldapvi depends on:
ii  libc6                       2.3.6-15     GNU C Library: Shared libraries
ii  libglib2.0-0                2.10.3-1     The GLib library of C routines
ii  libldap2                    2.1.30-13+b1 OpenLDAP libraries
ii  libncurses5                 5.5-2        Shared libraries for terminal hand
ii  libpopt0                    1.10-2       lib for parsing cmdline parameters

ldapvi recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to