fix bug #6073: prevent ads_connect() from using SSL unless explicitly requested
commit3676bc7f2f2f821d78910a845a9bf680b295f412
authorMichael Adam <obnox@samba.org>
Thu, 29 Jan 2009 12:17:46 +0000 (29 13:17 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 16 Feb 2009 08:56:47 +0000 (16 09:56 +0100)
treea4b31b1f18361b44ec8faaecf8558e97985d4ac1
parenta46045e107193d79c0aa776cb5aed1131d2a74cc
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
(cherry picked from commit d332da87068cd72489941010a33e372ab53d3bcc)
source/libads/ldap.c