This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
[samba.git] / docs / htmldocs / net.8.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <HTML
3 ><HEAD
4 ><TITLE
5 >net</TITLE
6 ><META
7 NAME="GENERATOR"
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD
9 ><BODY
10 CLASS="REFENTRY"
11 BGCOLOR="#FFFFFF"
12 TEXT="#000000"
13 LINK="#0000FF"
14 VLINK="#840084"
15 ALINK="#0000FF"
16 ><H1
17 ><A
18 NAME="NET"
19 ></A
20 >net</H1
21 ><DIV
22 CLASS="REFNAMEDIV"
23 ><A
24 NAME="AEN5"
25 ></A
26 ><H2
27 >Name</H2
28 >net&nbsp;--&nbsp;Tool for administration of Samba and remote
29         CIFS servers.</DIV
30 ><DIV
31 CLASS="REFSYNOPSISDIV"
32 ><A
33 NAME="AEN8"
34 ></A
35 ><H2
36 >Synopsis</H2
37 ><P
38 ><B
39 CLASS="COMMAND"
40 >net</B
41 >  {&lt;ads|rap|rpc&gt;} [-h] [-w workgroup] [-W myworkgroup] [-U user] [-I ip-address] [-p port] [-n myname] [-s conffile] [-S server] [-C comment] [-M maxusers] [-F flags] [-j jobid] [-l] [-r] [-f] [-t timeout] [-P] [-D debuglevel]</P
42 ></DIV
43 ><DIV
44 CLASS="REFSECT1"
45 ><A
46 NAME="AEN31"
47 ></A
48 ><H2
49 >DESCRIPTION</H2
50 ><P
51 >This tool is part of the <A
52 HREF="samba.7.html"
53 TARGET="_top"
54 >       Samba</A
55 > suite.</P
56 ><P
57 >The samba net utility is meant to work just like the net utility 
58         available for windows and DOS.</P
59 ></DIV
60 ><DIV
61 CLASS="REFSECT1"
62 ><A
63 NAME="AEN36"
64 ></A
65 ><H2
66 >OPTIONS</H2
67 ><P
68 ></P
69 ><DIV
70 CLASS="VARIABLELIST"
71 ><DL
72 ><DT
73 >-h</DT
74 ><DD
75 ><P
76 >               Display summary of all available options.
77                 
78                 </P
79 ></DD
80 ><DT
81 >-w target-workgroup</DT
82 ><DD
83 ><P
84 >               Sets target workgroup or domain. You have to specify either this option or the IP address or the name of a server.
85                 </P
86 ></DD
87 ><DT
88 >-W workgroup</DT
89 ><DD
90 ><P
91 >               Sets client workgroup or domain
92                 </P
93 ></DD
94 ><DT
95 >-U user</DT
96 ><DD
97 ><P
98 >               User name to use
99                 </P
100 ></DD
101 ><DT
102 >-I ip-address</DT
103 ><DD
104 ><P
105 >               IP address of target server to use. You have to specify either this option or a target workgroup or a target server.
106                 </P
107 ></DD
108 ><DT
109 >-p port</DT
110 ><DD
111 ><P
112 >               Port on the target server to connect to.
113                 </P
114 ></DD
115 ><DT
116 >-n myname</DT
117 ><DD
118 ><P
119 >               Sets name of the client.
120                 </P
121 ></DD
122 ><DT
123 >-s conffile</DT
124 ><DD
125 ><P
126 >               Specify alternative configuration file that should be loaded.
127                 </P
128 ></DD
129 ><DT
130 >-S server</DT
131 ><DD
132 ><P
133 >               Name of target server. You should specify either this option or a target workgroup or a target IP address.
134                 </P
135 ></DD
136 ><DT
137 >-C comment</DT
138 ><DD
139 ><P
140 >               FIXME
141                 </P
142 ></DD
143 ><DT
144 >-M maxusers</DT
145 ><DD
146 ><P
147 >               FIXME
148                 </P
149 ></DD
150 ><DT
151 >-F flags</DT
152 ><DD
153 ><P
154 >               FIXME
155                 </P
156 ></DD
157 ><DT
158 >-j jobid</DT
159 ><DD
160 ><P
161 >               FIXME
162                 </P
163 ></DD
164 ><DT
165 >-l</DT
166 ><DD
167 ><P
168 >               FIXME
169                 </P
170 ></DD
171 ><DT
172 >-r</DT
173 ><DD
174 ><P
175 >               FIXME
176                 </P
177 ></DD
178 ><DT
179 >-f</DT
180 ><DD
181 ><P
182 >               FIXME
183                 </P
184 ></DD
185 ><DT
186 >-t timeout</DT
187 ><DD
188 ><P
189 >               FIXME
190                 </P
191 ></DD
192 ><DT
193 >-P</DT
194 ><DD
195 ><P
196 >               Make queries to the external server using the machine account of the local server.
197                 </P
198 ></DD
199 ><DT
200 >-D debuglevel</DT
201 ><DD
202 ><P
203 >set the debuglevel. Debug level 0 is the lowest
204                 and 100 being the highest. This should be set to 100 if you are
205                 planning on submitting a bug report to the Samba team (see
206                 <TT
207 CLASS="FILENAME"
208 >BUGS.txt</TT
209 >).
210                 </P
211 ></DD
212 ></DL
213 ></DIV
214 ></DIV
215 ><DIV
216 CLASS="REFSECT1"
217 ><A
218 NAME="AEN116"
219 ></A
220 ><H2
221 >TIME</H2
222 ><P
223 >The <B
224 CLASS="COMMAND"
225 >NET TIME</B
226 > command allows you to view the time on a remote server
227         or synchronise the time on the local server with the time on the remote server.</P
228 ><P
229 ></P
230 ><DIV
231 CLASS="VARIABLELIST"
232 ><DL
233 ><DT
234 ></DT
235 ><DD
236 ><P
237 >               Without any options, the <B
238 CLASS="COMMAND"
239 >NET TIME</B
240 > command 
241                 displays the time on the remote server.
242                 </P
243 ></DD
244 ><DT
245 >SYSTEM</DT
246 ><DD
247 ><P
248 >               Displays the time on the remote server in a format ready for /bin/date
249                 </P
250 ></DD
251 ><DT
252 >SET</DT
253 ><DD
254 ><P
255 >               Tries to set the date and time of the local server to that on 
256                 the remote server using /bin/date.
257                 </P
258 ></DD
259 ><DT
260 >ZONE</DT
261 ><DD
262 ><P
263 >               Displays the timezone in hours from GMT on the remote computer.
264                 </P
265 ></DD
266 ></DL
267 ></DIV
268 ></DIV
269 ><DIV
270 CLASS="REFSECT1"
271 ><A
272 NAME="AEN138"
273 ></A
274 ><H2
275 >RPC</H2
276 ><P
277 >The <B
278 CLASS="COMMAND"
279 >NET RPC</B
280 > command allows you to do various 
281         NT4 operations.</P
282 ><P
283 ></P
284 ><DIV
285 CLASS="VARIABLELIST"
286 ><DL
287 ><DT
288 >JOIN -U username[%password] [options]</DT
289 ><DD
290 ><P
291 >               Join a domain with specified username and password. Password 
292                 will be prompted if none is specified.</P
293 ></DD
294 ><DT
295 >JOIN [options except -U]</DT
296 ><DD
297 ><P
298 >               to join a domain created in server manager
299                 </P
300 ></DD
301 ><DT
302 >USER [misc. options] [targets]</DT
303 ><DD
304 ><P
305 >               List users
306                 </P
307 ></DD
308 ><DT
309 >USER DELETE &lt;name&gt; [misc options]</DT
310 ><DD
311 ><P
312 >               delete specified user
313                 </P
314 ></DD
315 ><DT
316 >USER INFO &lt;name&gt; [misc options]</DT
317 ><DD
318 ><P
319 >               list the domain groups of the specified user
320                 </P
321 ></DD
322 ><DT
323 >USER ADD &lt;name&gt; [password] [-F user flags] [misc. options</DT
324 ><DD
325 ><P
326 >               Add specified user
327                 </P
328 ></DD
329 ><DT
330 >GROUP [misc options] [targets]</DT
331 ><DD
332 ><P
333 >               List user groups
334                 </P
335 ></DD
336 ><DT
337 >GROUP DELETE &lt;name&gt; [misc. options] [targets]</DT
338 ><DD
339 ><P
340 >               Delete specified group
341                 </P
342 ></DD
343 ><DT
344 >GROUP ADD &lt;name&gt; [-C comment]</DT
345 ><DD
346 ><P
347 >               Create specified group
348                 </P
349 ></DD
350 ><DT
351 >SHARE [misc. options] [targets]</DT
352 ><DD
353 ><P
354 >               enumerates all exported resources (network shares) on target server
355                 </P
356 ></DD
357 ><DT
358 >SHARE ADD &lt;name=serverpath&gt; [misc. options] [targets]</DT
359 ><DD
360 ><P
361 >               Adds a share from a server (makes the export active)
362                 </P
363 ></DD
364 ><DT
365 >SHARE DELETE &lt;sharenam</DT
366 ><DD
367 ><P
368 ></P
369 ></DD
370 ></DL
371 ></DIV
372 ></DIV
373 ><DIV
374 CLASS="REFSECT1"
375 ><A
376 NAME="AEN191"
377 ></A
378 ><H2
379 >VERSION</H2
380 ><P
381 >This man page is incomplete for version 3.0 of the Samba 
382         suite.</P
383 ></DIV
384 ><DIV
385 CLASS="REFSECT1"
386 ><A
387 NAME="AEN194"
388 ></A
389 ><H2
390 >AUTHOR</H2
391 ><P
392 >The original Samba software and related utilities 
393         were created by Andrew Tridgell. Samba is now developed
394         by the Samba Team as an Open Source project similar 
395         to the way the Linux kernel is developed.</P
396 ><P
397 >The original Samba man pages were written by Karl Auer.
398         The current set of manpages and documentation is maintained
399         by the Samba Team in the same fashion as the Samba source code.</P
400 ></DIV
401 ></BODY
402 ></HTML
403 >