[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldap_search for binary data??



Hi, 
Could anybody help me on how to conduct a ldap_search using binary data? 
I have objectGUID as one of the mandatory attributes of all objects in ldap
directory implemented in Windows 2000. And objectGUID is a OctetString. 
Since objectGUID is unique, and remains the same even when the object is
moved anywhere in the directory tree, I would like to search for such
objects using the objectGUID. 
My question is : 
How do I create a filter string for such cases? 
Do I have to convert objectGUID to string when I do this? 
Do I have to specify double quotes for the values? 
I am using LDAP SDK and Windows 2000 server. 
-Thanks a lot. Any help will be appreciated. 
-Sanju