
82
|
Samba Pocket Reference
-N
Does not prompt for a password. This is used when Samba is
configured for share-mode security and a service with no
password is being accessed.
-s filename
Specifies the location of the Samba configuration file, which
by default is usually /usr/local/samba/lib/smb.conf.
-U username[%password]
Sets the SMB username or username and password to use. Be
careful when specifying the password with
%password; this is a
major security risk. If
%password is not specified, the user will
be prompted for the password, which will not be echoed.
Normally the user is set from the USER or LOGNAME envi-
ronment variable. The
-U option by itself means to use the
guest account. See also
-A.
-W domain
Sets the domain, overriding the workgroup parameter in the
Samba configuration file. If the domain is the server’s
NetBIOS name, it causes the client to log on using the server’s
local SAM database rather than the SAM of the domain.
rpcclient commands
Aside from a few miscellaneous commands, the rpclient
commands fall into three groups: LSARPC, SAMR, and
SPOOLSS. The function names mentioned in some of the
commands are those documented in the Microsoft Platform SDK.
General commands
debuglevel level
Sets the debugging level to level. With no argument, the
current debugging level is printed.
help
Prints help on the commands.
quit
Exits rpcclient. A synonym is exit.