git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a32fbe
)
netapi: fix NetShareEnum_r which in fact enumerates all shares.
author
Günther Deschner
<gd@samba.org>
Wed, 10 Sep 2008 11:26:54 +0000
(13:26 +0200)
committer
Günther Deschner
<gd@samba.org>
Thu, 11 Sep 2008 12:21:40 +0000
(14:21 +0200)
Guenther
(This used to be commit
0637ad872e5d30f71b6ea1ec2d243ec8e8836c31
)
source3/lib/netapi/share.c
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/share.c
b/source3/lib/netapi/share.c
index c6af548225fcb5dea82da0937834763e08ef6569..27528953875b21f5fa0e041ae9a686a22a53c32e 100644
(file)
--- a/
source3/lib/netapi/share.c
+++ b/
source3/lib/netapi/share.c
@@
-347,13
+347,13
@@
WERROR NetShareEnum_r(struct libnetapi_ctx *ctx,
break;
}
- status = rpccli_srvsvc_NetShareEnum(pipe_cli, ctx,
- r->in.server_name,
- &info_ctr,
- r->in.prefmaxlen,
- r->out.total_entries,
- r->out.resume_handle,
- &werr);
+ status = rpccli_srvsvc_NetShareEnum
All
(pipe_cli, ctx,
+
r->in.server_name,
+
&info_ctr,
+
r->in.prefmaxlen,
+
r->out.total_entries,
+
r->out.resume_handle,
+
&werr);
if (NT_STATUS_IS_ERR(status)) {
goto done;
}