This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
[samba.git] / docs / manpages / net.8
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" "04 March 2003" "" ""
7 .SH NAME
8 net \- Tool for administration of Samba and remote CIFS servers.
9 .SH SYNOPSIS
10
11 \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 ]
12
13 .SH "DESCRIPTION"
14 .PP
15 This tool is part of the  Samba suite.
16 .PP
17 The samba net utility is meant to work just like the net utility 
18 available for windows and DOS.
19 .SH "OPTIONS"
20 .TP
21 \fB-h\fR
22 Display summary of all available options.
23 .TP
24 \fB-w target-workgroup\fR
25 Sets target workgroup or domain. You have to specify either this option or the IP address or the name of a server.
26 .TP
27 \fB-W workgroup\fR
28 Sets client workgroup or domain
29 .TP
30 \fB-U user\fR
31 User name to use
32 .TP
33 \fB-I ip-address\fR
34 IP address of target server to use. You have to specify either this option or a target workgroup or a target server.
35 .TP
36 \fB-p port\fR
37 Port on the target server to connect to.
38 .TP
39 \fB-n myname\fR
40 Sets name of the client.
41 .TP
42 \fB-s conffile\fR
43 Specify alternative configuration file that should be loaded.
44 .TP
45 \fB-S server\fR
46 Name of target server. You should specify either this option or a target workgroup or a target IP address.
47 .TP
48 \fB-C comment\fR
49 FIXME
50 .TP
51 \fB-M maxusers\fR
52 FIXME
53 .TP
54 \fB-F flags\fR
55 FIXME
56 .TP
57 \fB-j jobid\fR
58 FIXME
59 .TP
60 \fB-l\fR
61 FIXME
62 .TP
63 \fB-r\fR
64 FIXME
65 .TP
66 \fB-f\fR
67 FIXME
68 .TP
69 \fB-t timeout\fR
70 FIXME
71 .TP
72 \fB-P\fR
73 Make queries to the external server using the machine account of the local server.
74 .TP
75 \fB-D debuglevel\fR
76 set the debuglevel. Debug level 0 is the lowest
77 and 100 being the highest. This should be set to 100 if you are
78 planning on submitting a bug report to the Samba team (see
79 \fIBUGS.txt\fR).
80 .SH "TIME"
81 .PP
82 The \fBNET TIME\fR command allows you to view the time on a remote server
83 or synchronise the time on the local server with the time on the remote server.
84 .TP
85 \fB\fR
86 Without any options, the \fBNET TIME\fR command 
87 displays the time on the remote server.
88 .TP
89 \fBSYSTEM\fR
90 Displays the time on the remote server in a format ready for /bin/date
91 .TP
92 \fBSET\fR
93 Tries to set the date and time of the local server to that on 
94 the remote server using /bin/date.
95 .TP
96 \fBZONE\fR
97 Displays the timezone in hours from GMT on the remote computer.
98 .SH "RPC"
99 .PP
100 The \fBNET RPC\fR command allows you to do various 
101 NT4 operations.
102 .TP
103 \fBJOIN -U username[%password] [options]\fR
104 Join a domain with specified username and password. Password 
105 will be prompted if none is specified.
106 .TP
107 \fBJOIN [options except -U]\fR
108 to join a domain created in server manager
109 .TP
110 \fBUSER [misc. options] [targets]\fR
111 List users
112 .TP
113 \fBUSER DELETE <name> [misc options]\fR
114 delete specified user
115 .TP
116 \fBUSER INFO <name> [misc options]\fR
117 list the domain groups of the specified user
118 .TP
119 \fBUSER ADD <name> [password] [-F user flags] [misc. options\fR
120 Add specified user
121 .TP
122 \fBGROUP [misc options] [targets]\fR
123 List user groups
124 .TP
125 \fBGROUP DELETE <name> [misc. options] [targets]\fR
126 Delete specified group
127 .TP
128 \fBGROUP ADD <name> [-C comment]\fR
129 Create specified group
130 .TP
131 \fBSHARE [misc. options] [targets]\fR
132 enumerates all exported resources (network shares) on target server
133 .TP
134 \fBSHARE ADD <name=serverpath> [misc. options] [targets]\fR
135 Adds a share from a server (makes the export active)
136 .TP
137 \fBSHARE DELETE <sharenam\fR
138 .SH "VERSION"
139 .PP
140 This man page is incomplete for version 3.0 of the Samba 
141 suite.
142 .SH "AUTHOR"
143 .PP
144 The original Samba software and related utilities 
145 were created by Andrew Tridgell. Samba is now developed
146 by the Samba Team as an Open Source project similar 
147 to the way the Linux kernel is developed.
148 .PP
149 The original Samba man pages were written by Karl Auer.
150 The current set of manpages and documentation is maintained
151 by the Samba Team in the same fashion as the Samba source code.