s3-net: Added net rpc conf getparm command to net rpc conf
[samba.git] / source3 / utils / net_rpc_conf.c
index e38e922f962b491dbec9917a45808c68f59b7b41..50d438c2d139a8edf0a0d9a21df07b5777769634 100644 (file)
@@ -894,6 +894,12 @@ static int rpc_conf_delshare(struct net_context *c, int argc,
                rpc_conf_delshare_internal, argc, argv );
 }
 
+static int rpc_conf_getparm(struct net_context *c, int argc,
+                            const char **argv)
+{
+
+       return 0;
+}
 /* function calls */
 int net_rpc_conf(struct net_context *c, int argc,
                 const char **argv)
@@ -945,6 +951,14 @@ int net_rpc_conf(struct net_context *c, int argc,
                        N_("net rpc conf delshare\n"
                           "    Delete a remote share.")
                },
+               {
+                       "getparm",
+                       rpc_conf_getparm,
+                       NET_TRANSPORT_RPC,
+                       N_("Retrieve the value of a parameter."),
+                       N_("net rpc conf getparm\n"
+                          "    Retrieve the value of a parameter.")
+               },
                {NULL, NULL, 0, NULL, NULL}
        };