mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:libsmb: avoid using cli->{use_kerberos,...} in remote_password_change()
As we pass flags=0 to cli_connect_nb() all values can only be false, so we can use false directly. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
77a7e72f88
commit
75aa174e8d
@ -58,10 +58,10 @@ NTSTATUS remote_password_change(const char *remote_machine, const char *user_nam
|
||||
NULL, /* domain */
|
||||
NULL, /* realm */
|
||||
old_passwd,
|
||||
cli->use_kerberos,
|
||||
cli->fallback_after_kerberos,
|
||||
cli->use_ccache,
|
||||
cli->pw_nt_hash);
|
||||
false, /* use_kerberos */
|
||||
false, /* fallback_after_kerberos */
|
||||
false, /* use_ccache */
|
||||
false); /* password_is_nt_hash */
|
||||
SMB_ASSERT(creds != NULL);
|
||||
|
||||
result = smbXcli_negprot(cli->conn, cli->timeout,
|
||||
|
Loading…
Reference in New Issue
Block a user