s3:client: avoid using cli->{use_kerberos,...} for cli_session_creds_init() in smbspool.c
authorStefan Metzmacher <metze@samba.org>
Sun, 30 Oct 2016 15:21:31 +0000 (16:21 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 9 Dec 2016 08:24:27 +0000 (09:24 +0100)
commit77a7e72f8823119be29f3f52cf073d8d721d04ec
tree7287efaa03c770b8c5a9fc4cf7040e1e163dab2e
parent9bf8805ee98e39310dd54d5e666d7abcc2ebe1ff
s3:client: avoid using cli->{use_kerberos,...} for cli_session_creds_init() in smbspool.c

CLI_FULL_CONNECTION_USE_KERBEROS is the only possible flag the
caller of smb_complete_connection() will pass, so we can avoid
use it directly instead of going via cli_start_connection()
to use cli->use_kerberos.

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