1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

s3:nmbd: 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 f70d1cfcc2
commit 6bb917ae37

View File

@ -95,8 +95,8 @@ static void sync_child(char *name, int nm_type,
return;
}
if (!NT_STATUS_IS_OK(cli_session_setup(cli, "", "",
workgroup))) {
status = cli_session_setup_anon(cli);
if (!NT_STATUS_IS_OK(status)) {
cli_shutdown(cli);
return;
}