summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_srvsvc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_srvsvc.c b/source3/rpcclient/cmd_srvsvc.c
index 2cb741b966..477e68561c 100644
--- a/source3/rpcclient/cmd_srvsvc.c
+++ b/source3/rpcclient/cmd_srvsvc.c
@@ -256,7 +256,7 @@ void cmd_srv_enum_sess(struct client_info *info)
/* enumerate sessions on server */
res = res ? do_srv_net_srv_sess_enum(smb_cli, nt_pipe_fnum,
- dest_srv, NULL, info_level, &ctr, 0x1000, &hnd) : False;
+ dest_srv, NULL, NULL, info_level, &ctr, 0x1000, &hnd) : False;
/* close the session */
cli_nt_session_close(smb_cli, nt_pipe_fnum);
@@ -309,7 +309,7 @@ void cmd_srv_enum_files(struct client_info *info)
/* enumerate files on server */
res = res ? do_srv_net_srv_file_enum(smb_cli, nt_pipe_fnum,
- dest_srv, NULL, info_level, &ctr, 0x1000, &hnd) : False;
+ dest_srv, NULL, 0, info_level, &ctr, 0x1000, &hnd) : False;
if (res)
{