fix bug #6073: prevent ads_connect() from using SSL unless explicitly requested
commitd332da87068cd72489941010a33e372ab53d3bcc
authorMichael Adam <obnox@samba.org>
Thu, 29 Jan 2009 12:17:46 +0000 (29 13:17 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 29 Jan 2009 12:20:20 +0000 (29 13:20 +0100)
tree16299455d81751bf6ab38b373fbfa0684d08b4f2
parent910cbc5d6e932fa8ed0066d407a40195b6629a37
fix bug #6073: prevent ads_connect() from using SSL unless explicitly requested

This fixes "net ads join".
It copes with the changed default "ldap ssl = start tls".
A new boolean option "ldap ssl : ads" is added to allow for
explicitly requesting ssl with  ads.

Michael
source/libads/ldap.c