hi,
I get lot of messages like:
<= bdb_equality_candidates: (ipHostNumber) not indexed <= bdb_equality_candidates: (ipHostNumber) not indexed <= bdb_equality_candidates: (memberUid) not indexed <= bdb_equality_candidates: (title) not indexed [...]
and some more. I don't know why it happens, because I have all attributes in my index:
olcDbIndex: ipHostNumber eq olcDbIndex: memberUID eq olcDbIndex: title eq [...]
and also the files are there and automatically created:
/var/lib/ldap/ou-company/{ ipHostNumber.bdb, memberUid.bdb, title.bdb }
All index attributes are added via cn=config with my LDAP Browser. Also restarts doesn't help.
I use Debian Squeeze packages in a n-way master configuration (two nodes)
Any suggestions?
cu denny
--On Friday, February 08, 2013 10:53 AM +0100 Denny Schierz linuxmail@4lin.net wrote:
hi,
I get lot of messages like:
<= bdb_equality_candidates: (ipHostNumber) not indexed <= bdb_equality_candidates: (ipHostNumber) not indexed <= bdb_equality_candidates: (memberUid) not indexed <= bdb_equality_candidates: (title) not indexed [...]
and some more. I don't know why it happens, because I have all attributes in my index:
olcDbIndex: ipHostNumber eq olcDbIndex: memberUID eq olcDbIndex: title eq
This means you have equality indexing for those attrs. The above message would imply that some client is doing some other type of search on those attributes (say, substring).
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
Quanah Gibson-Mount wrote:
--On Friday, February 08, 2013 10:53 AM +0100 Denny Schierz linuxmail@4lin.net wrote: (...)
<= bdb_equality_candidates: (title) not indexed [...]
and some more. I don't know why it happens, because I have all attributes in my index:
olcDbIndex: ipHostNumber eq olcDbIndex: memberUID eq olcDbIndex: title eq
This means you have equality indexing for those attrs. The above message would imply that some client is doing some other type of search on those attributes (say, substring).
No, that would complain about "<= bdb_substring_candidates".
Check the file owner and permissions of the index files, can they be read by the user which slapd runs as? If that's not the problem:
I'd stop slapd, run slapindex as the user which slapd is runnig as, and restart slapd. Or delete the indexes and add them back with cn=config. Might not help since I don't know how this could have happened, though.
hi,
Am 08.02.2013 um 21:59 schrieb Hallvard Breien Furuseth h.b.furuseth@usit.uio.no:
Check the file owner and permissions of the index files, can they be read by the user which slapd runs as? If that's not the problem:
all files created by slapd, so file permissions are correct.
I'd stop slapd, run slapindex as the user which slapd is runnig as, and restart slapd. Or delete the indexes and add them back with cn=config. Might not help since I don't know how this could have happened, though.
that is, what I have done, with no success, but the reply from Quanah is interesting.
cu denny
openldap-technical@openldap.org