GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SMBUTIL(1) FreeBSD General Commands Manual SMBUTIL(1)

smbutil
interface to the SMB requester

smbutil [-hv] command [options] [args]

The smbutil command is used to control SMB requester and issue various commands.

There are two types of options — global and local to the specified command.

Global options are as follows:

Print a short help message.
Verbose output.

The commands and local options are:

[password]
Encrypt clear text password for use in the ~/.nsmbrc file. The encrypted password starts with the ‘$$1’ symbols. Warning: the encryption function is very weak and intended only to hide clear text password. If password is omitted from the command line, smbutil will prompt for one.
command
Print usage information about command.
List active connections and their parameters.
[connection_options] //user@server[/share]
Login/attach to the specified server and/or share as user. This command will create and authenticate connection to an SMB server, and will leave it active after exit. Thus, it is possible to login only once and then use other SMB commands without authentication procedure and additional connections. For the description of connection_options refer to the mount_smbfs(8) manual page (all uppercase options are connection options).
//user@server[/share]
Logout/detach from the specified server and/or share as user. This command will destroy a connection created by the login command. A connection may not be closed immediately if it is used by other programs.
[-w host] name
Resolve the given name to an IP address. The NetBIOS name server can be directly specified via the -w option.
[connection_options] //user@server[/share] file
Send the given file to the specified queue on the remote server. If file is “-”, then standard input will be used.
[connection_options] //user@server
List resources available on the specified server for the user user.

~/.nsmbrc
Keeps description for each connection. See /usr/share/examples/smbfs/dot.nsmbrc for details.

nsmb.conf(5), mount_smbfs(8)

Boris Popov ⟨bp@butya.kz⟩, ⟨bp@FreeBSD.org⟩

Please report any bugs to the author.
November 14, 2018 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.