summaryrefslogtreecommitdiff
path: root/docs/htmldocs/p1346.html
blob: e55856180057b2802f793f2b7138534096e8954d (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
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML
><HEAD
><TITLE
>Optional configuration</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK
REL="HOME"
TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK
REL="PREVIOUS"
TITLE="Samba as a NT4 domain member"
HREF="domain-security.html"><LINK
REL="NEXT"
TITLE="Integrating MS Windows networks with Samba"
HREF="integrate-ms-networks.html"></HEAD
><BODY
CLASS="PART"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>SAMBA Project Documentation</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="domain-security.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="integrate-ms-networks.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="PART"
><A
NAME="AEN1346"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="TITLE"
>III. Optional configuration</H1
><DIV
CLASS="PARTINTRO"
><A
NAME="AEN1348"
></A
><H1
>Introduction</H1
><P
>Samba has several features that you might want or might not want to use. The chapters in this 
part each cover one specific feature.</P
></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>10. <A
HREF="integrate-ms-networks.html"
>Integrating MS Windows networks with Samba</A
></DT
><DD
><DL
><DT
>10.1. <A
HREF="integrate-ms-networks.html#AEN1362"
>Agenda</A
></DT
><DT
>10.2. <A
HREF="integrate-ms-networks.html#AEN1384"
>Name Resolution in a pure Unix/Linux world</A
></DT
><DD
><DL
><DT
>10.2.1. <A
HREF="integrate-ms-networks.html#AEN1400"
><TT
CLASS="FILENAME"
>/etc/hosts</TT
></A
></DT
><DT
>10.2.2. <A
HREF="integrate-ms-networks.html#AEN1416"
><TT
CLASS="FILENAME"
>/etc/resolv.conf</TT
></A
></DT
><DT
>10.2.3. <A
HREF="integrate-ms-networks.html#AEN1427"
><TT
CLASS="FILENAME"
>/etc/host.conf</TT
></A
></DT
><DT
>10.2.4. <A
HREF="integrate-ms-networks.html#AEN1435"
><TT
CLASS="FILENAME"
>/etc/nsswitch.conf</TT
></A
></DT
></DL
></DD
><DT
>10.3. <A
HREF="integrate-ms-networks.html#AEN1447"
>Name resolution as used within MS Windows networking</A
></DT
><DD
><DL
><DT
>10.3.1. <A
HREF="integrate-ms-networks.html#AEN1459"
>The NetBIOS Name Cache</A
></DT
><DT
>10.3.2. <A
HREF="integrate-ms-networks.html#AEN1464"
>The LMHOSTS file</A
></DT
><DT
>10.3.3. <A
HREF="integrate-ms-networks.html#AEN1472"
>HOSTS file</A
></DT
><DT
>10.3.4. <A
HREF="integrate-ms-networks.html#AEN1477"
>DNS Lookup</A
></DT
><DT
>10.3.5. <A
HREF="integrate-ms-networks.html#AEN1480"
>WINS Lookup</A
></DT
></DL
></DD
><DT
>10.4. <A
HREF="integrate-ms-networks.html#AEN1492"
>How browsing functions and how to deploy stable and 
dependable browsing using Samba</A
></DT
><DT
>10.5. <A
HREF="integrate-ms-networks.html#AEN1502"
>MS Windows security options and how to configure 
Samba for seemless integration</A
></DT
><DD
><DL
><DT
>10.5.1. <A
HREF="integrate-ms-networks.html#AEN1530"
>Use MS Windows NT as an authentication server</A
></DT
><DT
>10.5.2. <A
HREF="integrate-ms-networks.html#AEN1538"
>Make Samba a member of an MS Windows NT security domain</A
></DT
><DT
>10.5.3. <A
HREF="integrate-ms-networks.html#AEN1555"
>Configure Samba as an authentication server</A
></DT
></DL
></DD
><DT
>10.6. <A
HREF="integrate-ms-networks.html#AEN1572"
>Conclusions</A
></DT
></DL
></DD
><DT
>11. <A
HREF="unix-permissions.html"
>UNIX Permission Bits and Windows NT Access Control Lists</A
></DT
><DD
><DL
><DT
>11.1. <A
HREF="unix-permissions.html#AEN1593"
>Viewing and changing UNIX permissions using the NT 
	security dialogs</A
></DT
><DT
>11.2. <A
HREF="unix-permissions.html#AEN1602"
>How to view file security on a Samba share</A
></DT
><DT
>11.3. <A
HREF="unix-permissions.html#AEN1613"
>Viewing file ownership</A
></DT
><DT
>11.4. <A
HREF="unix-permissions.html#AEN1633"
>Viewing file or directory permissions</A
></DT
><DD
><DL
><DT
>11.4.1. <A
HREF="unix-permissions.html#AEN1648"
>File Permissions</A
></DT
><DT
>11.4.2. <A
HREF="unix-permissions.html#AEN1662"
>Directory Permissions</A
></DT
></DL
></DD
><DT
>11.5. <A
HREF="unix-permissions.html#AEN1669"
>Modifying file or directory permissions</A
></DT
><DT
>11.6. <A
HREF="unix-permissions.html#AEN1691"
>Interaction with the standard Samba create mask 
	parameters</A
></DT
><DT
>11.7. <A
HREF="unix-permissions.html#AEN1755"
>Interaction with the standard Samba file attribute 
	mapping</A
></DT
></DL
></DD
><DT
>12. <A
HREF="pam.html"
>Configuring PAM for distributed but centrally 
managed authentication</A
></DT
><DD
><DL
><DT
>12.1. <A
HREF="pam.html#AEN1776"
>Samba and PAM</A
></DT
><DT
>12.2. <A
HREF="pam.html#AEN1820"
>Distributed Authentication</A
></DT
><DT
>12.3. <A
HREF="pam.html#AEN1827"
>PAM Configuration in smb.conf</A
></DT
></DL
></DD
><DT
>13. <A
HREF="msdfs.html"
>Hosting a Microsoft Distributed File System tree on Samba</A
></DT
><DD
><DL
><DT
>13.1. <A
HREF="msdfs.html#AEN1847"
>Instructions</A
></DT
><DD
><DL
><DT
>13.1.1. <A
HREF="msdfs.html#AEN1882"
>Notes</A
></DT
></DL
></DD
></DL
></DD
><DT
>14. <A
HREF="printing.html"
>Printing Support</A
></DT
><DD
><DL
><DT
>14.1. <A
HREF="printing.html#AEN1908"
>Introduction</A
></DT
><DT
>14.2. <A
HREF="printing.html#AEN1930"
>Configuration</A
></DT
><DD
><DL
><DT
>14.2.1. <A
HREF="printing.html#AEN1938"
>Creating [print$]</A
></DT
><DT
>14.2.2. <A
HREF="printing.html#AEN1973"
>Setting Drivers for Existing Printers</A
></DT
><DT
>14.2.3. <A
HREF="printing.html#AEN1989"
>Support a large number of printers</A
></DT
><DT
>14.2.4. <A
HREF="printing.html#AEN2000"
>Adding New Printers via the Windows NT APW</A
></DT
><DT
>14.2.5. <A
HREF="printing.html#AEN2030"
>Samba and Printer Ports</A
></DT
></DL
></DD
><DT
>14.3. <A
HREF="printing.html#AEN2038"
>The Imprints Toolset</A
></DT
><DD
><DL
><DT
>14.3.1. <A
HREF="printing.html#AEN2042"
>What is Imprints?</A
></DT
><DT
>14.3.2. <A
HREF="printing.html#AEN2052"
>Creating Printer Driver Packages</A
></DT
><DT
>14.3.3. <A
HREF="printing.html#AEN2055"
>The Imprints server</A
></DT
><DT
>14.3.4. <A
HREF="printing.html#AEN2059"
>The Installation Client</A
></DT
></DL
></DD
><DT
>14.4. <A
HREF="printing.html#AEN2081"
>Diagnosis</A
></DT
><DD
><DL
><DT
>14.4.1. <A
HREF="printing.html#AEN2083"
>Introduction</A
></DT
><DT
>14.4.2. <A
HREF="printing.html#AEN2099"
>Debugging printer problems</A
></DT
><DT
>14.4.3. <A
HREF="printing.html#AEN2108"
>What printers do I have?</A
></DT
><DT
>14.4.4. <A
HREF="printing.html#AEN2116"
>Setting up printcap and print servers</A
></DT
><DT
>14.4.5. <A
HREF="printing.html#AEN2144"
>Job sent, no output</A
></DT
><DT
>14.4.6. <A
HREF="printing.html#AEN2155"
>Job sent, strange output</A
></DT
><DT
>14.4.7. <A
HREF="printing.html#AEN2167"
>Raw PostScript printed</A
></DT
><DT
>14.4.8. <A
HREF="printing.html#AEN2170"
>Advanced Printing</A
></DT
><DT
>14.4.9. <A
HREF="printing.html#AEN2173"
>Real debugging</A
></DT
></DL
></DD
></DL
></DD
><DT
>15. <A
HREF="securitylevels.html"
>Security levels</A
></DT
><DD
><DL
><DT
>15.1. <A
HREF="securitylevels.html#AEN2186"
>Introduction</A
></DT
><DT
>15.2. <A
HREF="securitylevels.html#AEN2197"
>More complete description of security levels</A
></DT
></DL
></DD
><DT
>16. <A
HREF="winbind.html"
>Unified Logons between Windows NT and UNIX using Winbind</A
></DT
><DD
><DL
><DT
>16.1. <A
HREF="winbind.html#AEN2249"
>Abstract</A
></DT
><DT
>16.2. <A
HREF="winbind.html#AEN2253"
>Introduction</A
></DT
><DT
>16.3. <A
HREF="winbind.html#AEN2266"
>What Winbind Provides</A
></DT
><DD
><DL
><DT
>16.3.1. <A
HREF="winbind.html#AEN2273"
>Target Uses</A
></DT
></DL
></DD
><DT
>16.4. <A
HREF="winbind.html#AEN2277"
>How Winbind Works</A
></DT
><DD
><DL
><DT
>16.4.1. <A
HREF="winbind.html#AEN2282"
>Microsoft Remote Procedure Calls</A
></DT
><DT
>16.4.2. <A
HREF="winbind.html#AEN2286"
>Name Service Switch</A
></DT
><DT
>16.4.3. <A
HREF="winbind.html#AEN2302"
>Pluggable Authentication Modules</A
></DT
><DT
>16.4.4. <A
HREF="winbind.html#AEN2310"
>User and Group ID Allocation</A
></DT
><DT
>16.4.5. <A
HREF="winbind.html#AEN2314"
>Result Caching</A
></DT
></DL
></DD
><DT
>16.5. <A
HREF="winbind.html#AEN2317"
>Installation and Configuration</A
></DT
><DD
><DL
><DT
>16.5.1. <A
HREF="winbind.html#AEN2324"
>Introduction</A
></DT
><DT
>16.5.2. <A
HREF="winbind.html#AEN2337"
>Requirements</A
></DT
><DT
>16.5.3. <A
HREF="winbind.html#AEN2351"
>Testing Things Out</A
></DT
></DL
></DD
><DT
>16.6. <A
HREF="winbind.html#AEN2566"
>Limitations</A
></DT
><DT
>16.7. <A
HREF="winbind.html#AEN2576"
>Conclusion</A
></DT
></DL
></DD
><DT
>17. <A
HREF="pdb-mysql.html"
>Passdb MySQL plugin</A
></DT
><DD
><DL
><DT
>17.1. <A
HREF="pdb-mysql.html#AEN2590"
>Building</A
></DT
><DT
>17.2. <A
HREF="pdb-mysql.html#AEN2596"
>Configuring</A
></DT
><DT
>17.3. <A
HREF="pdb-mysql.html#AEN2611"
>Using plaintext passwords or encrypted password</A
></DT
><DT
>17.4. <A
HREF="pdb-mysql.html#AEN2616"
>Getting non-column data from the table</A
></DT
></DL
></DD
><DT
>18. <A
HREF="pdb-xml.html"
>Passdb XML plugin</A
></DT
><DD
><DL
><DT
>18.1. <A
HREF="pdb-xml.html#AEN2635"
>Building</A
></DT
><DT
>18.2. <A
HREF="pdb-xml.html#AEN2641"
>Usage</A
></DT
></DL
></DD
><DT
>19. <A
HREF="samba-ldap-howto.html"
>Storing Samba's User/Machine Account information in an LDAP Directory</A
></DT
><DD
><DL
><DT
>19.1. <A
HREF="samba-ldap-howto.html#AEN2664"
>Purpose</A
></DT
><DT
>19.2. <A
HREF="samba-ldap-howto.html#AEN2684"
>Introduction</A
></DT
><DT
>19.3. <A
HREF="samba-ldap-howto.html#AEN2713"
>Supported LDAP Servers</A
></DT
><DT
>19.4. <A
HREF="samba-ldap-howto.html#AEN2718"
>Schema and Relationship to the RFC 2307 posixAccount</A
></DT
><DT
>19.5. <A
HREF="samba-ldap-howto.html#AEN2730"
>Configuring Samba with LDAP</A
></DT
><DD
><DL
><DT
>19.5.1. <A
HREF="samba-ldap-howto.html#AEN2732"
>OpenLDAP configuration</A
></DT
><DT
>19.5.2. <A
HREF="samba-ldap-howto.html#AEN2749"
>Configuring Samba</A
></DT
></DL
></DD
><DT
>19.6. <A
HREF="samba-ldap-howto.html#AEN2777"
>Accounts and Groups management</A
></DT
><DT
>19.7. <A
HREF="samba-ldap-howto.html#AEN2782"
>Security and sambaAccount</A
></DT
><DT
>19.8. <A
HREF="samba-ldap-howto.html#AEN2802"
>LDAP specials attributes for sambaAccounts</A
></DT
><DT
>19.9. <A
HREF="samba-ldap-howto.html#AEN2872"
>Example LDIF Entries for a sambaAccount</A
></DT
><DT
>19.10. <A
HREF="samba-ldap-howto.html#AEN2880"
>Comments</A
></DT
></DL
></DD
><DT
>20. <A
HREF="cvs-access.html"
>HOWTO Access Samba source code via CVS</A
></DT
><DD
><DL
><DT
>20.1. <A
HREF="cvs-access.html#AEN2891"
>Introduction</A
></DT
><DT
>20.2. <A
HREF="cvs-access.html#AEN2896"
>CVS Access to samba.org</A
></DT
><DD
><DL
><DT
>20.2.1. <A
HREF="cvs-access.html#AEN2899"
>Access via CVSweb</A
></DT
><DT
>20.2.2. <A
HREF="cvs-access.html#AEN2904"
>Access via cvs</A
></DT
></DL
></DD
></DL
></DD
><DT
>21. <A
HREF="groupmapping.html"
>Group mapping HOWTO</A
></DT
><DT
>22. <A
HREF="speed.html"
>Samba performance issues</A
></DT
><DD
><DL
><DT
>22.1. <A
HREF="speed.html#AEN2982"
>Comparisons</A
></DT
><DT
>22.2. <A
HREF="speed.html#AEN2988"
>Oplocks</A
></DT
><DD
><DL
><DT
>22.2.1. <A
HREF="speed.html#AEN2990"
>Overview</A
></DT
><DT
>22.2.2. <A
HREF="speed.html#AEN2998"
>Level2 Oplocks</A
></DT
><DT
>22.2.3. <A
HREF="speed.html#AEN3004"
>Old 'fake oplocks' option - deprecated</A
></DT
></DL
></DD
><DT
>22.3. <A
HREF="speed.html#AEN3008"
>Socket options</A
></DT
><DT
>22.4. <A
HREF="speed.html#AEN3015"
>Read size</A
></DT
><DT
>22.5. <A
HREF="speed.html#AEN3020"
>Max xmit</A
></DT
><DT
>22.6. <A
HREF="speed.html#AEN3025"
>Locking</A
></DT
><DT
>22.7. <A
HREF="speed.html#AEN3029"
>Share modes</A
></DT
><DT
>22.8. <A
HREF="speed.html#AEN3034"
>Log level</A
></DT
><DT
>22.9. <A
HREF="speed.html#AEN3037"
>Wide lines</A
></DT
><DT
>22.10. <A
HREF="speed.html#AEN3040"
>Read raw</A
></DT
><DT
>22.11. <A
HREF="speed.html#AEN3045"
>Write raw</A
></DT
><DT
>22.12. <A
HREF="speed.html#AEN3049"
>Read prediction</A
></DT
><DT
>22.13. <A
HREF="speed.html#AEN3056"
>Memory mapping</A
></DT
><DT
>22.14. <A
HREF="speed.html#AEN3061"
>Slow Clients</A
></DT
><DT
>22.15. <A
HREF="speed.html#AEN3065"
>Slow Logins</A
></DT
><DT
>22.16. <A
HREF="speed.html#AEN3068"
>Client tuning</A
></DT
><DT
>22.17. <A
HREF="speed.html#AEN3100"
>My Results</A
></DT
></DL
></DD
></DL
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="domain-security.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="samba-howto-collection.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="integrate-ms-networks.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Samba as a NT4 domain member</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Integrating MS Windows networks with Samba</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>