<!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="p18.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
> : Thu Aug 15 12:48:45 CDT 2002</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
>.</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="p18.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#AEN25"
>Read the man pages</A
></DT
><DT
>1.2. <A
HREF="install.html#AEN35"
>Building the Binaries</A
></DT
><DT
>1.3. <A
HREF="install.html#AEN63"
>The all important step</A
></DT
><DT
>1.4. <A
HREF="install.html#AEN67"
>Create the smb configuration file.</A
></DT
><DT
>1.5. <A
HREF="install.html#AEN81"
>Test your config file with 
	<B
CLASS="COMMAND"
>testparm</B
></A
></DT
><DT
>1.6. <A
HREF="install.html#AEN89"
>Starting the smbd and nmbd</A
></DT
><DT
>1.7. <A
HREF="install.html#AEN144"
>Try listing the shares available on your 
	server</A
></DT
><DT
>1.8. <A
HREF="install.html#AEN153"
>Try connecting with the unix client</A
></DT
><DT
>1.9. <A
HREF="install.html#AEN169"
>Try connecting from a DOS, WfWg, Win9x, WinNT, 
	Win2k, OS/2, etc... client</A
></DT
><DT
>1.10. <A
HREF="install.html#AEN183"
>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#AEN228"
>Overview of browsing</A
></DT
><DT
>2.2. <A
HREF="improved-browsing.html#AEN232"
>Browsing support in samba</A
></DT
><DT
>2.3. <A
HREF="improved-browsing.html#AEN241"
>Problem resolution</A
></DT
><DT
>2.4. <A
HREF="improved-browsing.html#AEN248"
>Browsing across subnets</A
></DT
><DT
>2.5. <A
HREF="improved-browsing.html#AEN288"
>Setting up a WINS server</A
></DT
><DT
>2.6. <A
HREF="improved-browsing.html#AEN307"
>Setting up Browsing in a WORKGROUP</A
></DT
><DT
>2.7. <A
HREF="improved-browsing.html#AEN325"
>Setting up Browsing in a DOMAIN</A
></DT
><DT
>2.8. <A
HREF="improved-browsing.html#AEN335"
>Forcing samba to be the master</A
></DT
><DT
>2.9. <A
HREF="improved-browsing.html#AEN344"
>Making samba the domain master</A
></DT
><DT
>2.10. <A
HREF="improved-browsing.html#AEN362"
>Note about broadcast addresses</A
></DT
><DT
>2.11. <A
HREF="improved-browsing.html#AEN365"
>Multiple interfaces</A
></DT
></DL
></DD
><DT
>3. <A
HREF="oplocks.html"
>Oplocks</A
></DT
><DD
><DL
><DT
>3.1. <A
HREF="oplocks.html#AEN377"
>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#AEN392"
>Discussion</A
></DT
><DT
>4.2. <A
HREF="browsing-quick.html#AEN400"
>Use of the "Remote Announce" parameter</A
></DT
><DT
>4.3. <A
HREF="browsing-quick.html#AEN414"
>Use of the "Remote Browse Sync" parameter</A
></DT
><DT
>4.4. <A
HREF="browsing-quick.html#AEN419"
>Use of WINS</A
></DT
><DT
>4.5. <A
HREF="browsing-quick.html#AEN430"
>Do NOT use more than one (1) protocol on MS Windows machines</A
></DT
><DT
>4.6. <A
HREF="browsing-quick.html#AEN436"
>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#AEN472"
>Introduction</A
></DT
><DT
>5.2. <A
HREF="pwencrypt.html#AEN477"
>Important Notes About Security</A
></DT
><DT
>5.3. <A
HREF="pwencrypt.html#AEN512"
>The smbpasswd Command</A
></DT
></DL
></DD
></DL
></DD
><DT
>II. <A
HREF="p544.html"
>Type of installation</A
></DT
><DD
><DL
><DT
>6. <A
HREF="samba-pdc.html"
>How to Configure Samba as a NT4 Primary Domain Controller</A
></DT
><DD
><DL
><DT
>6.1. <A
HREF="samba-pdc.html#AEN566"
>Prerequisite Reading</A
></DT
><DT
>6.2. <A
HREF="samba-pdc.html#AEN572"
>Background</A
></DT
><DT
>6.3. <A
HREF="samba-pdc.html#AEN611"
>Configuring the Samba Domain Controller</A
></DT
><DT
>6.4. <A
HREF="samba-pdc.html#AEN654"
>Creating Machine Trust Accounts and Joining Clients to the
Domain</A
></DT
><DT
>6.5. <A
HREF="samba-pdc.html#AEN738"
>Common Problems and Errors</A
></DT
><DT
>6.6. <A
HREF="samba-pdc.html#AEN786"
>System Policies and Profiles</A
></DT
><DT
>6.7. <A
HREF="samba-pdc.html#AEN830"
>What other help can I get?</A
></DT
><DT
>6.8. <A
HREF="samba-pdc.html#AEN944"
>Domain Control for Windows 9x/ME</A
></DT
><DT
>6.9. <A
HREF="samba-pdc.html#AEN1082"
>DOMAIN_CONTROL.txt : Windows NT Domain Control &#38; Samba</A
></DT
></DL
></DD
><DT
>7. <A
HREF="samba-bdc.html"
>How to Act as a Backup Domain Controller in a Purely Samba Controlled Domain</A
></DT
><DD
><DL
><DT
>7.1. <A
HREF="samba-bdc.html#AEN1118"
>Prerequisite Reading</A
></DT
><DT
>7.2. <A
HREF="samba-bdc.html#AEN1122"
>Background</A
></DT
><DT
>7.3. <A
HREF="samba-bdc.html#AEN1130"
>What qualifies a Domain Controller on the network?</A
></DT
><DT
>7.4. <A
HREF="samba-bdc.html#AEN1139"
>Can Samba be a Backup Domain Controller?</A
></DT
><DT
>7.5. <A
HREF="samba-bdc.html#AEN1143"
>How do I set up a Samba BDC?</A
></DT
></DL
></DD
><DT
>8. <A
HREF="ads.html"
>Samba as a ADS domain member</A
></DT
><DD
><DL
><DT
>8.1. <A
HREF="ads.html#AEN1178"
>Installing the required packages for Debian</A
></DT
><DT
>8.2. <A
HREF="ads.html#AEN1184"
>Installing the required packages for RedHat</A
></DT
><DT
>8.3. <A
HREF="ads.html#AEN1193"
>Compile Samba</A
></DT
><DT
>8.4. <A
HREF="ads.html#AEN1205"
>Setup your /etc/krb5.conf</A
></DT
><DT
>8.5. <A
HREF="ads.html#AEN1215"
>Create the computer account</A
></DT
><DT
>8.6. <A
HREF="ads.html#AEN1231"
>Test your server setup</A
></DT
><DT
>8.7. <A
HREF="ads.html#AEN1236"
>Testing with smbclient</A
></DT
><DT
>8.8. <A
HREF="ads.html#AEN1239"
>Notes</A
></DT
></DL
></DD
><DT
>9. <A
HREF="domain-security.html"
>Samba as a NT4 domain member</A
></DT
><DD
><DL
><DT
>9.1. <A
HREF="domain-security.html#AEN1261"
>Joining an NT Domain with Samba 2.2</A
></DT
><DT
>9.2. <A
HREF="domain-security.html#AEN1325"
>Samba and Windows 2000 Domains</A
></DT
><DT
>9.3. <A
HREF="domain-security.html#AEN1330"
>Why is this better than security = server?</A
></DT
></DL
></DD
></DL
></DD
><DT
>III. <A
HREF="p1346.html"
>Optional configuration</A
></DT
><DD
><DL
><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
><DT
>10.3. <A
HREF="integrate-ms-networks.html#AEN1447"
>Name resolution as used within MS Windows networking</A
></DT
><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
><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
><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
></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
><DT
>14.3. <A
HREF="printing.html#AEN2038"
>The Imprints Toolset</A
></DT
><DT
>14.4. <A
HREF="printing.html#AEN2081"
>Diagnosis</A
></DT
></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
><DT
>16.4. <A
HREF="winbind.html#AEN2277"
>How Winbind Works</A
></DT
><DT
>16.5. <A
HREF="winbind.html#AEN2317"
>Installation and Configuration</A
></DT
><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
><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
></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
><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
></DD
><DT
>IV. <A
HREF="p3106.html"
>Appendixes</A
></DT
><DD
><DL
><DT
>23. <A
HREF="portability.html"
>Portability</A
></DT
><DD
><DL
><DT
>23.1. <A
HREF="portability.html#AEN3115"
>HPUX</A
></DT
><DT
>23.2. <A
HREF="portability.html#AEN3121"
>SCO Unix</A
></DT
><DT
>23.3. <A
HREF="portability.html#AEN3125"
>DNIX</A
></DT
><DT
>23.4. <A
HREF="portability.html#AEN3154"
>RedHat Linux Rembrandt-II</A
></DT
></DL
></DD
><DT
>24. <A
HREF="other-clients.html"
>Samba and other CIFS clients</A
></DT
><DD
><DL
><DT
>24.1. <A
HREF="other-clients.html#AEN3175"
>Macintosh clients?</A
></DT
><DT
>24.2. <A
HREF="other-clients.html#AEN3184"
>OS2 Client</A
></DT
><DT
>24.3. <A
HREF="other-clients.html#AEN3224"
>Windows for Workgroups</A
></DT
><DT
>24.4. <A
HREF="other-clients.html#AEN3245"
>Windows '95/'98</A
></DT
><DT
>24.5. <A
HREF="other-clients.html#AEN3261"
>Windows 2000 Service Pack 2</A
></DT
></DL
></DD
><DT
>25. <A
HREF="bugreport.html"
>Reporting Bugs</A
></DT
><DD
><DL
><DT
>25.1. <A
HREF="bugreport.html#AEN3285"
>Introduction</A
></DT
><DT
>25.2. <A
HREF="bugreport.html#AEN3295"
>General info</A
></DT
><DT
>25.3. <A
HREF="bugreport.html#AEN3301"
>Debug levels</A
></DT
><DT
>25.4. <A
HREF="bugreport.html#AEN3318"
>Internal errors</A
></DT
><DT
>25.5. <A
HREF="bugreport.html#AEN3328"
>Attaching to a running process</A
></DT
><DT
>25.6. <A
HREF="bugreport.html#AEN3331"
>Patches</A
></DT
></DL
></DD
><DT
>26. <A
HREF="diagnosis.html"
>Diagnosing your samba server</A
></DT
><DD
><DL
><DT
>26.1. <A
HREF="diagnosis.html#AEN3354"
>Introduction</A
></DT
><DT
>26.2. <A
HREF="diagnosis.html#AEN3359"
>Assumptions</A
></DT
><DT
>26.3. <A
HREF="diagnosis.html#AEN3369"
>Tests</A
></DT
><DT
>26.4. <A
HREF="diagnosis.html#AEN3479"
>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"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="p18.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>General installation</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>