summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,