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

Re: pls, -x option when coding ldap searchs?



> Hi,
>
> please anyone could tell me how do I use the -x option in my code? I need
> to access anonymously to an ldap server.
>
> I'm using
> simple_bind_s() with user and password set to NULL
> and ldapsearch () always returns "No such attribute" error

If you want to bind anonynmously, ... don't bind at all.  The client
library takes care of that.

p.

>
>
> more info can be found here
> http://www.openldap.org/lists/openldap-software/200409/msg00718.html
>
> thank you so much...
>


-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497