summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-10-28 12:15:20 +0200
committerAndreas Schneider <asn@cryptomilk.org>2016-11-15 11:00:29 +0100
commit6bb917ae3770a81346333120ec7116d4f8894941 (patch)
treedf3dda91ea0b2d4b39e35a6814c0fd812410c3de /source3/nmbd
parentf70d1cfcc2dc972cad6d2bb8bd05bdf3bdd803fc (diff)
downloadsamba-6bb917ae3770a81346333120ec7116d4f8894941.tar.gz
s3:nmbd: make use of cli_session_setup_anon()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_synclists.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_synclists.c b/source3/nmbd/nmbd_synclists.c
index bba1bc1ebec..f3e524d932a 100644
--- a/source3/nmbd/nmbd_synclists.c
+++ b/source3/nmbd/nmbd_synclists.c
@@ -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;
}