s3:libads: directly use kerberos without asking the server
authorStefan Metzmacher <metze@samba.org>
Fri, 26 Jan 2024 17:09:39 +0000 (18:09 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 23 Apr 2024 23:50:34 +0000 (23:50 +0000)
commitaeed081fc81ed13c59d50986105241293f260c00
treeda242b891a1cd8c46ad8e8b1e1fc58104505fdd5
parent09b69a12a6456589ceefdfa941e2184ecf2e28ae
s3:libads: directly use kerberos without asking the server

Every AD DC supports kerberos so we can just use it without
asking the server (in an untrusted way) if kerberos is supported.
So remove another useless roundtrip.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/libads/sasl.c