summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-06-03 22:12:44 +0000
committerJim McDonough <jmcd@samba.org>2002-06-03 22:12:44 +0000
commitd4fa62868e3737c46c6cad628831aab4c9608c46 (patch)
tree9b96c0056af3ca900b76223942c37238839c382a /source3/rpc_client
parent9a2261a92a7880a93ab5c1ef8622b85c6e98d983 (diff)
downloadsamba-d4fa62868e3737c46c6cad628831aab4c9608c46.tar.gz
samba-d4fa62868e3737c46c6cad628831aab4c9608c46.tar.bz2
samba-d4fa62868e3737c46c6cad628831aab4c9608c46.zip
Add user name to netsessenum RPC to stop 1783 messages
(This used to be commit 18854bcd2df88ab49c263c86d111a50d83411885)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_srvsvc.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/source3/rpc_client/cli_srvsvc.c b/source3/rpc_client/cli_srvsvc.c
index c2b2e9f163..f5c19e289f 100644
--- a/source3/rpc_client/cli_srvsvc.c
+++ b/source3/rpc_client/cli_srvsvc.c
@@ -107,10 +107,11 @@ do a server net sess enum
****************************************************************************/
BOOL do_srv_net_srv_sess_enum(struct cli_state *cli,
- char *server_name, char *qual_name,
- uint32 switch_value, SRV_SESS_INFO_CTR *ctr,
- uint32 preferred_len,
- ENUM_HND *hnd)
+ char *server_name, char *qual_name,
+ char *user_name,
+ uint32 switch_value, SRV_SESS_INFO_CTR *ctr,
+ uint32 preferred_len,
+ ENUM_HND *hnd)
{
prs_struct data;
prs_struct rdata;
@@ -134,7 +135,7 @@ BOOL do_srv_net_srv_sess_enum(struct cli_state *cli,
ctr->sess.info0.ptr_sess_info = 1;
/* store the parameters */
- init_srv_q_net_sess_enum(&q_o, server_name, qual_name,
+ init_srv_q_net_sess_enum(&q_o, server_name, qual_name, user_name,
switch_value, ctr,
preferred_len,
hnd);