Andrey Ivanov wrote:
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)?
If you do a "strings /var/lib/dirsrv/slapd-instance/db/userRoot/uid.db4" do you see the value with the leading tab character?

Thank you!

--
Fedora-directory-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Reply via email to