Added stubs for SRVSVC and NETLOGON rpcclient commands.
[samba.git] / source / rpcclient / cmd_srvsvc.c
1 /* 
2    Unix SMB/Netbios implementation.
3    Version 2.2
4    RPC pipe client
5
6    Copyright (C) Tim Potter 2000
7
8    This program is free software; you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 2 of the License, or
11    (at your option) any later version.
12    
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17    
18    You should have received a copy of the GNU General Public License
19    along with this program; if not, write to the Free Software
20    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 */
22
23 #include "includes.h"
24
25 extern int DEBUGLEVEL;
26
27 /* Server query info */
28
29 static uint32 cmd_srvsvc_srv_query_info(struct cli_state *cli, int argc,
30                                         char **argv)
31 {
32         uint32 info_level = 101;
33         SRV_INFO_CTR ctr;
34         TALLOC_CTX *mem_ctx;
35
36         if (argc > 2) {
37                 printf("Usage: %s [infolevel]\n", argv[0]);
38                 return 0;
39         }
40
41         if (argc == 2)
42                 info_level = atoi(argv[1]);
43
44         return 0;
45 }
46
47 /* List of commands exported by this module */
48
49 struct cmd_set srvsvc_commands[] = {
50         { "SRVSVC",     NULL,                       "" },
51         { NULL, NULL, NULL }
52 };