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
Samba Distribution Programs
|
69
net
net [method] function [misc_options] [target_options]
The net command, new to Samba 3.0, is a program with a syntax
similar to the MS-DOS/Windows command of the same name. It
is used for performing various administrative functions related to
Windows networking, which can be executed either locally or on
a remote system.
The
function argument is made up of one or more space-sepa-
rated words. In Windows terminology, it is sometimes referred to
as a function with options. Here we list every function in its
complete form, including multiple words.
By default, the action is performed on the local system. The
target_options argument can be used to specify a remote system
(either by hostname or IP address), a domain, or a workgroup.
Depending on the function, the
method argument can be optional,
required, or disallowed. It specifies one of three methods for
performing the operation specified by the rest of the command. It
can be
ads (Active Directory), rpc (Microsoft’s DCE/RPC), or rap
(Microsoft’s original SMB remote procedure call). To determine
which methods (if any) can be used with a function, the
net help
ads
, net help rap, and net help rpc commands can be used to list
the functions for each method.
Miscellaneous options
-d level
--debug=level
Sets the debug (sometimes called logging) level. The level can
range from 0 to 10.
-l
--long
S
pecifies the long listing mode. This is ...
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