Hi Quanah,
Missed your response, I am not sure if I understand your info request, so I am sending you these. Thanks for looking.
[@cn=config]# ls -arlt total 20 -rw------- 1 ldap ldap 378 Mar 30 13:21 cn=schema.ldif -rw------- 1 ldap ldap 562 Mar 30 13:21 olcDatabase={1}monitor.ldif -rw------- 1 ldap ldap 678 Mar 30 14:58 olcDatabase={0}config.ldif drwxr-x--- 2 ldap ldap 284 Mar 30 15:03 cn=schema -rw------- 1 ldap ldap 905 Mar 30 15:04 olcDatabase={-1}frontend.ldif -rw------- 1 ldap ldap 2333 Mar 31 23:42 olcDatabase={2}mdb.ldif
[@ cn=config]# cat 'olcDatabase={1}monitor.ldif' # AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify. # CRC32 ff86e0ea dn: olcDatabase={1}monitor objectClass: olcDatabaseConfig olcDatabase: {1}monitor olcAccess: {0}to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=extern al,cn=auth" read by dn.base="cn=Manager,dc=my-domain,dc=com" read by * none structuralObjectClass: olcDatabaseConfig entryUUID: 06b54f3e-e732-1038-8480-f782455a1e70 creatorsName: cn=config createTimestamp: 20190330122101Z entryCSN: 20190330122101.772335Z#000000#000#000000 modifiersName: cn=config modifyTimestamp: 20190330122101Z
[@ cn=config]# head 'olcDatabase={2}mdb.ldif' # AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify. # CRC32 29266174 dn: olcDatabase={2}mdb objectClass: olcDatabaseConfig objectClass: olcHdbConfig olcDatabase: {2}mdb olcDbDirectory: /var/lib/ldap olcDbIndex: objectClass eq,pres olcDbIndex: sendmailMTACluster pres,eq olcDbIndex: sendmailMTAHost pres,eq
-----Original Message----- From: Quanah Gibson-Mount Sent: 01 April 2019 16:30 To: Marc Roos; openldap-technical Subject: Re: mdb_equality_candidates: (entryUUID) not indexed, with olcDbIndex=entryUUID pres, eq
--On Monday, April 01, 2019 12:53 AM +0200 Marc wrote:
First time I am installing the slapd with a mdb backend. Could this be
because the syntax has changed?
I am getting these messages:
mdb_equality_candidates: (entryUUID) not indexed
While I have in {2}mdb
olcDbIndex entryUUID pres,eq
What database is in index {1}?
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
--On Tuesday, April 02, 2019 2:48 PM +0200 Marc Roos M.Roos@f1-outsourcing.eu wrote:
Hi Quanah,
Missed your response, I am not sure if I understand your info request, so I am sending you these. Thanks for looking.
dn: olcDatabase={2}mdb objectClass: olcDatabaseConfig objectClass: olcHdbConfig
The above is clearly an invalid configuration, it looks like you tried to convert from HDB to MDB manually? I doubt slapd is really able to function correctly at all.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org