Print this page
NEX-16805 Add smbutil discon command
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/smbutil.1.man.txt
          +++ new/usr/src/man/man1/smbutil.1.man.txt
↓ open down ↓ 1 lines elided ↑ open up ↑
   2    2  
   3    3  
   4    4  
   5    5  NAME
   6    6         smbutil - Solaris CIFS client utility
   7    7  
   8    8  SYNOPSIS
   9    9         /usr/bin/smbutil crypt
  10   10  
  11   11  
       12 +       /usr/bin/smbutil discon //[domain;][user@]server
       13 +
       14 +
  12   15         /usr/bin/smbutil login [-c] [[domain/]user]
  13   16  
  14   17  
  15   18         /usr/bin/smbutil login [-c] [user[@domain]]
  16   19  
  17   20  
  18   21         /usr/bin/smbutil logout [[domain/]user]
  19   22  
  20   23  
  21   24         /usr/bin/smbutil logout [user[@domain]]
↓ open down ↓ 34 lines elided ↑ open up ↑
  56   59             The hashed password begins with two dollar signs ($$). If you
  57   60             assign this hashed password to the password property in your
  58   61             $HOME/.nsmbrc, be sure that you escape the special characters in
  59   62             the password.
  60   63  
  61   64             If you plan to store hashed passwords in your $HOME/.nsmbrc file,
  62   65             ensure that the file permissions are set so that only the owner can
  63   66             read or write the file (400 or 600), or the passwords are ignored.
  64   67  
  65   68  
       69 +       discon -U user] //[domain;][userserver
       70 +
       71 +           Disconnects the specified SMB session to server.  Usage is similar
       72 +           to the view sub-command.  This sub-command is primarily for use in
       73 +           tests.
       74 +
       75 +
  66   76         login [-c] [ [[domain/]user] | [user[@domain] ]
  67   77  
  68   78             Specifies persistent password information to be used for a CIFS
  69   79             server user account. When you specify this information, mounts can
  70   80             be done without a password prompt in non-Kerberos configurations.
  71   81             Kerberos sites should use Kerberos automatically, not prompt for a
  72   82             password. If a default domain is available in SMF or nsmbrc(4), the
  73   83             domain can be omitted. If a user name is not specified, the Solaris
  74   84             user account name is used.
  75   85  
↓ open down ↓ 251 lines elided ↑ open up ↑
 327  337         CIFS client permits the use of NBNS to enable Solaris CIFS clients in
 328  338         Windows environments to work without additional configuration.
 329  339  
 330  340  
 331  341         Since NBNS has been exploited in the past, you might want to disable
 332  342         it. To disable NBNS, set the nbns-enabled service management facility
 333  343         property to false. By default, nbns-enabled is set to true.
 334  344  
 335  345  
 336  346  
 337      -                                 June 24, 2009                      SMBUTIL(1)
      347 +                                April 11, 2018                      SMBUTIL(1)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX