summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-10-04 00:10:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:10 -0500
commite3d07ff9fefc2257bace241f17d8ce58f24bc8c8 (patch)
tree3dc7284e08b44f67c64fa3adf7a8679d80327a7c /source3/utils/net_rpc.c
parentbb9f1e514620dde7defdb46edacdfc6f84d26d9d (diff)
downloadsamba-e3d07ff9fefc2257bace241f17d8ce58f24bc8c8.tar.gz
samba-e3d07ff9fefc2257bace241f17d8ce58f24bc8c8.tar.bz2
samba-e3d07ff9fefc2257bace241f17d8ce58f24bc8c8.zip
r25499: Fix rpc_file_list_internals
(This used to be commit da5736f2103be2229cc3d4421c68f33b3242fa6d)
Diffstat (limited to 'source3/utils/net_rpc.c')
-rw-r--r--source3/utils/net_rpc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index ca81d367f2..a8683e0375 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -4887,6 +4887,7 @@ static NTSTATUS rpc_file_list_internals(const DOM_SID *domain_sid,
int argc,
const char **argv)
{
+ struct srvsvc_NetFileCtr3 ctr3;
union srvsvc_NetFileCtr ctr;
NTSTATUS result;
uint32 hnd;
@@ -4900,6 +4901,8 @@ static NTSTATUS rpc_file_list_internals(const DOM_SID *domain_sid,
/* if argc > 0, must be user command */
if (argc > 0)
username = smb_xstrdup(argv[0]);
+
+ ctr.ctr3 = &ctr3;
result = rpccli_srvsvc_NetFileEnum(pipe_hnd, mem_ctx, NULL, NULL,
username, &level, &ctr,