Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

smbutil(1) [freebsd man page]

SMBUTIL(1)						    BSD General Commands Manual 						SMBUTIL(1)

NAME
smbutil -- interface to the SMB requester SYNOPSIS
smbutil [-hv] command [-options] [args] DESCRIPTION
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: -h Print a short help message. -v Verbose output. The commands and local options are: crypt [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. help command Print usage information about command. lc List active connections and their parameters. login [-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) manpage (all uppercase options are connection options). logout //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. lookup [-w host] name Resolve the given name to an IP address. The NetBIOS name server can be directly specified via the -w option. print [-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. view [-connection_options] //user@server List resources available on the specified server for the user user. FILES
~/.nsmbrc Keeps description for each connection. See ./examples/dot.nsmbrc for details. AUTHORS
Boris Popov <bp@butya.kz>, <bp@FreeBSD.org> BUGS
Please report any bugs to the author. BSD
February 14, 2000 BSD

Check Out this Related Man Page

SMBUTIL(1)						    BSD General Commands Manual 						SMBUTIL(1)

NAME
smbutil -- interface to the SMB requester SYNOPSIS
smbutil [-hv] command [-options] [args] DESCRIPTION
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: -h Print a short help message. -v Verbose output. The commands and local options are: help command Print usage information about command. lookup [-w host] [-t node_type] [-e] name Resolve the given name to an IP address. The NetBIOS name server can be directly specified via the -w option. The NetBIOS name type can be specified via the -t, the default is to lookup file servers. For a complete list of name types please see "http://support.mi- crosoft.com/kb/163409". The NetBIOS names will be unpercent escaped out if the -e option is specified. status [-ae] hostname Resolve given hostname (IP address or DNS name) to NetBIOS workgroup and system name. All NetBIOS names will be displayed if the -a option is specified. All NetBIOS names will be percent escaped out if the -e option is specified. view [-options] //[domain;][user[:password]@]server List resources available on the specified server for the user. The options are as follows: -A authorize only. -N don't prompt for a password. -G allow guest access. -g authorize with guest only. -a authorize with anonymous only. -f don't share session. identity [-N] //[domain;][user[:password]@]server Display the user's identity as known by the server for the authenticated session. Will not prompt for a password if the -N option is specified. dfs smb://[domain;][user[:password]@]server/DfsRoot[/DfsLink] Display the Dfs referrals for this URL for the authenticated session. statshares [-m mount_path] | [-a] If -m is specified, it prints the attributes of the share mounted at mount_path. If -a is specified, it prints the attributes of all mounted shares. You can not specify both -m and -a together since they are mutually exclusive. FILES
nsmb.conf Keeps static parameters for connections and other information. See man nsmb.conf for details. AUTHORS
Boris Popov <bp@butya.kz>, <bp@FreeBSD.org> BUGS
Please report any bugs to Apple. BSD
February 14, 2000 BSD
Man Page