git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f70d1cf
)
s3:nmbd: make use of cli_session_setup_anon()
author
Stefan Metzmacher
<metze@samba.org>
Fri, 28 Oct 2016 10:15:20 +0000
(12:15 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Tue, 15 Nov 2016 10:00:29 +0000
(11:00 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/nmbd/nmbd_synclists.c
patch
|
blob
|
history
diff --git
a/source3/nmbd/nmbd_synclists.c
b/source3/nmbd/nmbd_synclists.c
index bba1bc1ebec096f865dd425fe0ceae7eff8cfd2c..f3e524d932a292a7d697d0170266cd75869154ec 100644
(file)
--- 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;
}