home | help
SMBUTIL(1)		     General Commands Manual		      SMBUTIL(1)

NAME
     smbutil -- Interface to SMB requester

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

DESCRIPTION
     The  smbutil  command  used to control SMB requester and issue various com-
     mands.

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

     The global options are:

     -h      Print short help message.

     -v      Verbose output.

     The commands and local options are:

     crypt [password]
	     Slightly encrypt clear text password to use  it  in  the  ~/.nsmbrc
	     file.  The  encrypted password starts with '$$1' symbols.	Warning:
	     the encryption function is very weak  and	intented  only	to  hide
	     clear  text  password.   If  password is ommited from command line,
	     program 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, one can login only once
	     and then use other SMB commands  without  authentication  procedure
	     and    additional	  connections.	   For	  the	description   of
	     [-connection options] see mount_smbfs(8) command (all uppercase op-
	     tions are connection options).

     logout //user@server[/share]
	     Logout/detach from the specified server and/or share as user.  This
	     command will destroy connection created by login command. A connec-
	     tion may not be closed immediately if it used by other programs.

     lookup [-w host] name
	     Resolve given name to IP address.	NetBIOS name server can  be  di-
	     rectly specified via [-w] option.

     print [-connection options] //user@server/share file
	     Send  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 avaliable 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.

FreeBSD 4.5			  Feb 14, 2000			      SMBUTIL(1)

home | help