]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:libsmb_server: don't use auth related flags in SMBC_server_internal()
authorStefan Metzmacher <metze@samba.org>
Mon, 11 Nov 2019 16:23:14 +0000 (17:23 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 28 May 2020 06:43:39 +0000 (06:43 +0000)
These are ignored at the lower levels if we're passing cli_credential
structures along.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libsmb/libsmb_server.c

index 41e0017fe595c55464e5fe9aeff45facb5beaf28..c49afd027b2ee5fe9f897ac302bbad6b2a8a7fef 100644 (file)
@@ -444,22 +444,18 @@ SMBC_server_internal(TALLOC_CTX *ctx,
        status = NT_STATUS_UNSUCCESSFUL;
 
        if (smbc_getOptionUseKerberos(context)) {
-               flags |= CLI_FULL_CONNECTION_USE_KERBEROS;
                use_kerberos = true;
        }
 
        if (smbc_getOptionFallbackAfterKerberos(context)) {
-               flags |= CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS;
                fallback_after_kerberos = true;
        }
 
        if (smbc_getOptionUseCCache(context)) {
-               flags |= CLI_FULL_CONNECTION_USE_CCACHE;
                use_ccache = true;
        }
 
        if (smbc_getOptionUseNTHash(context)) {
-               flags |= CLI_FULL_CONNECTION_USE_NT_HASH;
                pw_nt_hash = true;
        }