Skip to Main Content
Samba Pocket Reference, 2nd Edition
book

Samba Pocket Reference, 2nd Edition

by Jay Ts, Robert Eckstein, David Collier-Brown
April 2003
Intermediate to advanced content levelIntermediate to advanced
142 pages
4h 54m
English
O'Reilly Media, Inc.
Content preview from Samba Pocket Reference, 2nd Edition
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.
Samba Distribution Programs
|
83
Local Security ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Official Samba-3 HOWTO and Reference Guide, The

Official Samba-3 HOWTO and Reference Guide, The

John H. Terpstra, Jelmer R. Vernooij
Brilliant NLP Workbook

Brilliant NLP Workbook

David Molden, Pat Hutchinson

Publisher Resources

ISBN: 9780596529017