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:
parent
f70d1cfcc2
commit
6bb917ae37
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user