s3: fix bug #6073: prevent ads_connect() from using SSL unless explicitly requested
authorMichael Adam <obnox@samba.org>
Thu, 29 Jan 2009 12:04:01 +0000 (13:04 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 29 Jan 2009 12:23:06 +0000 (13:23 +0100)
commit27408de5337afe2e17378a09e9865c62c7b4862b
treed9a1628c4e36baf961e77afee79828f19ae7b4d1
parent88278cf23f1886e949c9500276be5dae9dfd76da
s3: 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
source3/libads/ldap.c