please anyone could tell me how do I use the -x option in my code? I need to access anonymously to an ldap server.
simple_bind_s() with user and password set to NULL
and ldapsearch () always returns "No such attribute" error
more info can be found here http://www.openldap.org/lists/openldap-software/200409/msg00718.html
thank you so much...