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
          +++ new/usr/src/man/man1/smbutil.1
   1    1  '\" te
   2    2  .\" Copyright (c) 2009, Sun Microsystems, Inc. All Right Reserved.
        3 +.\" Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
   3    4  .\" Portions Copyright 1994-2008 The FreeBSD Project. All rights reserved.
   4    5  .\" Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
   5    6  .\" disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE FREEBSD PROJECT ``AS IS'' AND
   6    7  .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   7    8  .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   8    9  .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   9      -.TH SMBUTIL 1 "Jun 24, 2009"
       10 +.TH SMBUTIL 1 "Apr 11, 2018"
  10   11  .SH NAME
  11   12  smbutil \- Solaris CIFS client utility
  12   13  .SH SYNOPSIS
  13   14  .LP
  14   15  .nf
  15   16  \fB/usr/bin/smbutil crypt\fR
  16   17  .fi
  17   18  
  18   19  .LP
  19   20  .nf
       21 +\fB/usr/bin/smbutil discon //[\fIdomain\fR;][\fIuser\fR@]\fIserver\fR\fR
       22 +.fi
       23 +
       24 +.LP
       25 +.nf
  20   26  \fB/usr/bin/smbutil login [-c] [[\fIdomain\fR/]\fIuser\fR]\fR
  21   27  .fi
  22   28  
  23   29  .LP
  24   30  .nf
  25   31  \fB/usr/bin/smbutil login [-c] [\fIuser\fR[@\fIdomain\fR]]\fR
  26   32  .fi
  27   33  
  28   34  .LP
  29   35  .nf
↓ open down ↓ 57 lines elided ↑ open up ↑
  87   93  .sp
  88   94  The hashed password begins with two dollar signs (\fB$$\fR). If you assign this
  89   95  hashed password to the \fBpassword\fR property in your \fB$HOME/.nsmbrc\fR, be
  90   96  sure that you escape the special characters in the password.
  91   97  .sp
  92   98  If you plan to store hashed passwords in your \fB$HOME/.nsmbrc\fR file, ensure
  93   99  that the file permissions are set so that only the owner can read or write the
  94  100  file (\fB400\fR or \fB600\fR), or the passwords are ignored.
  95  101  .RE
  96  102  
      103 +.sp
      104 +.ne 2
      105 +.na
      106 +\fB\fBdiscon -U \fIuser\fR]
      107 +//[\fIdomain\fR;][\fIuser\fR\fIserver\fR\fR\fR
      108 +.ad
      109 +.sp .6
      110 +.RS 4n
      111 +Disconnects the specified SMB session to \fIserver\fR.
      112 +Usage is similar to the \fB\fBview\fR\fR sub-command.
      113 +This sub-command is primarily for use in tests.
      114 +.RE
      115 +
  97  116  .sp
  98  117  .ne 2
  99  118  .na
 100  119  \fB\fBlogin [-c] [ [[\fIdomain\fR/]\fIuser\fR] | [\fIuser\fR[@\fIdomain\fR]
 101  120  ]\fR\fR
 102  121  .ad
 103  122  .sp .6
 104  123  .RS 4n
 105  124  Specifies persistent password information to be used for a CIFS server user
 106  125  account. When you specify this information, mounts can be done without a
↓ open down ↓ 356 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX