1 .\" This manpage has been automatically generated by docbook2man
2 .\" from a DocBook document. This tool can be found at:
3 .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
4 .\" Please send any bug reports, improvements, comments, patches,
5 .\" etc. to Steve Cheng <steve@ggi-project.org>.
6 .TH "NET" "8" "03 april 2003" "" ""
9 net \- Tool for administration of Samba and remote CIFS servers.
12 \fBnet\fR \fB<ads|rap|rpc>\fR [ \fB-h\fR ] [ \fB-w workgroup\fR ] [ \fB-W myworkgroup\fR ] [ \fB-U user\fR ] [ \fB-I ip-address\fR ] [ \fB-p port\fR ] [ \fB-n myname\fR ] [ \fB-s conffile\fR ] [ \fB-S server\fR ] [ \fB-C comment\fR ] [ \fB-M maxusers\fR ] [ \fB-F flags\fR ] [ \fB-j jobid\fR ] [ \fB-l\fR ] [ \fB-r\fR ] [ \fB-f\fR ] [ \fB-t timeout\fR ] [ \fB-P\fR ] [ \fB-D debuglevel\fR ]
16 This tool is part of the \fBSamba\fR(7) suite.
18 The samba net utility is meant to work just like the net utility
19 available for windows and DOS.
23 Display summary of all available options.
25 \fB-w target-workgroup\fR
26 Sets target workgroup or domain. You have to specify
27 either this option or the IP address or the name of a server.
30 Sets client workgroup or domain
36 IP address of target server to use. You have to
37 specify either this option or a target workgroup or a target server.
40 Port on the target server to connect to.
43 Sets name of the client.
46 Specify alternative configuration file that should be loaded.
49 Name of target server. You should specify either
50 this option or a target workgroup or a target IP address.
77 Make queries to the external server using the machine account of the local server.
80 set the debuglevel. Debug level 0 is the lowest
81 and 100 being the highest. This should be set to 100 if you are
82 planning on submitting a bug report to the Samba team (see
86 The \fBNET TIME\fR command allows you to view the time on a remote server
87 or synchronise the time on the local server with the time on the remote server.
90 Without any options, the \fBNET TIME\fR command
91 displays the time on the remote server.
94 Displays the time on the remote server in a format ready for \fB/bin/date\fR
97 Tries to set the date and time of the local server to that on
98 the remote server using \fB/bin/date\fR.
101 Displays the timezone in hours from GMT on the remote computer.
104 The \fBNET RPC\fR command allows you to do various
107 \fBJOIN -U username[%password] [options]\fR
108 Join a domain with specified username and password. Password
109 will be prompted if none is specified.
111 \fBJOIN [options except -U]\fR
112 to join a domain created in server manager
114 \fBUSER [misc. options] [targets]\fR
117 \fBUSER DELETE <name> [misc options]\fR
118 delete specified user
120 \fBUSER INFO <name> [misc options]\fR
121 list the domain groups of the specified user
123 \fBUSER ADD <name> [password] [-F user flags] [misc. options]\fR
126 \fBGROUP [misc options] [targets]\fR
129 \fBGROUP DELETE <name> [misc. options] [targets]\fR
130 Delete specified group
132 \fBGROUP ADD <name> [-C comment]\fR
133 Create specified group
135 \fBSHARE [misc. options] [targets]\fR
136 enumerates all exported resources (network shares) on target server
138 \fBSHARE ADD <name=serverpath> [misc. options] [targets]\fR
139 Adds a share from a server (makes the export active)
141 \fBSHARE DELETE <sharenam\fR
144 This man page is incomplete for version 3.0 of the Samba
148 The original Samba software and related utilities
149 were created by Andrew Tridgell. Samba is now developed
150 by the Samba Team as an Open Source project similar
151 to the way the Linux kernel is developed.
153 The original Samba man pages were written by Karl Auer.
154 The current set of manpages and documentation is maintained
155 by the Samba Team in the same fashion as the Samba source code.