[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#6196) back-config: multiple olcDbIndex Attributes can be added for the same Attributetype
- To: openldap-its@openldap.org
- Subject: (ITS#6196) back-config: multiple olcDbIndex Attributes can be added for the same Attributetype
- From: ralf@OpenLDAP.org
- Date: Fri, 3 Jul 2009 11:00:06 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Full_Name: Ralf Haferkamp
Version: HEAD, RE24
OS:
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (89.166.223.21)
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.