summaryrefslogtreecommitdiff
path: root/docs/htmldocs/samba.7.html
blob: 728f42f6f90cd16414df240506c726971e7b681f (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
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML
><HEAD
><TITLE
>samba</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><H1
><A
NAME="SAMBA.7"
></A
>samba</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN5"
></A
><H2
>Name</H2
>Samba&nbsp;--&nbsp;A Windows SMB/CIFS fileserver for UNIX</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN8"
></A
><H2
>Synopsis</H2
><P
><B
CLASS="COMMAND"
>Samba</B
> </P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN11"
></A
><H2
>DESCRIPTION</H2
><P
>The Samba software suite is a collection of programs 
	that implements the Server Message Block (commonly abbreviated 
	as SMB) protocol for UNIX systems. This protocol is sometimes 
	also referred to as the Common Internet File System (CIFS). For a
	more thorough description, see <A
HREF="http://www.ubiqx.org/cifs/"
TARGET="_top"
>	http://www.ubiqx.org/cifs/</A
>. Samba also implements the NetBIOS
	protocol in nmbd.</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smbd</SPAN
>(8)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>smbd</B
> daemon provides the file and print services to 
		SMB clients, such as Windows 95/98, Windows NT, Windows 
		for Workgroups or LanManager. The configuration file 
		for this daemon is described in <SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smb.conf</SPAN
>(5)</SPAN
>
		</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>nmbd</SPAN
>(8)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>nmbd</B
>
		daemon provides NetBIOS nameservice and browsing
		support. The configuration file for this daemon 
		is described in <SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smb.conf</SPAN
>(5)</SPAN
></P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smbclient</SPAN
>(1)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>smbclient</B
>
		program implements a simple ftp-like client. This 
		is useful for accessing SMB shares on other compatible
		servers (such as Windows NT), and can also be used 
		to allow a UNIX box to print to a printer attached to 
		any SMB server (such as a PC running Windows NT).</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>testparm</SPAN
>(1)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>testparm</B
>
		utility is a simple syntax checker for Samba's <SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smb.conf</SPAN
>(5)</SPAN
> configuration file.</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>testprns</SPAN
>(1)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>testprns</B
>
		utility supports testing printer names defined 
		in your <TT
CLASS="FILENAME"
>printcap</TT
> file used 
		by Samba.</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smbstatus</SPAN
>(1)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>smbstatus</B
>
		tool provides access to information about the 
		current connections to <B
CLASS="COMMAND"
>smbd</B
>.</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>nmblookup</SPAN
>(1)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>nmblookup</B
>
		tools allows NetBIOS name queries to be made 
		from a UNIX host.</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smbgroupedit</SPAN
>(8)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>smbgroupedit</B
>
		tool allows for mapping unix groups to NT Builtin,
		Domain, or Local groups. Also it allows setting
		priviledges for that group, such as saAddUser, etc.</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smbpasswd</SPAN
>(8)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>smbpasswd</B
>
		command is a tool for changing LanMan and Windows NT 
		password hashes on Samba and Windows NT servers.</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smbcacls</SPAN
>(1)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>smbcacls</B
> command is 
		a tool to set ACL's on remote CIFS servers. </P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smbsh</SPAN
>(1)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>smbsh</B
> command is 
		a program that allows you to run a unix shell with 
		with an overloaded VFS.</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smbtree</SPAN
>(1)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>smbtree</B
> command 
		is a text-based network neighborhood tool.</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smbtar</SPAN
>(1)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>smbtar</B
> can make 
		backups of data on CIFS/SMB servers.</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smbspool</SPAN
>(8)</SPAN
></DT
><DD
><P
><B
CLASS="COMMAND"
>smbspool</B
> is a 
		helper utility for printing on printers connected 
		to CIFS servers. </P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smbcontrol</SPAN
>(1)</SPAN
></DT
><DD
><P
><B
CLASS="COMMAND"
>smbcontrol</B
> is a utility
		that can change the behaviour of running samba daemons.
		</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>rpcclient</SPAN
>(1)</SPAN
></DT
><DD
><P
><B
CLASS="COMMAND"
>rpcclient</B
> is a utility
		that can be used to execute RPC commands on remote 
		CIFS servers.</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>pdbedit</SPAN
>(8)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>pdbedit</B
> command 
		can be used to maintain the local user database on 
		a samba server.</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>findsmb</SPAN
>(1)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>findsmb</B
> command 
		can be used to find SMB servers on the local network.
		</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>net</SPAN
>(8)</SPAN
></DT
><DD
><P
>The <B
CLASS="COMMAND"
>net</B
> command 
		is supposed to work similar to the DOS/Windows
		NET.EXE command.</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>swat</SPAN
>(8)</SPAN
></DT
><DD
><P
><B
CLASS="COMMAND"
>swat</B
> is a web-based
		interface to configuring <TT
CLASS="FILENAME"
>smb.conf</TT
>.
		</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>winbindd</SPAN
>(8)</SPAN
></DT
><DD
><P
><B
CLASS="COMMAND"
>winbindd</B
> is a daemon 
		that is used for integrating authentication and 
		the user database into unix.</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>wbinfo</SPAN
>(1)</SPAN
></DT
><DD
><P
><B
CLASS="COMMAND"
>wbinfo</B
> is a utility 
		that retrieves and stores information related to winbind.
		</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>editreg</SPAN
>(1)</SPAN
></DT
><DD
><P
><B
CLASS="COMMAND"
>editreg</B
> is a command-line
		utility that can edit windows registry files.
		</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>profiles</SPAN
>(1)</SPAN
></DT
><DD
><P
><B
CLASS="COMMAND"
>profiles</B
> is a command-line
		utility that can be used to replace all occurences of 
		a certain SID with another SID.
		</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>vfstest</SPAN
>(1)</SPAN
></DT
><DD
><P
><B
CLASS="COMMAND"
>vfstest</B
> is a utility
		that can be used to test vfs modules.</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>ntlm_auth</SPAN
>(1)</SPAN
></DT
><DD
><P
><B
CLASS="COMMAND"
>ntlm_auth</B
> is a helper-utility
		for external programs wanting to do NTLM-authentication.
		</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smbmount</SPAN
>(8)</SPAN
>, <SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smbumount</SPAN
>(8)</SPAN
>, <SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smbmount</SPAN
>(8)</SPAN
></DT
><DD
><P
><B
CLASS="COMMAND"
>smbmount</B
>,<B
CLASS="COMMAND"
>smbmnt</B
> and <B
CLASS="COMMAND"
>smbmnt</B
> are commands that can be used to 
		mount CIFS/SMB shares on Linux.
		</P
></DD
><DT
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>smbcquotas</SPAN
>(1)</SPAN
></DT
><DD
><P
><B
CLASS="COMMAND"
>smbcquotas</B
> is a tool that 
		can set remote QUOTA's on server with NTFS 5. </P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN260"
></A
><H2
>COMPONENTS</H2
><P
>The Samba suite is made up of several components. Each 
	component is described in a separate manual page. It is strongly 
	recommended that you read the documentation that comes with Samba 
	and the manual pages of those components that you use. If the 
	manual pages and documents aren't clear enough then please visit
	<A
HREF="http://devel.samba.org/"
TARGET="_top"
>http://devel.samba.org</A
>
	for information on how to file a bug report or submit a patch.</P
><P
>If you require help, visit the Samba webpage at
	<A
HREF="http://samba.org/"
TARGET="_top"
>http://www.samba.org/</A
> and
	explore the many option available to you.
	</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN266"
></A
><H2
>AVAILABILITY</H2
><P
>The Samba software suite is licensed under the 
	GNU Public License(GPL). A copy of that license should 
	have come with the package in the file COPYING. You are 
	encouraged to distribute copies of the Samba suite, but 
	please obey the terms of this license.</P
><P
>The latest version of the Samba suite can be 
	obtained via anonymous ftp from samba.org in the
	directory pub/samba/. It is also available on several 
	mirror sites worldwide.</P
><P
>You may also find useful information about Samba 
	on the newsgroup <A
HREF="news:comp.protocols.smb"
TARGET="_top"
>	comp.protocol.smb</A
> and the Samba mailing 
	list. Details on how to join the mailing list are given in 
	the README file that comes with Samba.</P
><P
>If you have access to a WWW viewer (such as Mozilla
	or Konqueror) then you will also find lots of useful information, 
	including back issues of the Samba mailing list, at
	<A
HREF="http://lists.samba.org/"
TARGET="_top"
>http://lists.samba.org</A
>.</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN274"
></A
><H2
>VERSION</H2
><P
>This man page is correct for version 3.0 of the 
	Samba suite. </P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN277"
></A
><H2
>CONTRIBUTIONS</H2
><P
>If you wish to contribute to the Samba project, 
	then I suggest you join the Samba mailing list at 
	<A
HREF="http://lists.samba.org/"
TARGET="_top"
>http://lists.samba.org</A
>.
	</P
><P
>If you have patches to submit, visit
	<A
HREF="http://devel.samba.org/"
TARGET="_top"
>http://devel.samba.org/</A
>
	for information on how to do it properly. We prefer patches 
	in <B
CLASS="COMMAND"
>diff -u</B
> format.</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN284"
></A
><H2
>CONTRIBUTORS</H2
><P
>Contributors to the project are now too numerous 
	to mention here but all deserve the thanks of all Samba 
	users. To see a full list, look at <A
HREF="ftp://samba.org/pub/samba/alpha/change-log"
TARGET="_top"
>	ftp://samba.org/pub/samba/alpha/change-log</A
>
	for the pre-CVS changes and at <A
HREF="ftp://samba.org/pub/samba/alpha/cvs.log"
TARGET="_top"
>	ftp://samba.org/pub/samba/alpha/cvs.log</A
>
	for the contributors to Samba post-CVS. CVS is the Open Source 
	source code control system used by the Samba Team to develop 
	Samba. The project would have been unmanageable without it.</P
><P
>In addition, several commercial organizations now help 
	fund the Samba Team with money and equipment. For details see 
	the Samba Web pages at <A
HREF="http://samba.org/samba/samba-thanks.html"
TARGET="_top"
>	http://samba.org/samba/samba-thanks.html</A
>.</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN291"
></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 man page sources were converted to YODL format (another 
	excellent piece of Open Source software, available at <A
HREF="ftp://ftp.icce.rug.nl/pub/unix/"
TARGET="_top"
>	ftp://ftp.icce.rug.nl/pub/unix/</A
>) and updated for the Samba 2.0 
	release by Jeremy Allison.  The conversion to DocBook for 
	Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML
	4.2 for Samba 3.0 was done by Alexander Bokovoy.</P
></DIV
></BODY
></HTML
>