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

add,modify rules not consistent (ITS#3138)

Full_Name: Quanah Gibson-Mount
Version: 2.2.11
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

This weekend we encountered behavior in openldap that made it hard for us to
debug what was happening in our program.

We found that there are times when ADD's will reject (multiple values of the
same CN provided) when MOD's will not (it accepts the change no complaint) for
the same entry.  Obviously, in case (1), the entry was deleted and then ADD'd,
and in case (2) the entry already existed, and we were replacing CN (but just to
be clear. ;) ).

The values in question in this case were the non-MIME 64 encoded versions of:

cn:: bWFqb3Ig
cn:: IG1ham9y

I believe that progamatically, there are "NULL"s encoded in the cn (that was the
bug in our program).