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>

*** 1,14 **** '\" te .\" Copyright (c) 2009, Sun Microsystems, Inc. All Right Reserved. .\" Portions Copyright 1994-2008 The FreeBSD Project. All rights reserved. .\" 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 .\" 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 .\" 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 .\" 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 .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ! .TH SMBUTIL 1 "Jun 24, 2009" .SH NAME smbutil \- Solaris CIFS client utility .SH SYNOPSIS .LP .nf --- 1,15 ---- '\" te .\" Copyright (c) 2009, Sun Microsystems, Inc. All Right Reserved. + .\" Copyright 2018 Nexenta Systems, Inc. All rights reserved. .\" Portions Copyright 1994-2008 The FreeBSD Project. All rights reserved. .\" 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 .\" 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 .\" 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 .\" 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 .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ! .TH SMBUTIL 1 "Apr 11, 2018" .SH NAME smbutil \- Solaris CIFS client utility .SH SYNOPSIS .LP .nf
*** 15,24 **** --- 16,30 ---- \fB/usr/bin/smbutil crypt\fR .fi .LP .nf + \fB/usr/bin/smbutil discon //[\fIdomain\fR;][\fIuser\fR@]\fIserver\fR\fR + .fi + + .LP + .nf \fB/usr/bin/smbutil login [-c] [[\fIdomain\fR/]\fIuser\fR]\fR .fi .LP .nf
*** 92,101 **** --- 98,120 ---- If you plan to store hashed passwords in your \fB$HOME/.nsmbrc\fR file, ensure that the file permissions are set so that only the owner can read or write the file (\fB400\fR or \fB600\fR), or the passwords are ignored. .RE + .sp + .ne 2 + .na + \fB\fBdiscon -U \fIuser\fR] + //[\fIdomain\fR;][\fIuser\fR\fIserver\fR\fR\fR + .ad + .sp .6 + .RS 4n + Disconnects the specified SMB session to \fIserver\fR. + Usage is similar to the \fB\fBview\fR\fR sub-command. + This sub-command is primarily for use in tests. + .RE + .sp .ne 2 .na \fB\fBlogin [-c] [ [[\fIdomain\fR/]\fIuser\fR] | [\fIuser\fR[@\fIdomain\fR] ]\fR\fR