<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >SAMBA Project Documentation</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="NEXT" TITLE="General installation" HREF="introduction.html"></HEAD ><BODY CLASS="BOOK" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="BOOK" ><A NAME="SAMBA-HOWTO-COLLECTION" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="TITLE" ><A NAME="SAMBA-HOWTO-COLLECTION" >SAMBA Project Documentation</A ></H1 ><H3 CLASS="AUTHOR" ><A NAME="AEN4" ></A >SAMBA Team</H3 ><HR></DIV ><H1 ><A NAME="AEN8" ></A >Abstract</H1 ><P ><SPAN CLASS="emphasis" ><I CLASS="EMPHASIS" >Last Update</I ></SPAN > : Wed Jan 15</P ><P >This book is a collection of HOWTOs added to Samba documentation over the years. I try to ensure that all are current, but sometimes the is a larger job than one person can maintain. The most recent version of this document can be found at <A HREF="http://www.samba.org/" TARGET="_top" >http://www.samba.org/</A > on the "Documentation" page. Please send updates to <A HREF="mailto:jerry@samba.org" TARGET="_top" >jerry@samba.org</A > or <A HREF="mailto:jelmer@samba.org" TARGET="_top" >jelmer@samba.org</A >.</P ><P >This documentation is distributed under the GNU General Public License (GPL) version 2. A copy of the license is included with the Samba source distribution. A copy can be found on-line at <A HREF="http://www.fsf.org/licenses/gpl.txt" TARGET="_top" >http://www.fsf.org/licenses/gpl.txt</A ></P ><P >Cheers, jerry</P ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT >I. <A HREF="introduction.html" >General installation</A ></DT ><DD ><DL ><DT >1. <A HREF="install.html" >How to Install and Test SAMBA</A ></DT ><DD ><DL ><DT >1.1. <A HREF="install.html#AEN26" >Obtaining and installing samba</A ></DT ><DT >1.2. <A HREF="install.html#AEN31" >Configuring samba</A ></DT ><DT >1.3. <A HREF="install.html#AEN64" >Try listing the shares available on your server</A ></DT ><DT >1.4. <A HREF="install.html#AEN73" >Try connecting with the unix client</A ></DT ><DT >1.5. <A HREF="install.html#AEN89" >Try connecting from a DOS, WfWg, Win9x, WinNT, Win2k, OS/2, etc... client</A ></DT ><DT >1.6. <A HREF="install.html#AEN103" >What If Things Don't Work?</A ></DT ></DL ></DD ><DT >2. <A HREF="browsing-quick.html" >Quick Cross Subnet Browsing / Cross Workgroup Browsing guide</A ></DT ><DD ><DL ><DT >2.1. <A HREF="browsing-quick.html#AEN130" >Discussion</A ></DT ><DT >2.2. <A HREF="browsing-quick.html#AEN139" >Use of the "Remote Announce" parameter</A ></DT ><DT >2.3. <A HREF="browsing-quick.html#AEN153" >Use of the "Remote Browse Sync" parameter</A ></DT ><DT >2.4. <A HREF="browsing-quick.html#AEN158" >Use of WINS</A ></DT ><DT >2.5. <A HREF="browsing-quick.html#AEN169" >Do NOT use more than one (1) protocol on MS Windows machines</A ></DT ><DT >2.6. <A HREF="browsing-quick.html#AEN177" >Name Resolution Order</A ></DT ></DL ></DD ><DT >3. <A HREF="passdb.html" >User information database</A ></DT ><DD ><DL ><DT >3.1. <A HREF="passdb.html#AEN227" >Introduction</A ></DT ><DT >3.2. <A HREF="passdb.html#AEN234" >Important Notes About Security</A ></DT ><DT >3.3. <A HREF="passdb.html#AEN260" >The smbpasswd Command</A ></DT ><DT >3.4. <A HREF="passdb.html#AEN291" >Plain text</A ></DT ><DT >3.5. <A HREF="passdb.html#AEN296" >TDB</A ></DT ><DT >3.6. <A HREF="passdb.html#AEN299" >LDAP</A ></DT ><DT >3.7. <A HREF="passdb.html#AEN517" >MySQL</A ></DT ><DT >3.8. <A HREF="passdb.html#AEN565" >Passdb XML plugin</A ></DT ></DL ></DD ></DL ></DD ><DT >II. <A HREF="type.html" >Type of installation</A ></DT ><DD ><DL ><DT >4. <A HREF="securitylevels.html" >User and Share security level (for servers not in a domain)</A ></DT ><DT >5. <A HREF="samba-pdc.html" >Samba as a NT4 or Win2k Primary Domain Controller</A ></DT ><DD ><DL ><DT >5.1. <A HREF="samba-pdc.html#AEN625" >Prerequisite Reading</A ></DT ><DT >5.2. <A HREF="samba-pdc.html#AEN631" >Background</A ></DT ><DT >5.3. <A HREF="samba-pdc.html#AEN670" >Configuring the Samba Domain Controller</A ></DT ><DT >5.4. <A HREF="samba-pdc.html#AEN713" >Creating Machine Trust Accounts and Joining Clients to the Domain</A ></DT ><DT >5.5. <A HREF="samba-pdc.html#AEN797" >Common Problems and Errors</A ></DT ><DT >5.6. <A HREF="samba-pdc.html#AEN845" >System Policies and Profiles</A ></DT ><DT >5.7. <A HREF="samba-pdc.html#AEN889" >What other help can I get?</A ></DT ><DT >5.8. <A HREF="samba-pdc.html#AEN1003" >Domain Control for Windows 9x/ME</A ></DT ><DT >5.9. <A HREF="samba-pdc.html#AEN1141" >DOMAIN_CONTROL.txt : Windows NT Domain Control & Samba</A ></DT ></DL ></DD ><DT >6. <A HREF="samba-bdc.html" >How to Act as a Backup Domain Controller in a Purely Samba Controlled Domain</A ></DT ><DD ><DL ><DT >6.1. <A HREF="samba-bdc.html#AEN1177" >Prerequisite Reading</A ></DT ><DT >6.2. <A HREF="samba-bdc.html#AEN1181" >Background</A ></DT ><DT >6.3. <A HREF="samba-bdc.html#AEN1189" >What qualifies a Domain Controller on the network?</A ></DT ><DT >6.4. <A HREF="samba-bdc.html#AEN1198" >Can Samba be a Backup Domain Controller to an NT PDC?</A ></DT ><DT >6.5. <A HREF="samba-bdc.html#AEN1203" >How do I set up a Samba BDC?</A ></DT ></DL ></DD ><DT >7. <A HREF="ads.html" >Samba as a ADS domain member</A ></DT ><DD ><DL ><DT >7.1. <A HREF="ads.html#AEN1242" >Installing the required packages for Debian</A ></DT ><DT >7.2. <A HREF="ads.html#AEN1249" >Installing the required packages for RedHat</A ></DT ><DT >7.3. <A HREF="ads.html#AEN1259" >Compile Samba</A ></DT ><DT >7.4. <A HREF="ads.html#AEN1274" >Setup your /etc/krb5.conf</A ></DT ><DT >7.5. <A HREF="ads.html#AEN1284" >Create the computer account</A ></DT ><DT >7.6. <A HREF="ads.html#AEN1296" >Test your server setup</A ></DT ><DT >7.7. <A HREF="ads.html#AEN1301" >Testing with smbclient</A ></DT ><DT >7.8. <A HREF="ads.html#AEN1304" >Notes</A ></DT ></DL ></DD ><DT >8. <A HREF="domain-security.html" >Samba as a NT4 or Win2k domain member</A ></DT ><DD ><DL ><DT >8.1. <A HREF="domain-security.html#AEN1326" >Joining an NT Domain with Samba 3.0</A ></DT ><DT >8.2. <A HREF="domain-security.html#AEN1381" >Samba and Windows 2000 Domains</A ></DT ><DT >8.3. <A HREF="domain-security.html#AEN1384" >Why is this better than security = server?</A ></DT ></DL ></DD ></DL ></DD ><DT >III. <A HREF="optional.html" >Optional configuration</A ></DT ><DD ><DL ><DT >9. <A HREF="integrate-ms-networks.html" >Integrating MS Windows networks with Samba</A ></DT ><DD ><DL ><DT >9.1. <A HREF="integrate-ms-networks.html#AEN1416" >Agenda</A ></DT ><DT >9.2. <A HREF="integrate-ms-networks.html#AEN1438" >Name Resolution in a pure Unix/Linux world</A ></DT ><DT >9.3. <A HREF="integrate-ms-networks.html#AEN1501" >Name resolution as used within MS Windows networking</A ></DT ><DT >9.4. <A HREF="integrate-ms-networks.html#AEN1546" >How browsing functions and how to deploy stable and dependable browsing using Samba</A ></DT ><DT >9.5. <A HREF="integrate-ms-networks.html#AEN1556" >MS Windows security options and how to configure Samba for seemless integration</A ></DT ><DT >9.6. <A HREF="integrate-ms-networks.html#AEN1626" >Conclusions</A ></DT ></DL ></DD ><DT >10. <A HREF="unix-permissions.html" >UNIX Permission Bits and Windows NT Access Control Lists</A ></DT ><DD ><DL ><DT >10.1. <A HREF="unix-permissions.html#AEN1647" >Viewing and changing UNIX permissions using the NT security dialogs</A ></DT ><DT >10.2. <A HREF="unix-permissions.html#AEN1651" >How to view file security on a Samba share</A ></DT ><DT >10.3. <A HREF="unix-permissions.html#AEN1662" >Viewing file ownership</A ></DT ><DT >10.4. <A HREF="unix-permissions.html#AEN1682" >Viewing file or directory permissions</A ></DT ><DT >10.5. <A HREF="unix-permissions.html#AEN1718" >Modifying file or directory permissions</A ></DT ><DT >10.6. <A HREF="unix-permissions.html#AEN1740" >Interaction with the standard Samba create mask parameters</A ></DT ><DT >10.7. <A HREF="unix-permissions.html#AEN1804" >Interaction with the standard Samba file attribute mapping</A ></DT ></DL ></DD ><DT >11. <A HREF="pam.html" >Configuring PAM for distributed but centrally managed authentication</A ></DT ><DD ><DL ><DT >11.1. <A HREF="pam.html#AEN1825" >Samba and PAM</A ></DT ><DT >11.2. <A HREF="pam.html#AEN1869" >Distributed Authentication</A ></DT ><DT >11.3. <A HREF="pam.html#AEN1876" >PAM Configuration in smb.conf</A ></DT ></DL ></DD ><DT >12. <A HREF="msdfs.html" >Hosting a Microsoft Distributed File System tree on Samba</A ></DT ><DD ><DL ><DT >12.1. <A HREF="msdfs.html#AEN1896" >Instructions</A ></DT ></DL ></DD ><DT >13. <A HREF="printing.html" >Printing Support</A ></DT ><DD ><DL ><DT >13.1. <A HREF="printing.html#AEN1957" >Introduction</A ></DT ><DT >13.2. <A HREF="printing.html#AEN1979" >Configuration</A ></DT ><DT >13.3. <A HREF="printing.html#AEN2087" >The Imprints Toolset</A ></DT ><DT >13.4. <A HREF="printing.html#AEN2130" >Diagnosis</A ></DT ></DL ></DD ><DT >14. <A HREF="winbind.html" >Unified Logons between Windows NT and UNIX using Winbind</A ></DT ><DD ><DL ><DT >14.1. <A HREF="winbind.html#AEN2263" >Abstract</A ></DT ><DT >14.2. <A HREF="winbind.html#AEN2267" >Introduction</A ></DT ><DT >14.3. <A HREF="winbind.html#AEN2280" >What Winbind Provides</A ></DT ><DT >14.4. <A HREF="winbind.html#AEN2291" >How Winbind Works</A ></DT ><DT >14.5. <A HREF="winbind.html#AEN2334" >Installation and Configuration</A ></DT ><DT >14.6. <A HREF="winbind.html#AEN2583" >Limitations</A ></DT ><DT >14.7. <A HREF="winbind.html#AEN2593" >Conclusion</A ></DT ></DL ></DD ><DT >15. <A HREF="improved-browsing.html" >Improved browsing in samba</A ></DT ><DD ><DL ><DT >15.1. <A HREF="improved-browsing.html#AEN2603" >Overview of browsing</A ></DT ><DT >15.2. <A HREF="improved-browsing.html#AEN2608" >Browsing support in samba</A ></DT ><DT >15.3. <A HREF="improved-browsing.html#AEN2616" >Problem resolution</A ></DT ><DT >15.4. <A HREF="improved-browsing.html#AEN2625" >Browsing across subnets</A ></DT ><DT >15.5. <A HREF="improved-browsing.html#AEN2665" >Setting up a WINS server</A ></DT ><DT >15.6. <A HREF="improved-browsing.html#AEN2684" >Setting up Browsing in a WORKGROUP</A ></DT ><DT >15.7. <A HREF="improved-browsing.html#AEN2702" >Setting up Browsing in a DOMAIN</A ></DT ><DT >15.8. <A HREF="improved-browsing.html#AEN2712" >Forcing samba to be the master</A ></DT ><DT >15.9. <A HREF="improved-browsing.html#AEN2721" >Making samba the domain master</A ></DT ><DT >15.10. <A HREF="improved-browsing.html#AEN2739" >Note about broadcast addresses</A ></DT ><DT >15.11. <A HREF="improved-browsing.html#AEN2742" >Multiple interfaces</A ></DT ></DL ></DD ><DT >16. <A HREF="vfs.html" >Stackable VFS modules</A ></DT ><DD ><DL ><DT >16.1. <A HREF="vfs.html#AEN2760" >Introduction and configuration</A ></DT ><DT >16.2. <A HREF="vfs.html#AEN2769" >Included modules</A ></DT ><DT >16.3. <A HREF="vfs.html#AEN2823" >VFS modules available elsewhere</A ></DT ></DL ></DD ><DT >17. <A HREF="groupmapping.html" >Group mapping HOWTO</A ></DT ><DT >18. <A HREF="speed.html" >Samba performance issues</A ></DT ><DD ><DL ><DT >18.1. <A HREF="speed.html#AEN2890" >Comparisons</A ></DT ><DT >18.2. <A HREF="speed.html#AEN2896" >Socket options</A ></DT ><DT >18.3. <A HREF="speed.html#AEN2903" >Read size</A ></DT ><DT >18.4. <A HREF="speed.html#AEN2908" >Max xmit</A ></DT ><DT >18.5. <A HREF="speed.html#AEN2913" >Log level</A ></DT ><DT >18.6. <A HREF="speed.html#AEN2916" >Read raw</A ></DT ><DT >18.7. <A HREF="speed.html#AEN2921" >Write raw</A ></DT ><DT >18.8. <A HREF="speed.html#AEN2925" >Slow Clients</A ></DT ><DT >18.9. <A HREF="speed.html#AEN2929" >Slow Logins</A ></DT ><DT >18.10. <A HREF="speed.html#AEN2932" >Client tuning</A ></DT ></DL ></DD ><DT >19. <A HREF="groupprofiles.html" >Creating Group Prolicy Files</A ></DT ><DD ><DL ><DT >19.1. <A HREF="groupprofiles.html#AEN2980" >Windows '9x</A ></DT ><DT >19.2. <A HREF="groupprofiles.html#AEN2990" >Windows NT 4</A ></DT ><DT >19.3. <A HREF="groupprofiles.html#AEN3028" >Windows 2000/XP</A ></DT ></DL ></DD ><DT >20. <A HREF="securing-samba.html" >Securing Samba</A ></DT ><DD ><DL ><DT >20.1. <A HREF="securing-samba.html#AEN3109" >Introduction</A ></DT ><DT >20.2. <A HREF="securing-samba.html#AEN3112" >Using host based protection</A ></DT ><DT >20.3. <A HREF="securing-samba.html#AEN3119" >Using interface protection</A ></DT ><DT >20.4. <A HREF="securing-samba.html#AEN3128" >Using a firewall</A ></DT ><DT >20.5. <A HREF="securing-samba.html#AEN3135" >Using a IPC$ share deny</A ></DT ><DT >20.6. <A HREF="securing-samba.html#AEN3144" >Upgrading Samba</A ></DT ></DL ></DD ></DL ></DD ><DT >IV. <A HREF="appendixes.html" >Appendixes</A ></DT ><DD ><DL ><DT >21. <A HREF="portability.html" >Portability</A ></DT ><DD ><DL ><DT >21.1. <A HREF="portability.html#AEN3156" >HPUX</A ></DT ><DT >21.2. <A HREF="portability.html#AEN3162" >SCO Unix</A ></DT ><DT >21.3. <A HREF="portability.html#AEN3166" >DNIX</A ></DT ><DT >21.4. <A HREF="portability.html#AEN3195" >RedHat Linux Rembrandt-II</A ></DT ><DT >21.5. <A HREF="portability.html#AEN3201" >AIX</A ></DT ></DL ></DD ><DT >22. <A HREF="other-clients.html" >Samba and other CIFS clients</A ></DT ><DD ><DL ><DT >22.1. <A HREF="other-clients.html#AEN3221" >Macintosh clients?</A ></DT ><DT >22.2. <A HREF="other-clients.html#AEN3230" >OS2 Client</A ></DT ><DT >22.3. <A HREF="other-clients.html#AEN3270" >Windows for Workgroups</A ></DT ><DT >22.4. <A HREF="other-clients.html#AEN3294" >Windows '95/'98</A ></DT ><DT >22.5. <A HREF="other-clients.html#AEN3310" >Windows 2000 Service Pack 2</A ></DT ></DL ></DD ><DT >23. <A HREF="compiling.html" >How to compile SAMBA</A ></DT ><DD ><DL ><DT >23.1. <A HREF="compiling.html#AEN3337" >Access Samba source code via CVS</A ></DT ><DT >23.2. <A HREF="compiling.html#AEN3380" >Accessing the samba sources via rsync and ftp</A ></DT ><DT >23.3. <A HREF="compiling.html#AEN3386" >Building the Binaries</A ></DT ><DT >23.4. <A HREF="compiling.html#AEN3414" >Starting the smbd and nmbd</A ></DT ></DL ></DD ><DT >24. <A HREF="bugreport.html" >Reporting Bugs</A ></DT ><DD ><DL ><DT >24.1. <A HREF="bugreport.html#AEN3476" >Introduction</A ></DT ><DT >24.2. <A HREF="bugreport.html#AEN3486" >General info</A ></DT ><DT >24.3. <A HREF="bugreport.html#AEN3492" >Debug levels</A ></DT ><DT >24.4. <A HREF="bugreport.html#AEN3509" >Internal errors</A ></DT ><DT >24.5. <A HREF="bugreport.html#AEN3519" >Attaching to a running process</A ></DT ><DT >24.6. <A HREF="bugreport.html#AEN3522" >Patches</A ></DT ></DL ></DD ><DT >25. <A HREF="diagnosis.html" >The samba checklist</A ></DT ><DD ><DL ><DT >25.1. <A HREF="diagnosis.html#AEN3545" >Introduction</A ></DT ><DT >25.2. <A HREF="diagnosis.html#AEN3550" >Assumptions</A ></DT ><DT >25.3. <A HREF="diagnosis.html#AEN3560" >Tests</A ></DT ><DT >25.4. <A HREF="diagnosis.html#AEN3670" >Still having troubles?</A ></DT ></DL ></DD ></DL ></DD ></DL ></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" > </TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="introduction.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" > </TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >General installation</TD ></TR ></TABLE ></DIV ></BODY ></HTML >