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

Rich Megginson rmeggins at redhat.com
Mon Apr 7 14:38:36 UTC 2008


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
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20080407/4575db42/attachment.bin>


More information about the Fedora-directory-users mailing list