summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVicentiu Ciorbaru <cvicentiu@gmail.com>2011-07-26 10:36:17 +0300
committerMichael Adam <obnox@samba.org>2011-08-22 13:59:26 +0200
commita974f01b6bfad6ad415d08b5411c787dd5f566d2 (patch)
treed8ab6a262710f63d8c2e9925bd0d7960d9521b5b /source3
parent8d335a3ad897037309f261986442a6f5716e26e7 (diff)
downloadsamba-a974f01b6bfad6ad415d08b5411c787dd5f566d2.tar.gz
samba-a974f01b6bfad6ad415d08b5411c787dd5f566d2.tar.bz2
samba-a974f01b6bfad6ad415d08b5411c787dd5f566d2.zip
s3-net: Added net rpc conf delincludes command to net rpc conf
The function only appears in the commands list usage of net rpc conf. Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_rpc_conf.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c
index a2cb5cb251..ed7f1b45d7 100644
--- a/source3/utils/net_rpc_conf.c
+++ b/source3/utils/net_rpc_conf.c
@@ -1118,6 +1118,12 @@ static int rpc_conf_getincludes(struct net_context *c, int argc,
rpc_conf_getincludes_internal, argc, argv );
}
+static int rpc_conf_delincludes(struct net_context *c, int argc,
+ const char **argv)
+{
+ d_printf("Function not yet implemented\n");
+ return 0;
+}
/* function calls */
int net_rpc_conf(struct net_context *c, int argc,
const char **argv)
@@ -1185,6 +1191,14 @@ int net_rpc_conf(struct net_context *c, int argc,
N_("net rpc conf getincludes\n"
" Show the includes of a share definition.")
},
+ {
+ "delincludes",
+ rpc_conf_delincludes,
+ NET_TRANSPORT_RPC,
+ N_("Delete includes from a share definition."),
+ N_("net rpc conf delincludes\n"
+ " Delete includes from a share definition.")
+ },
{NULL, NULL, 0, NULL, NULL}
};