Hi Michael,
Thanks for the response. I think you have pointed to the correct
problem. ldapwhoami seems to be using ldap library version 2.3.30
whereas python-ldap is probably using 2.1.30. And from this post
http://www.openldap.org/lists/openldap-software/200504/msg00304.html it
is evident that
Rahul Amaram wrote:
> I have set up a ldap server with a wildcard certificate. Upon trying to
> establish a TLS connection using python ldap, I get the error "TLS:
> hostname does not match CN in peer certificate". This works fine if I
> use a certificate with the exact domain name. Is this a bu