<!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.77"><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" ></A >SAMBA Project Documentation</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 > : $Date: 2002/11/13 15:34:49 $</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" >Read the man pages</A ></DT ><DT >1.2. <A HREF="install.html#AEN36" >Building the Binaries</A ></DT ><DT >1.3. <A HREF="install.html#AEN64" >The all important step</A ></DT ><DT >1.4. <A HREF="install.html#AEN68" >Create the smb configuration file.</A ></DT ><DT >1.5. <A HREF="install.html#AEN82" >Test your config file with <B CLASS="COMMAND" >testparm</B ></A ></DT ><DT >1.6. <A HREF="install.html#AEN90" >Starting the smbd and nmbd</A ></DT ><DT >1.7. <A HREF="install.html#AEN145" >Try listing the shares available on your server</A ></DT ><DT >1.8. <A HREF="install.html#AEN154" >Try connecting with the unix client</A ></DT ><DT >1.9. <A HREF="install.html#AEN170" >Try connecting from a DOS, WfWg, Win9x, WinNT, Win2k, OS/2, etc... client</A ></DT ><DT >1.10. <A HREF="install.html#AEN184" >What If Things Don't Work?</A ></DT ></DL ></DD ><DT >2. <A HREF="improved-browsing.html" >Improved browsing in samba</A ></DT ><DD ><DL ><DT >2.1. <A HREF="improved-browsing.html#AEN229" >Overview of browsing</A ></DT ><DT >2.2. <A HREF="improved-browsing.html#AEN233" >Browsing support in samba</A ></DT ><DT >2.3. <A HREF="improved-browsing.html#AEN242" >Problem resolution</A ></DT ><DT >2.4. <A HREF="improved-browsing.html#AEN249" >Browsing across subnets</A ></DT ><DT >2.5. <A HREF="improved-browsing.html#AEN289" >Setting up a WINS server</A ></DT ><DT >2.6. <A HREF="improved-browsing.html#AEN308" >Setting up Browsing in a WORKGROUP</A ></DT ><DT >2.7. <A HREF="improved-browsing.html#AEN326" >Setting up Browsing in a DOMAIN</A ></DT ><DT >2.8. <A HREF="improved-browsing.html#AEN336" >Forcing samba to be the master</A ></DT ><DT >2.9. <A HREF="improved-browsing.html#AEN345" >Making samba the domain master</A ></DT ><DT >2.10. <A HREF="improved-browsing.html#AEN363" >Note about broadcast addresses</A ></DT ><DT >2.11. <A HREF="improved-browsing.html#AEN366" >Multiple interfaces</A ></DT ></DL ></DD ><DT >3. <A HREF="oplocks.html" >Oplocks</A ></DT ><DD ><DL ><DT >3.1. <A HREF="oplocks.html#AEN378" >What are oplocks?</A ></DT ></DL ></DD ><DT >4. <A HREF="browsing-quick.html" >Quick Cross Subnet Browsing / Cross Workgroup Browsing guide</A ></DT ><DD ><DL ><DT >4.1. <A HREF="browsing-quick.html#AEN393" >Discussion</A ></DT ><DT >4.2. <A HREF="browsing-quick.html#AEN401" >Use of the "Remote Announce" parameter</A ></DT ><DT >4.3. <A HREF="browsing-quick.html#AEN415" >Use of the "Remote Browse Sync" parameter</A ></DT ><DT >4.4. <A HREF="browsing-quick.html#AEN420" >Use of WINS</A ></DT ><DT >4.5. <A HREF="browsing-quick.html#AEN431" >Do NOT use more than one (1) protocol on MS Windows machines</A ></DT ><DT >4.6. <A HREF="browsing-quick.html#AEN437" >Name Resolution Order</A ></DT ></DL ></DD ><DT >5. <A HREF="pwencrypt.html" >LanMan and NT Password Encryption in Samba</A ></DT ><DD ><DL ><DT >5.1. <A HREF="pwencrypt.html#AEN473" >Introduction</A ></DT ><DT >5.2. <A HREF="pwencrypt.html#AEN478" >Important Notes About Security</A ></DT ><DT >5.3. <A HREF="pwencrypt.html#AEN513" >The smbpasswd Command</A ></DT ></DL ></DD ></DL ></DD ><DT >II. <A HREF="type.html" >Type of installation</A ></DT ><DD ><DL ><DT >6. <A HREF="securitylevels.html" >User and Share security level (for servers not in a domain)</A ></DT ><DT >7. <A HREF="samba-pdc.html" >How to Configure Samba as a NT4 Primary Domain Controller</A ></DT ><DD ><DL ><DT >7.1. <A HREF="samba-pdc.html#AEN591" >Prerequisite Reading</A ></DT ><DT >7.2. <A HREF="samba-pdc.html#AEN597" >Background</A ></DT ><DT >7.3. <A HREF="samba-pdc.html#AEN636" >Configuring the Samba Domain Controller</A ></DT ><DT >7.4. <A HREF="samba-pdc.html#AEN679" >Creating Machine Trust Accounts and Joining Clients to the Domain</A ></DT ><DT >7.5. <A HREF="samba-pdc.html#AEN763" >Common Problems and Errors</A ></DT ><DT >7.6. <A HREF="samba-pdc.html#AEN811" >System Policies and Profiles</A ></DT ><DT >7.7. <A HREF="samba-pdc.html#AEN855" >What other help can I get?</A ></DT ><DT >7.8. <A HREF="samba-pdc.html#AEN969" >Domain Control for Windows 9x/ME</A ></DT ><DT >7.9. <A HREF="samba-pdc.html#AEN1107" >DOMAIN_CONTROL.txt : Windows NT Domain Control & Samba</A ></DT ></DL ></DD ><DT >8. <A HREF="samba-bdc.html" >How to Act as a Backup Domain Controller in a Purely Samba Controlled Domain</A ></DT ><DD ><DL ><DT >8.1. <A HREF="samba-bdc.html#AEN1143" >Prerequisite Reading</A ></DT ><DT >8.2. <A HREF="samba-bdc.html#AEN1147" >Background</A ></DT ><DT >8.3. <A HREF="samba-bdc.html#AEN1155" >What qualifies a Domain Controller on the network?</A ></DT ><DT >8.4. <A HREF="samba-bdc.html#AEN1164" >Can Samba be a Backup Domain Controller?</A ></DT ><DT >8.5. <A HREF="samba-bdc.html#AEN1168" >How do I set up a Samba BDC?</A ></DT ></DL ></DD ><DT >9. <A HREF="ads.html" >Samba as a ADS domain member</A ></DT ><DD ><DL ><DT >9.1. <A HREF="ads.html#AEN1203" >Installing the required packages for Debian</A ></DT ><DT >9.2. <A HREF="ads.html#AEN1209" >Installing the required packages for RedHat</A ></DT ><DT >9.3. <A HREF="ads.html#AEN1218" >Compile Samba</A ></DT ><DT >9.4. <A HREF="ads.html#AEN1230" >Setup your /etc/krb5.conf</A ></DT ><DT >9.5. <A HREF="ads.html#AEN1240" >Create the computer account</A ></DT ><DT >9.6. <A HREF="ads.html#AEN1256" >Test your server setup</A ></DT ><DT >9.7. <A HREF="ads.html#AEN1261" >Testing with smbclient</A ></DT ><DT >9.8. <A HREF="ads.html#AEN1264" >Notes</A ></DT ></DL ></DD ><DT >10. <A HREF="domain-security.html" >Samba as a NT4 domain member</A ></DT ><DD ><DL ><DT >10.1. <A HREF="domain-security.html#AEN1286" >Joining an NT Domain with Samba 2.2</A ></DT ><DT >10.2. <A HREF="domain-security.html#AEN1350" >Samba and Windows 2000 Domains</A ></DT ><DT >10.3. <A HREF="domain-security.html#AEN1355" >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 >11. <A HREF="integrate-ms-networks.html" >Integrating MS Windows networks with Samba</A ></DT ><DD ><DL ><DT >11.1. <A HREF="integrate-ms-networks.html#AEN1387" >Agenda</A ></DT ><DT >11.2. <A HREF="integrate-ms-networks.html#AEN1409" >Name Resolution in a pure Unix/Linux world</A ></DT ><DT >11.3. <A HREF="integrate-ms-networks.html#AEN1472" >Name resolution as used within MS Windows networking</A ></DT ><DT >11.4. <A HREF="integrate-ms-networks.html#AEN1517" >How browsing functions and how to deploy stable and dependable browsing using Samba</A ></DT ><DT >11.5. <A HREF="integrate-ms-networks.html#AEN1527" >MS Windows security options and how to configure Samba for seemless integration</A ></DT ><DT >11.6. <A HREF="integrate-ms-networks.html#AEN1597" >Conclusions</A ></DT ></DL ></DD ><DT >12. <A HREF="unix-permissions.html" >UNIX Permission Bits and Windows NT Access Control Lists</A ></DT ><DD ><DL ><DT >12.1. <A HREF="unix-permissions.html#AEN1618" >Viewing and changing UNIX permissions using the NT security dialogs</A ></DT ><DT >12.2. <A HREF="unix-permissions.html#AEN1627" >How to view file security on a Samba share</A ></DT ><DT >12.3. <A HREF="unix-permissions.html#AEN1638" >Viewing file ownership</A ></DT ><DT >12.4. <A HREF="unix-permissions.html#AEN1658" >Viewing file or directory permissions</A ></DT ><DT >12.5. <A HREF="unix-permissions.html#AEN1694" >Modifying file or directory permissions</A ></DT ><DT >12.6. <A HREF="unix-permissions.html#AEN1716" >Interaction with the standard Samba create mask parameters</A ></DT ><DT >12.7. <A HREF="unix-permissions.html#AEN1780" >Interaction with the standard Samba file attribute mapping</A ></DT ></DL ></DD ><DT >13. <A HREF="pam.html" >Configuring PAM for distributed but centrally managed authentication</A ></DT ><DD ><DL ><DT >13.1. <A HREF="pam.html#AEN1801" >Samba and PAM</A ></DT ><DT >13.2. <A HREF="pam.html#AEN1845" >Distributed Authentication</A ></DT ><DT >13.3. <A HREF="pam.html#AEN1852" >PAM Configuration in smb.conf</A ></DT ></DL ></DD ><DT >14. <A HREF="msdfs.html" >Hosting a Microsoft Distributed File System tree on Samba</A ></DT ><DD ><DL ><DT >14.1. <A HREF="msdfs.html#AEN1872" >Instructions</A ></DT ></DL ></DD ><DT >15. <A HREF="printing.html" >Printing Support</A ></DT ><DD ><DL ><DT >15.1. <A HREF="printing.html#AEN1933" >Introduction</A ></DT ><DT >15.2. <A HREF="printing.html#AEN1955" >Configuration</A ></DT ><DT >15.3. <A HREF="printing.html#AEN2063" >The Imprints Toolset</A ></DT ><DT >15.4. <A HREF="printing.html#AEN2106" >Diagnosis</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#AEN2238" >Abstract</A ></DT ><DT >16.2. <A HREF="winbind.html#AEN2242" >Introduction</A ></DT ><DT >16.3. <A HREF="winbind.html#AEN2255" >What Winbind Provides</A ></DT ><DT >16.4. <A HREF="winbind.html#AEN2266" >How Winbind Works</A ></DT ><DT >16.5. <A HREF="winbind.html#AEN2306" >Installation and Configuration</A ></DT ><DT >16.6. <A HREF="winbind.html#AEN2555" >Limitations</A ></DT ><DT >16.7. <A HREF="winbind.html#AEN2565" >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#AEN2579" >Building</A ></DT ><DT >17.2. <A HREF="pdb-mysql.html#AEN2585" >Configuring</A ></DT ><DT >17.3. <A HREF="pdb-mysql.html#AEN2600" >Using plaintext passwords or encrypted password</A ></DT ><DT >17.4. <A HREF="pdb-mysql.html#AEN2605" >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#AEN2624" >Building</A ></DT ><DT >18.2. <A HREF="pdb-xml.html#AEN2630" >Usage</A ></DT ></DL ></DD ><DT >19. <A HREF="vfs.html" >Stackable VFS modules</A ></DT ><DD ><DL ><DT >19.1. <A HREF="vfs.html#AEN2651" >Introduction and configuration</A ></DT ><DT >19.2. <A HREF="vfs.html#AEN2659" >Included modules</A ></DT ><DT >19.3. <A HREF="vfs.html#AEN2713" >VFS modules available elsewhere</A ></DT ></DL ></DD ><DT >20. <A HREF="samba-ldap-howto.html" >Storing Samba's User/Machine Account information in an LDAP Directory</A ></DT ><DD ><DL ><DT >20.1. <A HREF="samba-ldap-howto.html#AEN2747" >Purpose</A ></DT ><DT >20.2. <A HREF="samba-ldap-howto.html#AEN2767" >Introduction</A ></DT ><DT >20.3. <A HREF="samba-ldap-howto.html#AEN2796" >Supported LDAP Servers</A ></DT ><DT >20.4. <A HREF="samba-ldap-howto.html#AEN2801" >Schema and Relationship to the RFC 2307 posixAccount</A ></DT ><DT >20.5. <A HREF="samba-ldap-howto.html#AEN2813" >Configuring Samba with LDAP</A ></DT ><DT >20.6. <A HREF="samba-ldap-howto.html#AEN2860" >Accounts and Groups management</A ></DT ><DT >20.7. <A HREF="samba-ldap-howto.html#AEN2865" >Security and sambaAccount</A ></DT ><DT >20.8. <A HREF="samba-ldap-howto.html#AEN2885" >LDAP specials attributes for sambaAccounts</A ></DT ><DT >20.9. <A HREF="samba-ldap-howto.html#AEN2955" >Example LDIF Entries for a sambaAccount</A ></DT ><DT >20.10. <A HREF="samba-ldap-howto.html#AEN2963" >Comments</A ></DT ></DL ></DD ><DT >21. <A HREF="cvs-access.html" >HOWTO Access Samba source code via CVS</A ></DT ><DD ><DL ><DT >21.1. <A HREF="cvs-access.html#AEN2974" >Introduction</A ></DT ><DT >21.2. <A HREF="cvs-access.html#AEN2979" >CVS Access to samba.org</A ></DT ></DL ></DD ><DT >22. <A HREF="groupmapping.html" >Group mapping HOWTO</A ></DT ><DT >23. <A HREF="speed.html" >Samba performance issues</A ></DT ><DD ><DL ><DT >23.1. <A HREF="speed.html#AEN3065" >Comparisons</A ></DT ><DT >23.2. <A HREF="speed.html#AEN3071" >Oplocks</A ></DT ><DT >23.3. <A HREF="speed.html#AEN3091" >Socket options</A ></DT ><DT >23.4. <A HREF="speed.html#AEN3098" >Read size</A ></DT ><DT >23.5. <A HREF="speed.html#AEN3103" >Max xmit</A ></DT ><DT >23.6. <A HREF="speed.html#AEN3108" >Locking</A ></DT ><DT >23.7. <A HREF="speed.html#AEN3112" >Share modes</A ></DT ><DT >23.8. <A HREF="speed.html#AEN3117" >Log level</A ></DT ><DT >23.9. <A HREF="speed.html#AEN3120" >Wide lines</A ></DT ><DT >23.10. <A HREF="speed.html#AEN3123" >Read raw</A ></DT ><DT >23.11. <A HREF="speed.html#AEN3128" >Write raw</A ></DT ><DT >23.12. <A HREF="speed.html#AEN3132" >Read prediction</A ></DT ><DT >23.13. <A HREF="speed.html#AEN3139" >Memory mapping</A ></DT ><DT >23.14. <A HREF="speed.html#AEN3144" >Slow Clients</A ></DT ><DT >23.15. <A HREF="speed.html#AEN3148" >Slow Logins</A ></DT ><DT >23.16. <A HREF="speed.html#AEN3151" >Client tuning</A ></DT ><DT >23.17. <A HREF="speed.html#AEN3183" >My Results</A ></DT ></DL ></DD ></DL ></DD ><DT >IV. <A HREF="appendixes.html" >Appendixes</A ></DT ><DD ><DL ><DT >24. <A HREF="portability.html" >Portability</A ></DT ><DD ><DL ><DT >24.1. <A HREF="portability.html#AEN3198" >HPUX</A ></DT ><DT >24.2. <A HREF="portability.html#AEN3204" >SCO Unix</A ></DT ><DT >24.3. <A HREF="portability.html#AEN3208" >DNIX</A ></DT ><DT >24.4. <A HREF="portability.html#AEN3237" >RedHat Linux Rembrandt-II</A ></DT ></DL ></DD ><DT >25. <A HREF="other-clients.html" >Samba and other CIFS clients</A ></DT ><DD ><DL ><DT >25.1. <A HREF="other-clients.html#AEN3258" >Macintosh clients?</A ></DT ><DT >25.2. <A HREF="other-clients.html#AEN3267" >OS2 Client</A ></DT ><DT >25.3. <A HREF="other-clients.html#AEN3307" >Windows for Workgroups</A ></DT ><DT >25.4. <A HREF="other-clients.html#AEN3328" >Windows '95/'98</A ></DT ><DT >25.5. <A HREF="other-clients.html#AEN3344" >Windows 2000 Service Pack 2</A ></DT ></DL ></DD ><DT >26. <A HREF="bugreport.html" >Reporting Bugs</A ></DT ><DD ><DL ><DT >26.1. <A HREF="bugreport.html#AEN3368" >Introduction</A ></DT ><DT >26.2. <A HREF="bugreport.html#AEN3378" >General info</A ></DT ><DT >26.3. <A HREF="bugreport.html#AEN3384" >Debug levels</A ></DT ><DT >26.4. <A HREF="bugreport.html#AEN3401" >Internal errors</A ></DT ><DT >26.5. <A HREF="bugreport.html#AEN3411" >Attaching to a running process</A ></DT ><DT >26.6. <A HREF="bugreport.html#AEN3414" >Patches</A ></DT ></DL ></DD ><DT >27. <A HREF="diagnosis.html" >Diagnosing your samba server</A ></DT ><DD ><DL ><DT >27.1. <A HREF="diagnosis.html#AEN3437" >Introduction</A ></DT ><DT >27.2. <A HREF="diagnosis.html#AEN3442" >Assumptions</A ></DT ><DT >27.3. <A HREF="diagnosis.html#AEN3452" >Tests</A ></DT ><DT >27.4. <A HREF="diagnosis.html#AEN3562" >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 >