[Date Prev][Date Next]
Re: SSL/TLS authentication
Quoting Abdul Basit <email@example.com>:
> I am trying to authenticate against an ldap server using
> SSL using certificates, but call to ldap_bind is failing.
> can anyone please tell me what is wrong? below is the code.
> url.lud_host = "192.168.51.214";
Don't you have to use the FQDN (fully qualified domain name) for SSL/TLS
to work!? Try...
> ldapuri = ldap_url_desc2str( &url );
Don't know about this, but I'd set ldapuri to
And not use 'url'... Works fine for me...