mirror of
https://github.com/samba-team/samba.git
synced 2025-09-30 01:44:21 +03:00
s3:libsmb: make use of cli_session_setup_anon()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
committed by
Andreas Schneider
parent
dafab66481
commit
f70d1cfcc2
@@ -111,7 +111,7 @@ NTSTATUS remote_password_change(const char *remote_machine, const char *user_nam
|
||||
* Thanks to <Nicholas.S.Jenkins@cdc.com> for this fix.
|
||||
*/
|
||||
|
||||
result = cli_session_setup(cli, "", "", "");
|
||||
result = cli_session_setup_anon(cli);
|
||||
|
||||
if (!NT_STATUS_IS_OK(result)) {
|
||||
if (asprintf(err_str, "machine %s rejected the session "
|
||||
|
Reference in New Issue
Block a user