s3-spoolss: use SPOOLSS_ARCHITECTURE_ALL in driver enum server code.
[ira/wip.git] / source3 / utils / net.c
index 2063479808e1d4412fd36b8f67cf1fc9cb14d350..e8920e0b02fd1207deebc369e0a687da25f9b842 100644 (file)
@@ -53,7 +53,7 @@ extern bool AllowDebugChange;
 /* end of internationalization section                                 */
 /***********************************************************************/
 
-uint32 get_sec_channel_type(const char *param)
+enum netr_SchannelType get_sec_channel_type(const char *param)
 {
        if (!(param && *param)) {
                return get_default_sec_channel();
@@ -91,7 +91,7 @@ static int net_changesecretpw(struct net_context *c, int argc,
                              const char **argv)
 {
         char *trust_pw;
-        uint32 sec_channel_type = SEC_CHAN_WKSTA;
+        enum netr_SchannelType sec_channel_type = SEC_CHAN_WKSTA;
 
        if(c->opt_force) {
                if (c->opt_stdin) {
@@ -702,13 +702,6 @@ static struct functable net_func[] = {
                N_("  Use 'net help registry' to get more information about "
                   "'net registry' commands.")
        },
-       {       "lua",
-               net_lua,
-               NET_TRANSPORT_LOCAL,
-               N_("Open a lua interpreter"),
-               N_("  Use 'net help lua' to get more information about 'net "
-                  "lua' commands.")
-       },
        {       "eventlog",
                net_eventlog,
                NET_TRANSPORT_LOCAL,