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

(ITS#6196) back-config: multiple olcDbIndex Attributes can be added for the same Attributetype

Full_Name: Ralf Haferkamp
Version: HEAD, RE24
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (
Submitted by: ralf

With ldapmodify I can add the following LDIF to cn=config:

dn: olcDatabase={1}hdb,cn=config
add: olcdbindex
olcdbindex: cn pres
olcdbindex: cn eq

The server accepts it and seems to work fine after that. Restarting the server
however fails after that. Error message is:
'duplicate index definition for attr "cn"'
The ldapmodify should have returned that error already IMO.

I am currently working on a fix. Should appear soon in HEAD.