summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-19 02:47:22 +0100
committerGünther Deschner <gd@samba.org>2008-03-19 02:47:22 +0100
commit56c97115ec83880768a3bead2d44ae4f1de03e34 (patch)
treeaf37a290bcb16c69edba2367fac04455ca3772e0
parenta307107c3cb26ef1825db963e701f22ad08b18c6 (diff)
downloadsamba-56c97115ec83880768a3bead2d44ae4f1de03e34.tar.gz
samba-56c97115ec83880768a3bead2d44ae4f1de03e34.tar.bz2
samba-56c97115ec83880768a3bead2d44ae4f1de03e34.zip
Fix the build (by calling NDR_SRVSVC_NETFILEENUM).
Guenther (This used to be commit 3b1f3d8a6ce9b8860aca07d9960bc8488296aecd)
-rw-r--r--source3/rpc_server/srv_srvsvc.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/source3/rpc_server/srv_srvsvc.c b/source3/rpc_server/srv_srvsvc.c
index 96bc3735b4..e33ccce2d3 100644
--- a/source3/rpc_server/srv_srvsvc.c
+++ b/source3/rpc_server/srv_srvsvc.c
@@ -70,25 +70,7 @@ static bool api_srv_net_srv_set_info(pipes_struct *p)
static bool api_srv_net_file_enum(pipes_struct *p)
{
- SRV_Q_NET_FILE_ENUM q_u;
- SRV_R_NET_FILE_ENUM r_u;
- prs_struct *data = &p->in_data.data;
- prs_struct *rdata = &p->out_data.rdata;
-
- ZERO_STRUCT(q_u);
- ZERO_STRUCT(r_u);
-
- /* grab the net file enum */
- if (!srv_io_q_net_file_enum("", &q_u, data, 0))
- return False;
-
- r_u.status = _srv_net_file_enum(p, &q_u, &r_u);
-
- /* store the response in the SMB stream */
- if(!srv_io_r_net_file_enum("", &r_u, rdata, 0))
- return False;
-
- return True;
+ return proxy_srvsvc_call(p, NDR_SRVSVC_NETFILEENUM);
}
/*******************************************************************