[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: SSL/TLS authentication
Quoting Abdul Basit <abasit@basit.cc>:
> 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
ldaps://ldapserver.domain.tld
And not use 'url'... Works fine for me...