1
0
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:
Stefan Metzmacher
2016-10-28 12:15:20 +02:00
committed by Andreas Schneider
parent dafab66481
commit f70d1cfcc2
2 changed files with 3 additions and 3 deletions

View File

@@ -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 "