[Date Prev][Date Next]
(ITS#7250) Issue with search filter escape sequanced
Full_Name: Malleswari Nandireddy
Submission from: (NULL) (126.96.36.199)
In our code we are using ldap_add_ext_s and ldap_search_ext_s , to add an entry
to LDAP and to search and entry in the LDAP.
If the enter added is "00*#116cr36_1R1T1S1P1Q1" , then we we try to search using
ldap_search_ext_s , it is not returning any records.
But when I try to search using ldapsearch , after replacing escape charecter "*"
in the string with "\2a" it is returning records.
./ldapsearch -h 10.29.6.33:12660 -x -b 'dc=CVGLDAP,dc=com'
We have tried passing 'ets=1:00\2a#116cr36_1R1T1S1P1Q1' to ldap_search_ext_s() ,
but it is not returning any records.
Please help me searching records in LDAP using ldap_search_ext_s() if the filter
has escape charecters like "*,(,)....).