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

(ITS#5819) On add, slapd does not add distinguished values if naming attribute already present

Full_Name: Pierangelo Masarati
Version: HEAD/re24
OS: irrelevant
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (
Submitted by: ando

To trigger, try

# works fine
dn: cn=Foo,dc=example,dc=com
objectClass: device

# error
dn: cn=Bar,dc=example,dc=com
objectClass: device
cn: Foo

I'd expect both to succeed, and a "cn" of "Foo" or "Bar" to be automatically
added by slapd according to RFC4511 (since "cn" is multi-valued).