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