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

Re: Oddities with searching for a specific value of an attribute (solved)

On 12.12.2010 14:56, Dieter Kluenter wrote:
Am Sat, 11 Dec 2010 02:43:26 +0100
schrieb Sebastian Urbanneck<sebastian.urbanneck@uebergebuehr.de>:

Sorry for this weird topic, but I didn't know how to name this one.

These are the facts: we're using the phamm.schema from the PHAMM
Project for saving virtual domain entries in our Ldap database.
Searching for them is mostly no pronblem, but one specific
circumstance is bothering me to death: when I try to search for a
specific value of the attribute "vd", the corresponding entry is not
always found. Any other attribute does the trick, but vd does'nt.

For example: the search for (using the root_dn)

ldapsearch -x -W -D "cn=admin,dc=uebergebuehr,dc=de" -b
"ou=domains,dc=uebergebuehr,dc=de" "(vd=*) -s"one"

This is true for everytime I put a Wildcard (*) into the search
pattern, and with scope "sub" there's also no matter in which part of
the tree above this entry I am. But when I'm searching specificly for
the value (lak-hessen.de) nothin is found, no matter in which entry I
am and which scope use.

Strangely this pattern _is_ found when you go into the entry of the
domain itself (vd=lak-hessen.de,ou=domains,...) and search with scobe

Any idea what I'm doing wrong? Or is this a bug? I think ACLs are
ruled out because of using the root_dn.
missing index?


I don't believe I fell for such a mundane cause ... indexing was ativated in the slapd.conf (yes, I use the old way :)), but I forgot to slapindex the new things.

Made it up, everything works, god damn it.

Thanks :)

** sorry port double posting; forgot to reply-to-list **