1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
5 >SAMBA Project Documentation</TITLE
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
11 TITLE="How to Install and Test SAMBA"
12 HREF="install.html"></HEAD
23 NAME="SAMBA-PROJECT-DOCUMENTATION"><DIV
28 NAME="SAMBA-PROJECT-DOCUMENTATION">SAMBA Project Documentation</H1
32 NAME="AEN4">SAMBA Team</H3
36 NAME="AEN8">Abstract</H1
44 > : Thu Aug 15 12:48:45 CDT 2002</P
46 >This book is a collection of HOWTOs added to Samba documentation over the years.
47 I try to ensure that all are current, but sometimes the is a larger job
48 than one person can maintain. The most recent version of this document
50 HREF="http://www.samba.org/"
52 >http://www.samba.org/</A
54 on the "Documentation" page. Please send updates to <A
55 HREF="mailto:jerry@samba.org"
60 >This documentation is distributed under the GNU General Public License (GPL)
61 version 2. A copy of the license is included with the Samba source
62 distribution. A copy can be found on-line at <A
63 HREF="http://www.fsf.org/licenses/gpl.txt"
65 >http://www.fsf.org/licenses/gpl.txt</A
79 >How to Install and Test SAMBA</A
85 HREF="install.html#AEN20"
86 >Step 0: Read the man pages</A
90 HREF="install.html#AEN28"
91 >Step 1: Building the Binaries</A
95 HREF="install.html#AEN56"
96 >Step 2: The all important step</A
100 HREF="install.html#AEN60"
101 >Step 3: Create the smb configuration file.</A
105 HREF="install.html#AEN74"
106 >Step 4: Test your config file with
114 HREF="install.html#AEN80"
115 >Step 5: Starting the smbd and nmbd</A
121 HREF="install.html#AEN90"
122 >Step 5a: Starting from inetd.conf</A
126 HREF="install.html#AEN119"
127 >Step 5b. Alternative: starting it as a daemon</A
133 HREF="install.html#AEN135"
134 >Step 6: Try listing the shares available on your
139 HREF="install.html#AEN144"
140 >Step 7: Try connecting with the unix client</A
144 HREF="install.html#AEN160"
145 >Step 8: Try connecting from a DOS, WfWg, Win9x, WinNT,
146 Win2k, OS/2, etc... client</A
150 HREF="install.html#AEN174"
151 >What If Things Don't Work?</A
157 HREF="install.html#AEN179"
158 >Diagnosing Problems</A
162 HREF="install.html#AEN183"
167 HREF="install.html#AEN186"
168 >Choosing the Protocol Level</A
172 HREF="install.html#AEN195"
173 >Printing from UNIX to a Client PC</A
177 HREF="install.html#AEN200"
182 HREF="install.html#AEN209"
183 >Mapping Usernames</A
191 HREF="diagnosis.html"
192 >Diagnosing your samba server</A
198 HREF="diagnosis.html#AEN223"
203 HREF="diagnosis.html#AEN228"
208 HREF="diagnosis.html#AEN238"
215 HREF="diagnosis.html#AEN240"
220 HREF="diagnosis.html#AEN246"
225 HREF="diagnosis.html#AEN252"
230 HREF="diagnosis.html#AEN267"
235 HREF="diagnosis.html#AEN272"
240 HREF="diagnosis.html#AEN278"
245 HREF="diagnosis.html#AEN286"
250 HREF="diagnosis.html#AEN312"
255 HREF="diagnosis.html#AEN329"
260 HREF="diagnosis.html#AEN334"
265 HREF="diagnosis.html#AEN340"
272 HREF="diagnosis.html#AEN345"
273 >Still having troubles?</A
279 HREF="integrate-ms-networks.html"
280 >Integrating MS Windows networks with Samba</A
286 HREF="integrate-ms-networks.html#AEN362"
291 HREF="integrate-ms-networks.html#AEN384"
292 >Name Resolution in a pure Unix/Linux world</A
298 HREF="integrate-ms-networks.html#AEN400"
306 HREF="integrate-ms-networks.html#AEN416"
309 >/etc/resolv.conf</TT
314 HREF="integrate-ms-networks.html#AEN427"
322 HREF="integrate-ms-networks.html#AEN435"
325 >/etc/nsswitch.conf</TT
332 HREF="integrate-ms-networks.html#AEN447"
333 >Name resolution as used within MS Windows networking</A
339 HREF="integrate-ms-networks.html#AEN459"
340 >The NetBIOS Name Cache</A
344 HREF="integrate-ms-networks.html#AEN464"
349 HREF="integrate-ms-networks.html#AEN472"
354 HREF="integrate-ms-networks.html#AEN477"
359 HREF="integrate-ms-networks.html#AEN480"
366 HREF="integrate-ms-networks.html#AEN492"
367 >How browsing functions and how to deploy stable and
368 dependable browsing using Samba</A
372 HREF="integrate-ms-networks.html#AEN502"
373 >MS Windows security options and how to configure
374 Samba for seemless integration</A
380 HREF="integrate-ms-networks.html#AEN530"
381 >Use MS Windows NT as an authentication server</A
385 HREF="integrate-ms-networks.html#AEN538"
386 >Make Samba a member of an MS Windows NT security domain</A
390 HREF="integrate-ms-networks.html#AEN555"
391 >Configure Samba as an authentication server</A
397 HREF="integrate-ms-networks.html#AEN572"
405 >Configuring PAM for distributed but centrally
406 managed authentication</A
412 HREF="pam.html#AEN593"
417 HREF="pam.html#AEN637"
418 >Distributed Authentication</A
422 HREF="pam.html#AEN644"
423 >PAM Configuration in smb.conf</A
430 >Hosting a Microsoft Distributed File System tree on Samba</A
436 HREF="msdfs.html#AEN664"
443 HREF="msdfs.html#AEN699"
452 HREF="unix-permissions.html"
453 >UNIX Permission Bits and Windows NT Access Control Lists</A
459 HREF="unix-permissions.html#AEN719"
460 >Viewing and changing UNIX permissions using the NT
465 HREF="unix-permissions.html#AEN728"
466 >How to view file security on a Samba share</A
470 HREF="unix-permissions.html#AEN739"
471 >Viewing file ownership</A
475 HREF="unix-permissions.html#AEN759"
476 >Viewing file or directory permissions</A
482 HREF="unix-permissions.html#AEN774"
487 HREF="unix-permissions.html#AEN788"
488 >Directory Permissions</A
494 HREF="unix-permissions.html#AEN795"
495 >Modifying file or directory permissions</A
499 HREF="unix-permissions.html#AEN817"
500 >Interaction with the standard Samba create mask
505 HREF="unix-permissions.html#AEN881"
506 >Interaction with the standard Samba file attribute
514 >Printing Support in Samba 2.2.x</A
520 HREF="printing.html#AEN902"
525 HREF="printing.html#AEN924"
532 HREF="printing.html#AEN935"
533 >Creating [print$]</A
537 HREF="printing.html#AEN970"
538 >Setting Drivers for Existing Printers</A
542 HREF="printing.html#AEN987"
543 >Support a large number of printers</A
547 HREF="printing.html#AEN998"
548 >Adding New Printers via the Windows NT APW</A
552 HREF="printing.html#AEN1028"
553 >Samba and Printer Ports</A
559 HREF="printing.html#AEN1036"
560 >The Imprints Toolset</A
566 HREF="printing.html#AEN1040"
567 >What is Imprints?</A
571 HREF="printing.html#AEN1050"
572 >Creating Printer Driver Packages</A
576 HREF="printing.html#AEN1053"
577 >The Imprints server</A
581 HREF="printing.html#AEN1057"
582 >The Installation Client</A
588 HREF="printing.html#AEN1079"
592 >Migration to from Samba 2.0.x to 2.2.x</A
598 HREF="printingdebug.html"
599 >Debugging Printing Problems</A
605 HREF="printingdebug.html#AEN1125"
610 HREF="printingdebug.html#AEN1141"
611 >Debugging printer problems</A
615 HREF="printingdebug.html#AEN1150"
616 >What printers do I have?</A
620 HREF="printingdebug.html#AEN1158"
621 >Setting up printcap and print servers</A
625 HREF="printingdebug.html#AEN1186"
626 >Job sent, no output</A
630 HREF="printingdebug.html#AEN1197"
631 >Job sent, strange output</A
635 HREF="printingdebug.html#AEN1209"
636 >Raw PostScript printed</A
640 HREF="printingdebug.html#AEN1212"
641 >Advanced Printing</A
645 HREF="printingdebug.html#AEN1215"
652 HREF="securitylevels.html"
659 HREF="securitylevels.html#AEN1228"
664 HREF="securitylevels.html#AEN1239"
665 >More complete description of security levels</A
671 HREF="domain-security.html"
672 >security = domain in Samba 2.x</A
678 HREF="domain-security.html#AEN1272"
679 >Joining an NT Domain with Samba 2.2</A
683 HREF="domain-security.html#AEN1336"
684 >Samba and Windows 2000 Domains</A
688 HREF="domain-security.html#AEN1341"
689 >Why is this better than security = server?</A
696 >Unified Logons between Windows NT and UNIX using Winbind</A
702 HREF="winbind.html#AEN1394"
707 HREF="winbind.html#AEN1398"
712 HREF="winbind.html#AEN1411"
713 >What Winbind Provides</A
719 HREF="winbind.html#AEN1418"
726 HREF="winbind.html#AEN1422"
727 >How Winbind Works</A
733 HREF="winbind.html#AEN1427"
734 >Microsoft Remote Procedure Calls</A
738 HREF="winbind.html#AEN1431"
739 >Name Service Switch</A
743 HREF="winbind.html#AEN1447"
744 >Pluggable Authentication Modules</A
748 HREF="winbind.html#AEN1455"
749 >User and Group ID Allocation</A
753 HREF="winbind.html#AEN1459"
760 HREF="winbind.html#AEN1462"
761 >Installation and Configuration</A
767 HREF="winbind.html#AEN1469"
772 HREF="winbind.html#AEN1482"
777 HREF="winbind.html#AEN1496"
778 >Testing Things Out</A
784 HREF="winbind.html#AEN1711"
789 HREF="winbind.html#AEN1721"
796 HREF="samba-pdc.html"
797 >How to Configure Samba 2.2 as a Primary Domain Controller</A
803 HREF="samba-pdc.html#AEN1741"
804 >Prerequisite Reading</A
808 HREF="samba-pdc.html#AEN1747"
813 HREF="samba-pdc.html#AEN1786"
814 >Configuring the Samba Domain Controller</A
818 HREF="samba-pdc.html#AEN1829"
819 >Creating Machine Trust Accounts and Joining Clients to the
826 HREF="samba-pdc.html#AEN1848"
827 >Manual Creation of Machine Trust Accounts</A
831 HREF="samba-pdc.html#AEN1883"
832 >"On-the-Fly" Creation of Machine Trust Accounts</A
836 HREF="samba-pdc.html#AEN1892"
837 >Joining the Client to the Domain</A
843 HREF="samba-pdc.html#AEN1907"
844 >Common Problems and Errors</A
848 HREF="samba-pdc.html#AEN1955"
849 >System Policies and Profiles</A
853 HREF="samba-pdc.html#AEN1999"
854 >What other help can I get?</A
858 HREF="samba-pdc.html#AEN2113"
859 >Domain Control for Windows 9x/ME</A
865 HREF="samba-pdc.html#AEN2139"
866 >Configuration Instructions: Network Logons</A
870 HREF="samba-pdc.html#AEN2158"
871 >Configuration Instructions: Setting up Roaming User Profiles</A
877 HREF="samba-pdc.html#AEN2251"
878 >DOMAIN_CONTROL.txt : Windows NT Domain Control & Samba</A
884 HREF="samba-bdc.html"
885 >How to Act as a Backup Domain Controller in a Purely Samba Controlled Domain</A
891 HREF="samba-bdc.html#AEN2287"
892 >Prerequisite Reading</A
896 HREF="samba-bdc.html#AEN2291"
901 HREF="samba-bdc.html#AEN2299"
902 >What qualifies a Domain Controller on the network?</A
908 HREF="samba-bdc.html#AEN2302"
909 >How does a Workstation find its domain controller?</A
913 HREF="samba-bdc.html#AEN2305"
914 >When is the PDC needed?</A
920 HREF="samba-bdc.html#AEN2308"
921 >Can Samba be a Backup Domain Controller?</A
925 HREF="samba-bdc.html#AEN2312"
926 >How do I set up a Samba BDC?</A
932 HREF="samba-bdc.html#AEN2329"
933 >How do I replicate the smbpasswd file?</A
941 HREF="samba-ldap-howto.html"
942 >Storing Samba's User/Machine Account information in an LDAP Directory</A
948 HREF="samba-ldap-howto.html#AEN2350"
953 HREF="samba-ldap-howto.html#AEN2370"
958 HREF="samba-ldap-howto.html#AEN2399"
959 >Supported LDAP Servers</A
963 HREF="samba-ldap-howto.html#AEN2404"
964 >Schema and Relationship to the RFC 2307 posixAccount</A
968 HREF="samba-ldap-howto.html#AEN2416"
969 >Configuring Samba with LDAP</A
975 HREF="samba-ldap-howto.html#AEN2418"
976 >OpenLDAP configuration</A
980 HREF="samba-ldap-howto.html#AEN2435"
981 >Configuring Samba</A
987 HREF="samba-ldap-howto.html#AEN2463"
988 >Accounts and Groups management</A
992 HREF="samba-ldap-howto.html#AEN2468"
993 >Security and sambaAccount</A
997 HREF="samba-ldap-howto.html#AEN2488"
998 >LDAP specials attributes for sambaAccounts</A
1002 HREF="samba-ldap-howto.html#AEN2558"
1003 >Example LDIF Entries for a sambaAccount</A
1007 HREF="samba-ldap-howto.html#AEN2566"
1014 HREF="improved-browsing.html"
1015 >Improved browsing in samba</A
1021 HREF="improved-browsing.html#AEN2577"
1022 >Overview of browsing</A
1026 HREF="improved-browsing.html#AEN2581"
1027 >Browsing support in samba</A
1031 HREF="improved-browsing.html#AEN2590"
1032 >Problem resolution</A
1036 HREF="improved-browsing.html#AEN2597"
1037 >Browsing across subnets</A
1043 HREF="improved-browsing.html#AEN2602"
1044 >How does cross subnet browsing work ?</A
1050 HREF="improved-browsing.html#AEN2637"
1051 >Setting up a WINS server</A
1055 HREF="improved-browsing.html#AEN2656"
1056 >Setting up Browsing in a WORKGROUP</A
1060 HREF="improved-browsing.html#AEN2674"
1061 >Setting up Browsing in a DOMAIN</A
1065 HREF="improved-browsing.html#AEN2684"
1066 >Forcing samba to be the master</A
1070 HREF="improved-browsing.html#AEN2693"
1071 >Making samba the domain master</A
1075 HREF="improved-browsing.html#AEN2711"
1076 >Note about broadcast addresses</A
1080 HREF="improved-browsing.html#AEN2714"
1081 >Multiple interfaces</A
1088 >Samba performance issues</A
1094 HREF="speed.html#AEN2732"
1099 HREF="speed.html#AEN2738"
1106 HREF="speed.html#AEN2740"
1111 HREF="speed.html#AEN2748"
1116 HREF="speed.html#AEN2754"
1117 >Old 'fake oplocks' option - deprecated</A
1123 HREF="speed.html#AEN2758"
1128 HREF="speed.html#AEN2765"
1133 HREF="speed.html#AEN2770"
1138 HREF="speed.html#AEN2775"
1143 HREF="speed.html#AEN2779"
1148 HREF="speed.html#AEN2784"
1153 HREF="speed.html#AEN2787"
1158 HREF="speed.html#AEN2790"
1163 HREF="speed.html#AEN2795"
1168 HREF="speed.html#AEN2799"
1173 HREF="speed.html#AEN2806"
1178 HREF="speed.html#AEN2811"
1183 HREF="speed.html#AEN2815"
1188 HREF="speed.html#AEN2818"
1193 HREF="speed.html#AEN2850"
1200 HREF="other-clients.html"
1201 >Samba and other CIFS clients</A
1207 HREF="other-clients.html#AEN2871"
1208 >Macintosh clients?</A
1212 HREF="other-clients.html#AEN2880"
1219 HREF="other-clients.html#AEN2882"
1220 >How can I configure OS/2 Warp Connect or
1221 OS/2 Warp 4 as a client for Samba?</A
1225 HREF="other-clients.html#AEN2897"
1226 >How can I configure OS/2 Warp 3 (not Connect),
1227 OS/2 1.2, 1.3 or 2.x for Samba?</A
1231 HREF="other-clients.html#AEN2906"
1232 >Are there any other issues when OS/2 (any version)
1233 is used as a client?</A
1237 HREF="other-clients.html#AEN2910"
1238 >How do I get printer driver download working
1239 for OS/2 clients?</A
1245 HREF="other-clients.html#AEN2920"
1246 >Windows for Workgroups</A
1252 HREF="other-clients.html#AEN2922"
1253 >Use latest TCP/IP stack from Microsoft</A
1257 HREF="other-clients.html#AEN2927"
1258 >Delete .pwl files after password change</A
1262 HREF="other-clients.html#AEN2932"
1263 >Configure WfW password handling</A
1267 HREF="other-clients.html#AEN2936"
1268 >Case handling of passwords</A
1274 HREF="other-clients.html#AEN2941"
1279 HREF="other-clients.html#AEN2957"
1280 >Windows 2000 Service Pack 2</A
1286 HREF="cvs-access.html"
1287 >HOWTO Access Samba source code via CVS</A
1293 HREF="cvs-access.html#AEN2981"
1298 HREF="cvs-access.html#AEN2986"
1299 >CVS Access to samba.org</A
1305 HREF="cvs-access.html#AEN2989"
1306 >Access via CVSweb</A
1310 HREF="cvs-access.html#AEN2994"
1319 HREF="bugreport.html"
1326 HREF="bugreport.html#AEN3029"
1331 HREF="bugreport.html#AEN3036"
1336 HREF="bugreport.html#AEN3042"
1341 HREF="bugreport.html#AEN3059"
1346 HREF="bugreport.html#AEN3069"
1347 >Attaching to a running process</A
1351 HREF="bugreport.html#AEN3072"
1358 HREF="groupmapping.html"
1359 >Group mapping HOWTO</A
1363 HREF="portability.html"
1370 HREF="portability.html#AEN3119"
1375 HREF="portability.html#AEN3124"
1380 HREF="portability.html#AEN3128"
1393 SUMMARY="Footer navigation table"
1434 >How to Install and Test SAMBA</TD