Full_Name: Malleswari Nandireddy Version: 2.4.23 OS: Linux URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (206.126.170.20)
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' 'ets=1:00\2a#116cr36_1R1T1S1P1Q1'
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 "*,(,)....).