[Fedora-directory-users] Search filters with 'tab' (\09)

Andrey Ivanov andrey.ivanov at polytechnique.fr
Mon Apr 7 14:29:09 UTC 2008


Hi,

I don't know whether it is a bug or a feature. If i make an ldapsearch
(or a search by perl LDAP) the ESCAPED tab is not taken into account :
the search
ldapsearch -x -D... -h <server> -b "<base>"  "(uid=\09user1\09)"

gives the same result (the entry corresponding to user1) as
ldapsearch -x -D... -h <server> -b "<base>"  "(uid=user1)"

The logs show that the filter makes successfully its way to the ldap core:
07/Apr/2008:16:03:30 +0200] conn=85418 op=3 SRCH base="..." scope=2
filter="(uid=\09user1\09)" attrs=ALL

07/Apr/2008:16:03:45 +0200] conn=85418 op=3 SRCH base="..." scope=2
filter="(uid=user1)" attrs=ALL

How do i search then the attribute that starts with the tab symbol (\09)?


Thank you!




More information about the Fedora-directory-users mailing list