Print this page
3328 smbutil view does't work with Win2008 and later
requires 1575 untangle libmlrpc ...

@@ -31,10 +31,12 @@
  */
 
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  */
 
 #include <sys/param.h>
 #include <sys/time.h>
 #include <stdio.h>

@@ -68,10 +70,11 @@
         cmd_usage_t     *usage;
         int             flags;
 } commands[] = {
         {"crypt",       cmd_crypt,      NULL, CMDFL_NO_KMOD},
         {"help",        cmd_help,       help_usage, CMDFL_NO_KMOD},
+        {"info",        cmd_info,       info_usage, 0},
         {"login",       cmd_login,      login_usage, 0},
         {"logout",      cmd_logout,     logout_usage, 0},
         {"logoutall",   cmd_logoutall,  logoutall_usage, 0},
         {"lookup",      cmd_lookup,     lookup_usage, CMDFL_NO_KMOD},
         {"print",       cmd_print,      print_usage, 0},

@@ -187,10 +190,11 @@
         printf(gettext("usage: %s [-hv] subcommand [args]\n"), __progname);
         printf(gettext("where subcommands are:\n"
         " crypt         slightly obscure password\n"
         " help          display help on specified subcommand\n"
         /* " lc                 display active connections\n" */
+        " info          display server type and version\n"
         " login         login to specified host\n"
         " logout        logout from specified host\n"
         " logoutall     logout all users (requires privilege)\n"
         " lookup        resolve NetBIOS name to IP address\n"
         " print         print file to the specified remote printer\n"