1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:net_ads: use ADS_SASL_SEAL by default, so that we always get encryption

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Stefan Metzmacher 2024-03-11 17:45:43 +01:00
parent 612af29cef
commit 1eeeb76e6c

View File

@ -686,7 +686,7 @@ retry_connect:
realm,
c->opt_target_workgroup,
c->opt_host,
ADS_SASL_PLAIN);
ADS_SASL_SEAL);
if (ads == NULL) {
return ADS_ERROR_NT(NT_STATUS_NO_MEMORY);
}