1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

regenerate docs

This commit is contained in:
Gerald Carter
-
parent 0406b78623
commit 2215dc37e2
50 changed files with 1387 additions and 2097 deletions

Binary file not shown.

Binary file not shown.

View File

@ -49,6 +49,7 @@ the samba HOWTO Collection</member>
Windows NT in the chapter "Portability" of the samba HOWTO collection Windows NT in the chapter "Portability" of the samba HOWTO collection
</member> </member>
</simplelist> </simplelist>
</para>
</sect1> </sect1>
@ -62,6 +63,7 @@ the program always prompts for the password if the server is a Samba server.
It also ignores the "-N" argument when querying some (but not all) of our It also ignores the "-N" argument when querying some (but not all) of our
NT servers. NT servers.
</quote> </quote>
</para>
<para> <para>
No, it does not ignore -N, it is just that your server rejected the No, it does not ignore -N, it is just that your server rejected the

View File

@ -5,6 +5,7 @@
<title>Where can I get it?</title> <title>Where can I get it?</title>
<para> <para>
The Samba suite is available at the <ulink url="http://samba.org/">samba website</ulink>. The Samba suite is available at the <ulink url="http://samba.org/">samba website</ulink>.
</para>
</sect1> </sect1>
<sect1> <sect1>
@ -41,6 +42,7 @@ same version number without the alpha, for example 1.9.16.</member>
<member>Inevitably bugs are found in the "stable" releases and minor patch <member>Inevitably bugs are found in the "stable" releases and minor patch
levels are released which give us the pXX series, for example 1.9.16p2.</member> levels are released which give us the pXX series, for example 1.9.16p2.</member>
</simplelist> </simplelist>
</para>
<para> <para>
So the progression goes: So the progression goes:
@ -134,7 +136,7 @@ already know this, but the rest may need some help. Andrew doesn't ask
for payment, but he does appreciate it when people give him for payment, but he does appreciate it when people give him
pizza. This calls for a little organisation when the pizza donor is pizza. This calls for a little organisation when the pizza donor is
twenty thousand kilometres away, but it has been done. twenty thousand kilometres away, but it has been done.
<?para> </para>
<para> <para>
Method 1: Ring up your local branch of an international pizza chain Method 1: Ring up your local branch of an international pizza chain

View File

@ -19,9 +19,10 @@ thusly:
The details of how to do this and the specific syntax varies from The details of how to do this and the specific syntax varies from
client to client - check your client's documentation. client to client - check your client's documentation.
</para> </para>
</sect1>
<sect1> <sect1>
<title>Some files that I KNOW are on the server doesn't show up when I view the files from my client! <title>Some files that I KNOW are on the server doesn't show up when I view the files from my client!</title>
<para>See the next question.</para> <para>See the next question.</para>
</sect1> </sect1>
@ -146,6 +147,7 @@ coreplus. Also not that print status error messages don't mean
printing won't work. The print status is received by a different printing won't work. The print status is received by a different
mechanism. mechanism.
</para> </para>
</sect1>
<sect1> <sect1>
<title>My client reports "This server is not configured to list shared resources"</title> <title>My client reports "This server is not configured to list shared resources"</title>
@ -293,14 +295,15 @@ Samba traditionally has had many problems dealing with time zones, due
to the bizarre ways that Microsoft network protocols handle time to the bizarre ways that Microsoft network protocols handle time
zones. zones.
</para> </para>
</sect1>
<sect1> <sect1>
<title>How do I set the printer driver name correctly?</title> <title>How do I set the printer driver name correctly?</title>
<para>Question:<para> <para>Question:
<quote> On NT, I opened "Printer Manager" and "Connect to Printer". <quote> On NT, I opened "Printer Manager" and "Connect to Printer".
Enter ["\\ptdi270\ps1"] in the box of printer. I got the Enter ["\\ptdi270\ps1"] in the box of printer. I got the
following error message following error message
</quote> </quote></para>
<para> <para>
<programlisting> <programlisting>
You do not have sufficient access to your machine You do not have sufficient access to your machine

View File

@ -46,7 +46,7 @@
registered of the remote machine. This option is disabled by default registered of the remote machine. This option is disabled by default
because it is specific to Windows 95 and Windows 95 machines only. because it is specific to Windows 95 and Windows 95 machines only.
If set, <ulink url="nmblookup.1.html"><command>nmblookup</command></ulink> If set, <ulink url="nmblookup.1.html"><command>nmblookup</command></ulink>
will be called with <constant>-B<constant> option.</para></listitem> will be called with <constant>-B</constant> option.</para></listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>subnet broadcast address</term> <term>subnet broadcast address</term>

View File

@ -108,8 +108,9 @@ NetBIOS machine names will end up looking like
they belong to that workgroup, this may cause they belong to that workgroup, this may cause
name resolution problems and should be avoided. name resolution problems and should be avoided.
</para></listitem> </para></listitem>
</varlistentry>
</variablelist> </variablelist>
</para>
</sect1> </sect1>
@ -276,5 +277,6 @@ The default is:
where "host" refers the the native methods used by the Unix system where "host" refers the the native methods used by the Unix system
to implement the gethostbyname() function call. This is normally to implement the gethostbyname() function call. This is normally
controlled by <filename>/etc/host.conf</filename>, <filename>/etc/nsswitch.conf</filename> and <filename>/etc/resolv.conf</filename>. controlled by <filename>/etc/host.conf</filename>, <filename>/etc/nsswitch.conf</filename> and <filename>/etc/resolv.conf</filename>.
</para>
</sect1> </sect1>
</chapter> </chapter>

View File

@ -174,4 +174,5 @@ is the master browse list holder and who is the master browser.
Corrective Action: Delete the entry after the word loopback Corrective Action: Delete the entry after the word loopback
in the line starting 127.0.0.1 in the line starting 127.0.0.1
</para> </para>
</sect1>
</chapter> </chapter>

View File

@ -5,7 +5,8 @@
>Specific client application problems</TITLE >Specific client application problems</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="Samba FAQ" TITLE="Samba FAQ"
HREF="samba-faq.html"><LINK HREF="samba-faq.html"><LINK
@ -69,17 +70,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="CLIENTAPP" NAME="CLIENTAPP">Chapter 4. Specific client application problems</H1
></A
>Chapter 4. Specific client application problems</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN175" NAME="AEN174">4.1. MS Office Setup reports "Cannot change properties of '\MSOFFICE\SETUP.INI'"</H1
></A
>4.1. MS Office Setup reports "Cannot change properties of '\MSOFFICE\SETUP.INI'"</H1
><P ><P
>When installing MS Office on a Samba drive for which you have admin >When installing MS Office on a Samba drive for which you have admin
user permissions, ie. admin users = username, you will find the user permissions, ie. admin users = username, you will find the
@ -98,9 +95,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN180" NAME="AEN179">4.2. How to use a Samba share as an administrative share for MS Office, etc.</H1
></A
>4.2. How to use a Samba share as an administrative share for MS Office, etc.</H1
><P ><P
>Microsoft Office products can be installed as an administrative installation >Microsoft Office products can be installed as an administrative installation
from which the application can either be run off the administratively installed from which the application can either be run off the administratively installed
@ -160,9 +155,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN195" NAME="AEN194">4.3. Microsoft Access database opening errors</H1
></A
>4.3. Microsoft Access database opening errors</H1
><P ><P
>Here are some notes on running MS-Access on a Samba drive from <A >Here are some notes on running MS-Access on a Samba drive from <A
HREF="stefank@esi.com.au" HREF="stefank@esi.com.au"

View File

@ -5,7 +5,8 @@
>Common errors</TITLE >Common errors</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="Samba FAQ" TITLE="Samba FAQ"
HREF="samba-faq.html"><LINK HREF="samba-faq.html"><LINK
@ -69,17 +70,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="ERRORS" NAME="ERRORS">Chapter 5. Common errors</H1
></A
>Chapter 5. Common errors</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN206" NAME="AEN205">5.1. Not listening for calling name</H1
></A
>5.1. Not listening for calling name</H1
><P ><P
><PRE ><PRE
CLASS="PROGRAMLISTING" CLASS="PROGRAMLISTING"
@ -103,9 +100,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN213" NAME="AEN212">5.2. System Error 1240</H1
></A
>5.2. System Error 1240</H1
><P ><P
>System error 1240 means that the client is refusing to talk >System error 1240 means that the client is refusing to talk
to a non-encrypting server. Microsoft changed WinNT in service to a non-encrypting server. Microsoft changed WinNT in service
@ -139,9 +134,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN220" NAME="AEN219">5.3. smbclient ignores -N !</H1
></A
>5.3. smbclient ignores -N !</H1
><P ><P
><SPAN ><SPAN
CLASS="QUOTE" CLASS="QUOTE"
@ -153,30 +146,34 @@ CLASS="COMMAND"
the program always prompts for the password if the server is a Samba server. the program always prompts for the password if the server is a Samba server.
It also ignores the "-N" argument when querying some (but not all) of our It also ignores the "-N" argument when querying some (but not all) of our
NT servers."</SPAN NT servers."</SPAN
>&#13;</P >
><P
<P
>No, it does not ignore -N, it is just that your server rejected the >No, it does not ignore -N, it is just that your server rejected the
null password in the connection, so smbclient prompts for a password null password in the connection, so smbclient prompts for a password
to try again.</P to try again.</P
><P >
<P
>To get the behaviour that you probably want use <B >To get the behaviour that you probably want use <B
CLASS="COMMAND" CLASS="COMMAND"
>smbclient -L host -U%</B >smbclient -L host -U%</B
></P ></P
><P >
<P
>This will set both the username and password to null, which is >This will set both the username and password to null, which is
an anonymous login for SMB. Using -N would only set the password an anonymous login for SMB. Using -N would only set the password
to null, and this is not accepted as an anonymous login for most to null, and this is not accepted as an anonymous login for most
SMB servers.</P SMB servers.</P
>&#13;</P
></DIV ></DIV
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN229" NAME="AEN228">5.4. The data on the CD-Drive I've shared seems to be corrupted!</H1
></A
>5.4. The data on the CD-Drive I've shared seems to be corrupted!</H1
><P ><P
>Some OSes (notably Linux) default to auto detection of file type on >Some OSes (notably Linux) default to auto detection of file type on
cdroms and do cr/lf translation. This is a very bad idea when use with cdroms and do cr/lf translation. This is a very bad idea when use with
@ -190,9 +187,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN233" NAME="AEN232">5.5. Why can users access home directories of other users?</H1
></A
>5.5. Why can users access home directories of other users?</H1
><P ><P
><SPAN ><SPAN
CLASS="QUOTE" CLASS="QUOTE"
@ -248,12 +243,19 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN246" NAME="AEN245">5.6. Until a few minutes after samba has started, clients get the error "Domain Controller Unavailable"</H1
></A
>5.6. Until a few minutes after samba has started, clients get the error "Domain Controller Unavailable"</H1
><P ><P
>A domain controller has to announce on the network who it is. This usually takes a while.</P >A domain controller has to announce on the network who it is. This usually takes a while.</P
></DIV ></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN248">5.7. I'm getting "open_oplock_ipc: Failed to get local UDP socket for address 100007f. Error was Cannot assign requested" in the logs</H1
><P
>Your loopback device isn't working correctly. Make sure it's running.</P
></DIV
></DIV ></DIV
><DIV ><DIV
CLASS="NAVFOOTER" CLASS="NAVFOOTER"

View File

@ -5,7 +5,8 @@
>General Information</TITLE >General Information</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="Samba FAQ" TITLE="Samba FAQ"
HREF="samba-faq.html"><LINK HREF="samba-faq.html"><LINK
@ -69,17 +70,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="GENERAL" NAME="GENERAL">Chapter 1. General Information</H1
></A
>Chapter 1. General Information</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN12" NAME="AEN12">1.1. Where can I get it?</H1
></A
>1.1. Where can I get it?</H1
><P ><P
>The Samba suite is available at the <A >The Samba suite is available at the <A
HREF="http://samba.org/" HREF="http://samba.org/"
@ -92,9 +89,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN16" NAME="AEN16">1.2. What do the version numbers mean?</H1
></A
>1.2. What do the version numbers mean?</H1
><P ><P
>It is not recommended that you run a version of Samba with the word >It is not recommended that you run a version of Samba with the word
"alpha" in its name unless you know what you are doing and are willing "alpha" in its name unless you know what you are doing and are willing
@ -141,7 +136,7 @@ levels are released which give us the pXX series, for example 1.9.16p2.</TD
></TABLE ></TABLE
><P ><P
></P ></P
>&#13;</P ></P
><P ><P
>So the progression goes: >So the progression goes:
@ -166,9 +161,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN28" NAME="AEN28">1.3. What platforms are supported?</H1
></A
>1.3. What platforms are supported?</H1
><P ><P
>Many different platforms have run Samba successfully. The platforms >Many different platforms have run Samba successfully. The platforms
most widely used and thus best tested are Linux and SunOS.</P most widely used and thus best tested are Linux and SunOS.</P
@ -342,9 +335,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN71" NAME="AEN71">1.4. How do I subscribe to the Samba Mailing Lists?</H1
></A
>1.4. How do I subscribe to the Samba Mailing Lists?</H1
><P ><P
>Look at <A >Look at <A
HREF="http://samba.org/samba/archives.html" HREF="http://samba.org/samba/archives.html"
@ -357,15 +348,13 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN75" NAME="AEN75">1.5. Pizza supply details</H1
></A
>1.5. Pizza supply details</H1
><P ><P
>Those who have registered in the Samba survey as "Pizza Factory" will >Those who have registered in the Samba survey as "Pizza Factory" will
already know this, but the rest may need some help. Andrew doesn't ask already know this, but the rest may need some help. Andrew doesn't ask
for payment, but he does appreciate it when people give him for payment, but he does appreciate it when people give him
pizza. This calls for a little organisation when the pizza donor is pizza. This calls for a little organisation when the pizza donor is
twenty thousand kilometres away, but it has been done.&#13;</P twenty thousand kilometres away, but it has been done.</P
><P ><P
>Method 1: Ring up your local branch of an international pizza chain >Method 1: Ring up your local branch of an international pizza chain
and see if they honour their vouchers internationally. Pizza Hut do, and see if they honour their vouchers internationally. Pizza Hut do,

View File

@ -5,7 +5,8 @@
>Compiling and installing Samba on a Unix host</TITLE >Compiling and installing Samba on a Unix host</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="Samba FAQ" TITLE="Samba FAQ"
HREF="samba-faq.html"><LINK HREF="samba-faq.html"><LINK
@ -69,17 +70,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="INSTALL" NAME="INSTALL">Chapter 2. Compiling and installing Samba on a Unix host</H1
></A
>Chapter 2. Compiling and installing Samba on a Unix host</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN84" NAME="AEN84">2.1. I can't see the Samba server in any browse lists!</H1
></A
>2.1. I can't see the Samba server in any browse lists!</H1
><P ><P
>See Browsing.html in the docs directory of the samba source >See Browsing.html in the docs directory of the samba source
for more information on browsing.</P for more information on browsing.</P
@ -100,9 +97,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN89" NAME="AEN89">2.2. Some files that I KNOW are on the server doesn't show up when I view the files from my client!</H1
></A
>2.2. Some files that I KNOW are on the server doesn't show up when I view the files from my client!</H1
><P ><P
>See the next question.</P >See the next question.</P
></DIV ></DIV
@ -111,9 +106,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN92" NAME="AEN92">2.3. Some files on the server show up with really wierd filenames when I view the files from my client!</H1
></A
>2.3. Some files on the server show up with really wierd filenames when I view the files from my client!</H1
><P ><P
>If you check what files are not showing up, you will note that they >If you check what files are not showing up, you will note that they
are files which contain upper case letters or which are otherwise not are files which contain upper case letters or which are otherwise not
@ -131,9 +124,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN96" NAME="AEN96">2.4. My client reports "cannot locate specified computer" or similar</H1
></A
>2.4. My client reports "cannot locate specified computer" or similar</H1
><P ><P
>This indicates one of three things: You supplied an incorrect server >This indicates one of three things: You supplied an incorrect server
name, the underlying TCP/IP layer is not working correctly, or the name, the underlying TCP/IP layer is not working correctly, or the
@ -166,9 +157,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN103" NAME="AEN103">2.5. My client reports "cannot locate specified share name" or similar</H1
></A
>2.5. My client reports "cannot locate specified share name" or similar</H1
><P ><P
>This message indicates that your client CAN locate the specified >This message indicates that your client CAN locate the specified
server, which is a good start, but that it cannot find a service of server, which is a good start, but that it cannot find a service of
@ -209,9 +198,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN112" NAME="AEN112">2.6. Printing doesn't work</H1
></A
>2.6. Printing doesn't work</H1
><P ><P
>Make sure that the specified print command for the service you are >Make sure that the specified print command for the service you are
connecting to is correct and that it has a fully-qualified path (eg., connecting to is correct and that it has a fully-qualified path (eg.,
@ -245,9 +232,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN120" NAME="AEN120">2.7. My client reports "This server is not configured to list shared resources"</H1
></A
>2.7. My client reports "This server is not configured to list shared resources"</H1
><P ><P
>Your guest account is probably invalid for some reason. Samba uses the >Your guest account is probably invalid for some reason. Samba uses the
guest account for browsing in smbd. Check that your guest account is guest account for browsing in smbd. Check that your guest account is
@ -260,9 +245,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN124" NAME="AEN124">2.8. Log message "you appear to have a trapdoor uid system"</H1
></A
>2.8. Log message "you appear to have a trapdoor uid system"</H1
><P ><P
>This can have several causes. It might be because you are using a uid >This can have several causes. It might be because you are using a uid
or gid of 65535 or -1. This is a VERY bad idea, and is a big security or gid of 65535 or -1. This is a VERY bad idea, and is a big security
@ -301,9 +284,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN132" NAME="AEN132">2.9. Why are my file's timestamps off by an hour, or by a few hours?</H1
></A
>2.9. Why are my file's timestamps off by an hour, or by a few hours?</H1
><P ><P
>This is from Paul Eggert eggert@twinsun.com.</P >This is from Paul Eggert eggert@twinsun.com.</P
><P ><P
@ -418,20 +399,16 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN155" NAME="AEN155">2.10. How do I set the printer driver name correctly?</H1
></A
>2.10. How do I set the printer driver name correctly?</H1
><P ><P
>Question:</P >Question:
><P <SPAN
><SPAN
CLASS="QUOTE" CLASS="QUOTE"
>" On NT, I opened "Printer Manager" and "Connect to Printer". >" On NT, I opened "Printer Manager" and "Connect to Printer".
Enter ["\\ptdi270\ps1"] in the box of printer. I got the Enter ["\\ptdi270\ps1"] in the box of printer. I got the
following error message following error message
"</SPAN "</SPAN
> ></P
</P
><P ><P
> <PRE > <PRE
CLASS="PROGRAMLISTING" CLASS="PROGRAMLISTING"

View File

@ -5,7 +5,8 @@
>Samba FAQ</TITLE >Samba FAQ</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="NEXT" REL="NEXT"
TITLE="General Information" TITLE="General Information"
HREF="general.html"></HEAD HREF="general.html"></HEAD
@ -19,28 +20,20 @@ ALINK="#0000FF"
><DIV ><DIV
CLASS="BOOK" CLASS="BOOK"
><A ><A
NAME="SAMBA-FAQ" NAME="SAMBA-FAQ"><DIV
></A
><DIV
CLASS="TITLEPAGE" CLASS="TITLEPAGE"
><H1 ><H1
CLASS="TITLE" CLASS="TITLE"
><A ><A
NAME="SAMBA-FAQ" NAME="SAMBA-FAQ">Samba FAQ</H1
></A
>Samba FAQ</H1
><H3 ><H3
CLASS="AUTHOR" CLASS="AUTHOR"
><A ><A
NAME="AEN4" NAME="AEN4">Samba Team</H3
></A
>Samba Team</H3
><HR></DIV ><HR></DIV
><H1 ><H1
><A ><A
NAME="AEN7" NAME="AEN7">Dedication</H1
></A
>Dedication</H1
><P ><P
>This is the Frequently Asked Questions (FAQ) document for >This is the Frequently Asked Questions (FAQ) document for
Samba, the free and very popular SMB server product. An SMB server Samba, the free and very popular SMB server product. An SMB server
@ -163,7 +156,7 @@ HREF="config.html"
><DL ><DL
><DT ><DT
>3.1. <A >3.1. <A
HREF="config.html#AEN170" HREF="config.html#AEN169"
>I have set 'force user' and samba still makes 'root' the owner of all the files I touch!</A >I have set 'force user' and samba still makes 'root' the owner of all the files I touch!</A
></DT ></DT
></DL ></DL
@ -177,17 +170,17 @@ HREF="clientapp.html"
><DL ><DL
><DT ><DT
>4.1. <A >4.1. <A
HREF="clientapp.html#AEN175" HREF="clientapp.html#AEN174"
>MS Office Setup reports "Cannot change properties of '\MSOFFICE\SETUP.INI'"</A >MS Office Setup reports "Cannot change properties of '\MSOFFICE\SETUP.INI'"</A
></DT ></DT
><DT ><DT
>4.2. <A >4.2. <A
HREF="clientapp.html#AEN180" HREF="clientapp.html#AEN179"
>How to use a Samba share as an administrative share for MS Office, etc.</A >How to use a Samba share as an administrative share for MS Office, etc.</A
></DT ></DT
><DT ><DT
>4.3. <A >4.3. <A
HREF="clientapp.html#AEN195" HREF="clientapp.html#AEN194"
>Microsoft Access database opening errors</A >Microsoft Access database opening errors</A
></DT ></DT
></DL ></DL
@ -201,34 +194,39 @@ HREF="errors.html"
><DL ><DL
><DT ><DT
>5.1. <A >5.1. <A
HREF="errors.html#AEN206" HREF="errors.html#AEN205"
>Not listening for calling name</A >Not listening for calling name</A
></DT ></DT
><DT ><DT
>5.2. <A >5.2. <A
HREF="errors.html#AEN213" HREF="errors.html#AEN212"
>System Error 1240</A >System Error 1240</A
></DT ></DT
><DT ><DT
>5.3. <A >5.3. <A
HREF="errors.html#AEN220" HREF="errors.html#AEN219"
>smbclient ignores -N !</A >smbclient ignores -N !</A
></DT ></DT
><DT ><DT
>5.4. <A >5.4. <A
HREF="errors.html#AEN229" HREF="errors.html#AEN228"
>The data on the CD-Drive I've shared seems to be corrupted!</A >The data on the CD-Drive I've shared seems to be corrupted!</A
></DT ></DT
><DT ><DT
>5.5. <A >5.5. <A
HREF="errors.html#AEN233" HREF="errors.html#AEN232"
>Why can users access home directories of other users?</A >Why can users access home directories of other users?</A
></DT ></DT
><DT ><DT
>5.6. <A >5.6. <A
HREF="errors.html#AEN246" HREF="errors.html#AEN245"
>Until a few minutes after samba has started, clients get the error "Domain Controller Unavailable"</A >Until a few minutes after samba has started, clients get the error "Domain Controller Unavailable"</A
></DT ></DT
><DT
>5.7. <A
HREF="errors.html#AEN248"
>I'm getting "open_oplock_ipc: Failed to get local UDP socket for address 100007f. Error was Cannot assign requested" in the logs</A
></DT
></DL ></DL
></DD ></DD
><DT ><DT
@ -240,56 +238,56 @@ HREF="features.html"
><DL ><DL
><DT ><DT
>6.1. <A >6.1. <A
HREF="features.html#AEN251" HREF="features.html#AEN253"
>How can I prevent my samba server from being used to distribute the Nimda worm?</A >How can I prevent my samba server from being used to distribute the Nimda worm?</A
></DT ></DT
><DT ><DT
>6.2. <A >6.2. <A
HREF="features.html#AEN265" HREF="features.html#AEN267"
>How can I use samba as a fax server?</A >How can I use samba as a fax server?</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>6.2.1. <A >6.2.1. <A
HREF="features.html#AEN276" HREF="features.html#AEN278"
>Tools for printing faxes</A >Tools for printing faxes</A
></DT ></DT
><DT ><DT
>6.2.2. <A >6.2.2. <A
HREF="features.html#AEN286" HREF="features.html#AEN288"
>Making the fax-server</A >Making the fax-server</A
></DT ></DT
><DT ><DT
>6.2.3. <A >6.2.3. <A
HREF="features.html#AEN302" HREF="features.html#AEN304"
>Installing the client drivers</A >Installing the client drivers</A
></DT ></DT
><DT ><DT
>6.2.4. <A >6.2.4. <A
HREF="features.html#AEN316" HREF="features.html#AEN318"
>Example smb.conf</A >Example smb.conf</A
></DT ></DT
></DL ></DL
></DD ></DD
><DT ><DT
>6.3. <A >6.3. <A
HREF="features.html#AEN320" HREF="features.html#AEN322"
>Samba doesn't work well together with DHCP!</A >Samba doesn't work well together with DHCP!</A
></DT ></DT
><DT ><DT
>6.4. <A >6.4. <A
HREF="features.html#AEN333" HREF="features.html#AEN335"
>How can I assign NetBIOS names to clients with DHCP?</A >How can I assign NetBIOS names to clients with DHCP?</A
></DT ></DT
><DT ><DT
>6.5. <A >6.5. <A
HREF="features.html#AEN340" HREF="features.html#AEN342"
>How do I convert between unix and dos text formats?</A >How do I convert between unix and dos text formats?</A
></DT ></DT
><DT ><DT
>6.6. <A >6.6. <A
HREF="features.html#AEN345" HREF="features.html#AEN347"
>Does samba have wins replication support?</A >Does samba have wins replication support?</A
></DT ></DT
></DL ></DL

View File

@ -5,7 +5,8 @@
>Samba as a ADS domain member</TITLE >Samba as a ADS domain member</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,14 +73,10 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="ADS" NAME="ADS">Chapter 8. Samba as a ADS domain member</H1
></A
>Chapter 9. Samba as a ADS domain member</H1
><P ><P
>This is a VERY ROUGH guide to setting up the current (November 2001) >This is a rough guide to setting up Samba 3.0 with kerberos authentication against a
pre-alpha version of Samba 3.0 with kerberos authentication against a Windows2000 KDC. </P
Windows2000 KDC. The procedures listed here are likely to change as
the code develops.</P
><P ><P
>Pieces you need before you begin: >Pieces you need before you begin:
<P <P
@ -113,9 +110,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1203" NAME="AEN1187">8.1. Installing the required packages for Debian</H1
></A
>9.1. Installing the required packages for Debian</H1
><P ><P
>On Debian you need to install the following packages: >On Debian you need to install the following packages:
<P <P
@ -142,9 +137,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1209" NAME="AEN1193">8.2. Installing the required packages for RedHat</H1
></A
>9.2. Installing the required packages for RedHat</H1
><P ><P
>On RedHat this means you should have at least: >On RedHat this means you should have at least:
<P <P
@ -180,9 +173,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1218" NAME="AEN1202">8.3. Compile Samba</H1
></A
>9.3. Compile Samba</H1
><P ><P
>If your kerberos libraries are in a non-standard location then >If your kerberos libraries are in a non-standard location then
remember to add the configure option --with-krb5=DIR.</P remember to add the configure option --with-krb5=DIR.</P
@ -206,13 +197,22 @@ CLASS="PROGRAMLISTING"
><PRE ><PRE
CLASS="PROGRAMLISTING" CLASS="PROGRAMLISTING"
> realm = YOUR.KERBEROS.REALM > realm = YOUR.KERBEROS.REALM
ads server = your.kerberos.server
security = ADS security = ADS
encrypt passwords = yes</PRE encrypt passwords = yes</PRE
></P ></P
><P ><P
>Strictly speaking, you can omit the realm name and you can use an IP >In case samba can't figure out your ads server using your realm name, use the
address for the ads server. In that case Samba will auto-detect these.</P <B
CLASS="COMMAND"
>ads server</B
> option in <TT
CLASS="FILENAME"
>smb.conf</TT
>:
<PRE
CLASS="PROGRAMLISTING"
> ads server = your.kerberos.server</PRE
></P
><P ><P
>You do *not* need a smbpasswd file, although it won't do any harm >You do *not* need a smbpasswd file, although it won't do any harm
and if you have one then Samba will be able to fall back to normal and if you have one then Samba will be able to fall back to normal
@ -225,9 +225,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1230" NAME="AEN1217">8.4. Setup your /etc/krb5.conf</H1
></A
>9.4. Setup your /etc/krb5.conf</H1
><P ><P
>The minimal configuration for krb5.conf is:</P >The minimal configuration for krb5.conf is:</P
><P ><P
@ -264,9 +262,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1240" NAME="AEN1227">8.5. Create the computer account</H1
></A
>9.5. Create the computer account</H1
><P ><P
>Do a "kinit" as a user that has authority to change arbitrary >Do a "kinit" as a user that has authority to change arbitrary
passwords on the KDC ("Administrator" is a good choice). Then as a passwords on the KDC ("Administrator" is a good choice). Then as a
@ -281,9 +277,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1244" NAME="AEN1231">8.5.1. Possible errors</H2
></A
>9.5.1. Possible errors</H2
><P ><P
><P ><P
></P ></P
@ -312,9 +306,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1256" NAME="AEN1243">8.6. Test your server setup</H1
></A
>9.6. Test your server setup</H1
><P ><P
>On a Windows 2000 client try <B >On a Windows 2000 client try <B
CLASS="COMMAND" CLASS="COMMAND"
@ -332,9 +324,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1261" NAME="AEN1248">8.7. Testing with smbclient</H1
></A
>9.7. Testing with smbclient</H1
><P ><P
>On your Samba server try to login to a Win2000 server or your Samba >On your Samba server try to login to a Win2000 server or your Samba
server using smbclient and kerberos. Use smbclient as usual, but server using smbclient and kerberos. Use smbclient as usual, but
@ -345,9 +335,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1264" NAME="AEN1251">8.8. Notes</H1
></A
>9.8. Notes</H1
><P ><P
>You must change administrator password at least once after DC install, >You must change administrator password at least once after DC install,
to create the right encoding types</P to create the right encoding types</P

View File

@ -5,7 +5,8 @@
>Appendixes</TITLE >Appendixes</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -68,9 +69,7 @@ WIDTH="100%"></DIV
><DIV ><DIV
CLASS="PART" CLASS="PART"
><A ><A
NAME="APPENDIXES" NAME="APPENDIXES"><DIV
></A
><DIV
CLASS="TITLEPAGE" CLASS="TITLEPAGE"
><H1 ><H1
CLASS="TITLE" CLASS="TITLE"
@ -83,243 +82,243 @@ CLASS="TOC"
>Table of Contents</B >Table of Contents</B
></DT ></DT
><DT ><DT
>24. <A >23. <A
HREF="portability.html" HREF="portability.html"
>Portability</A >Portability</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>24.1. <A >23.1. <A
HREF="portability.html#AEN3198" HREF="portability.html#AEN3139"
>HPUX</A >HPUX</A
></DT ></DT
><DT ><DT
>24.2. <A >23.2. <A
HREF="portability.html#AEN3204" HREF="portability.html#AEN3145"
>SCO Unix</A >SCO Unix</A
></DT ></DT
><DT ><DT
>24.3. <A >23.3. <A
HREF="portability.html#AEN3208" HREF="portability.html#AEN3149"
>DNIX</A >DNIX</A
></DT ></DT
><DT ><DT
>24.4. <A >23.4. <A
HREF="portability.html#AEN3237" HREF="portability.html#AEN3178"
>RedHat Linux Rembrandt-II</A >RedHat Linux Rembrandt-II</A
></DT ></DT
></DL ></DL
></DD ></DD
><DT ><DT
>25. <A >24. <A
HREF="other-clients.html" HREF="other-clients.html"
>Samba and other CIFS clients</A >Samba and other CIFS clients</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>25.1. <A >24.1. <A
HREF="other-clients.html#AEN3258" HREF="other-clients.html#AEN3199"
>Macintosh clients?</A >Macintosh clients?</A
></DT ></DT
><DT ><DT
>25.2. <A >24.2. <A
HREF="other-clients.html#AEN3267" HREF="other-clients.html#AEN3208"
>OS2 Client</A >OS2 Client</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>25.2.1. <A >24.2.1. <A
HREF="other-clients.html#AEN3269" HREF="other-clients.html#AEN3210"
>How can I configure OS/2 Warp Connect or >How can I configure OS/2 Warp Connect or
OS/2 Warp 4 as a client for Samba?</A OS/2 Warp 4 as a client for Samba?</A
></DT ></DT
><DT ><DT
>25.2.2. <A >24.2.2. <A
HREF="other-clients.html#AEN3284" HREF="other-clients.html#AEN3225"
>How can I configure OS/2 Warp 3 (not Connect), >How can I configure OS/2 Warp 3 (not Connect),
OS/2 1.2, 1.3 or 2.x for Samba?</A OS/2 1.2, 1.3 or 2.x for Samba?</A
></DT ></DT
><DT ><DT
>25.2.3. <A >24.2.3. <A
HREF="other-clients.html#AEN3293" HREF="other-clients.html#AEN3234"
>Are there any other issues when OS/2 (any version) >Are there any other issues when OS/2 (any version)
is used as a client?</A is used as a client?</A
></DT ></DT
><DT ><DT
>25.2.4. <A >24.2.4. <A
HREF="other-clients.html#AEN3297" HREF="other-clients.html#AEN3238"
>How do I get printer driver download working >How do I get printer driver download working
for OS/2 clients?</A for OS/2 clients?</A
></DT ></DT
></DL ></DL
></DD ></DD
><DT ><DT
>25.3. <A >24.3. <A
HREF="other-clients.html#AEN3307" HREF="other-clients.html#AEN3248"
>Windows for Workgroups</A >Windows for Workgroups</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>25.3.1. <A >24.3.1. <A
HREF="other-clients.html#AEN3309" HREF="other-clients.html#AEN3250"
>Use latest TCP/IP stack from Microsoft</A >Use latest TCP/IP stack from Microsoft</A
></DT ></DT
><DT ><DT
>25.3.2. <A >24.3.2. <A
HREF="other-clients.html#AEN3314" HREF="other-clients.html#AEN3255"
>Delete .pwl files after password change</A >Delete .pwl files after password change</A
></DT ></DT
><DT ><DT
>25.3.3. <A >24.3.3. <A
HREF="other-clients.html#AEN3319" HREF="other-clients.html#AEN3260"
>Configure WfW password handling</A >Configure WfW password handling</A
></DT ></DT
><DT ><DT
>25.3.4. <A >24.3.4. <A
HREF="other-clients.html#AEN3323" HREF="other-clients.html#AEN3264"
>Case handling of passwords</A >Case handling of passwords</A
></DT ></DT
></DL ></DL
></DD ></DD
><DT ><DT
>25.4. <A >24.4. <A
HREF="other-clients.html#AEN3328" HREF="other-clients.html#AEN3269"
>Windows '95/'98</A >Windows '95/'98</A
></DT ></DT
><DT ><DT
>25.5. <A >24.5. <A
HREF="other-clients.html#AEN3344" HREF="other-clients.html#AEN3285"
>Windows 2000 Service Pack 2</A >Windows 2000 Service Pack 2</A
></DT ></DT
></DL ></DL
></DD ></DD
><DT ><DT
>26. <A >25. <A
HREF="bugreport.html" HREF="bugreport.html"
>Reporting Bugs</A >Reporting Bugs</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>26.1. <A >25.1. <A
HREF="bugreport.html#AEN3368" HREF="bugreport.html#AEN3309"
>Introduction</A >Introduction</A
></DT ></DT
><DT ><DT
>26.2. <A >25.2. <A
HREF="bugreport.html#AEN3378" HREF="bugreport.html#AEN3319"
>General info</A >General info</A
></DT ></DT
><DT ><DT
>26.3. <A >25.3. <A
HREF="bugreport.html#AEN3384" HREF="bugreport.html#AEN3325"
>Debug levels</A >Debug levels</A
></DT ></DT
><DT ><DT
>26.4. <A >25.4. <A
HREF="bugreport.html#AEN3401" HREF="bugreport.html#AEN3342"
>Internal errors</A >Internal errors</A
></DT ></DT
><DT ><DT
>26.5. <A >25.5. <A
HREF="bugreport.html#AEN3411" HREF="bugreport.html#AEN3352"
>Attaching to a running process</A >Attaching to a running process</A
></DT ></DT
><DT ><DT
>26.6. <A >25.6. <A
HREF="bugreport.html#AEN3414" HREF="bugreport.html#AEN3355"
>Patches</A >Patches</A
></DT ></DT
></DL ></DL
></DD ></DD
><DT ><DT
>27. <A >26. <A
HREF="diagnosis.html" HREF="diagnosis.html"
>Diagnosing your samba server</A >Diagnosing your samba server</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>27.1. <A >26.1. <A
HREF="diagnosis.html#AEN3437" HREF="diagnosis.html#AEN3378"
>Introduction</A >Introduction</A
></DT ></DT
><DT ><DT
>27.2. <A >26.2. <A
HREF="diagnosis.html#AEN3442" HREF="diagnosis.html#AEN3383"
>Assumptions</A >Assumptions</A
></DT ></DT
><DT ><DT
>27.3. <A >26.3. <A
HREF="diagnosis.html#AEN3452" HREF="diagnosis.html#AEN3393"
>Tests</A >Tests</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>27.3.1. <A >26.3.1. <A
HREF="diagnosis.html#AEN3454" HREF="diagnosis.html#AEN3395"
>Test 1</A >Test 1</A
></DT ></DT
><DT ><DT
>27.3.2. <A >26.3.2. <A
HREF="diagnosis.html#AEN3460" HREF="diagnosis.html#AEN3401"
>Test 2</A >Test 2</A
></DT ></DT
><DT ><DT
>27.3.3. <A >26.3.3. <A
HREF="diagnosis.html#AEN3466" HREF="diagnosis.html#AEN3407"
>Test 3</A >Test 3</A
></DT ></DT
><DT ><DT
>27.3.4. <A >26.3.4. <A
HREF="diagnosis.html#AEN3481" HREF="diagnosis.html#AEN3422"
>Test 4</A >Test 4</A
></DT ></DT
><DT ><DT
>27.3.5. <A >26.3.5. <A
HREF="diagnosis.html#AEN3486" HREF="diagnosis.html#AEN3427"
>Test 5</A >Test 5</A
></DT ></DT
><DT ><DT
>27.3.6. <A >26.3.6. <A
HREF="diagnosis.html#AEN3492" HREF="diagnosis.html#AEN3433"
>Test 6</A >Test 6</A
></DT ></DT
><DT ><DT
>27.3.7. <A >26.3.7. <A
HREF="diagnosis.html#AEN3500" HREF="diagnosis.html#AEN3441"
>Test 7</A >Test 7</A
></DT ></DT
><DT ><DT
>27.3.8. <A >26.3.8. <A
HREF="diagnosis.html#AEN3526" HREF="diagnosis.html#AEN3467"
>Test 8</A >Test 8</A
></DT ></DT
><DT ><DT
>27.3.9. <A >26.3.9. <A
HREF="diagnosis.html#AEN3543" HREF="diagnosis.html#AEN3484"
>Test 9</A >Test 9</A
></DT ></DT
><DT ><DT
>27.3.10. <A >26.3.10. <A
HREF="diagnosis.html#AEN3551" HREF="diagnosis.html#AEN3492"
>Test 10</A >Test 10</A
></DT ></DT
><DT ><DT
>27.3.11. <A >26.3.11. <A
HREF="diagnosis.html#AEN3557" HREF="diagnosis.html#AEN3498"
>Test 11</A >Test 11</A
></DT ></DT
></DL ></DL
></DD ></DD
><DT ><DT
>27.4. <A >26.4. <A
HREF="diagnosis.html#AEN3562" HREF="diagnosis.html#AEN3503"
>Still having troubles?</A >Still having troubles?</A
></DT ></DT
></DL ></DL

View File

@ -5,7 +5,8 @@
>Quick Cross Subnet Browsing / Cross Workgroup Browsing guide</TITLE >Quick Cross Subnet Browsing / Cross Workgroup Browsing guide</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -13,8 +14,8 @@ REL="UP"
TITLE="General installation" TITLE="General installation"
HREF="introduction.html"><LINK HREF="introduction.html"><LINK
REL="PREVIOUS" REL="PREVIOUS"
TITLE="Oplocks" TITLE="Improved browsing in samba"
HREF="oplocks.html"><LINK HREF="improved-browsing.html"><LINK
REL="NEXT" REL="NEXT"
TITLE="LanMan and NT Password Encryption in Samba" TITLE="LanMan and NT Password Encryption in Samba"
HREF="pwencrypt.html"></HEAD HREF="pwencrypt.html"></HEAD
@ -45,7 +46,7 @@ WIDTH="10%"
ALIGN="left" ALIGN="left"
VALIGN="bottom" VALIGN="bottom"
><A ><A
HREF="oplocks.html" HREF="improved-browsing.html"
ACCESSKEY="P" ACCESSKEY="P"
>Prev</A >Prev</A
></TD ></TD
@ -72,9 +73,7 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="BROWSING-QUICK" NAME="BROWSING-QUICK">Chapter 3. Quick Cross Subnet Browsing / Cross Workgroup Browsing guide</H1
></A
>Chapter 4. Quick Cross Subnet Browsing / Cross Workgroup Browsing guide</H1
><P ><P
>This document should be read in conjunction with Browsing and may >This document should be read in conjunction with Browsing and may
be taken as the fast track guide to implementing browsing across subnets be taken as the fast track guide to implementing browsing across subnets
@ -86,9 +85,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN393" NAME="AEN377">3.1. Discussion</H1
></A
>4.1. Discussion</H1
><P ><P
>Firstly, all MS Windows networking is based on SMB (Server Message >Firstly, all MS Windows networking is based on SMB (Server Message
Block) based messaging. SMB messaging is implemented using NetBIOS. Samba Block) based messaging. SMB messaging is implemented using NetBIOS. Samba
@ -132,9 +129,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN401" NAME="AEN385">3.2. Use of the "Remote Announce" parameter</H1
></A
>4.2. Use of the "Remote Announce" parameter</H1
><P ><P
>The "remote announce" parameter of smb.conf can be used to forcibly ensure >The "remote announce" parameter of smb.conf can be used to forcibly ensure
that all the NetBIOS names on a network get announced to a remote network. that all the NetBIOS names on a network get announced to a remote network.
@ -183,16 +178,14 @@ name resolution problems and should be avoided.</P
></DD ></DD
></DL ></DL
></DIV ></DIV
>&#13;</P ></P
></DIV ></DIV
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN415" NAME="AEN399">3.3. Use of the "Remote Browse Sync" parameter</H1
></A
>4.3. Use of the "Remote Browse Sync" parameter</H1
><P ><P
>The "remote browse sync" parameter of smb.conf is used to announce to >The "remote browse sync" parameter of smb.conf is used to announce to
another LMB that it must synchronise it's NetBIOS name list with our another LMB that it must synchronise it's NetBIOS name list with our
@ -212,9 +205,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN420" NAME="AEN404">3.4. Use of WINS</H1
></A
>4.4. Use of WINS</H1
><P ><P
>Use of WINS (either Samba WINS _or_ MS Windows NT Server WINS) is highly >Use of WINS (either Samba WINS _or_ MS Windows NT Server WINS) is highly
recommended. Every NetBIOS machine registers it's name together with a recommended. Every NetBIOS machine registers it's name together with a
@ -274,9 +265,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN431" NAME="AEN415">3.5. Do NOT use more than one (1) protocol on MS Windows machines</H1
></A
>4.5. Do NOT use more than one (1) protocol on MS Windows machines</H1
><P ><P
>A very common cause of browsing problems results from installing more than >A very common cause of browsing problems results from installing more than
one protocol on an MS Windows machine.</P one protocol on an MS Windows machine.</P
@ -304,9 +293,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN437" NAME="AEN421">3.6. Name Resolution Order</H1
></A
>4.6. Name Resolution Order</H1
><P ><P
>Resolution of NetBIOS names to IP addresses can take place using a number >Resolution of NetBIOS names to IP addresses can take place using a number
of methods. The only ones that can provide NetBIOS name_type information of methods. The only ones that can provide NetBIOS name_type information
@ -401,7 +388,7 @@ WIDTH="33%"
ALIGN="left" ALIGN="left"
VALIGN="top" VALIGN="top"
><A ><A
HREF="oplocks.html" HREF="improved-browsing.html"
ACCESSKEY="P" ACCESSKEY="P"
>Prev</A >Prev</A
></TD ></TD
@ -429,7 +416,7 @@ ACCESSKEY="N"
WIDTH="33%" WIDTH="33%"
ALIGN="left" ALIGN="left"
VALIGN="top" VALIGN="top"
>Oplocks</TD >Improved browsing in samba</TD
><TD ><TD
WIDTH="34%" WIDTH="34%"
ALIGN="center" ALIGN="center"

View File

@ -5,7 +5,8 @@
>Reporting Bugs</TITLE >Reporting Bugs</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="BUGREPORT" NAME="BUGREPORT">Chapter 25. Reporting Bugs</H1
></A
>Chapter 26. Reporting Bugs</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3368" NAME="AEN3309">25.1. Introduction</H1
></A
>26.1. Introduction</H1
><P ><P
>The email address for bug reports for stable releases is <A >The email address for bug reports for stable releases is <A
HREF="samba@samba.org" HREF="samba@samba.org"
@ -125,9 +122,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3378" NAME="AEN3319">25.2. General info</H1
></A
>26.2. General info</H1
><P ><P
>Before submitting a bug report check your config for silly >Before submitting a bug report check your config for silly
errors. Look in your log files for obvious messages that tell you that errors. Look in your log files for obvious messages that tell you that
@ -150,9 +145,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3384" NAME="AEN3325">25.3. Debug levels</H1
></A
>26.3. Debug levels</H1
><P ><P
>If the bug has anything to do with Samba behaving incorrectly as a >If the bug has anything to do with Samba behaving incorrectly as a
server (like refusing to open a file) then the log files will probably server (like refusing to open a file) then the log files will probably
@ -220,9 +213,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3401" NAME="AEN3342">25.4. Internal errors</H1
></A
>26.4. Internal errors</H1
><P ><P
>If you get a "INTERNAL ERROR" message in your log files it means that >If you get a "INTERNAL ERROR" message in your log files it means that
Samba got an unexpected signal while running. It is probably a Samba got an unexpected signal while running. It is probably a
@ -264,9 +255,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3411" NAME="AEN3352">25.5. Attaching to a running process</H1
></A
>26.5. Attaching to a running process</H1
><P ><P
>Unfortunately some unixes (in particular some recent linux kernels) >Unfortunately some unixes (in particular some recent linux kernels)
refuse to dump a core file if the task has changed uid (which smbd refuse to dump a core file if the task has changed uid (which smbd
@ -281,9 +270,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3414" NAME="AEN3355">25.6. Patches</H1
></A
>26.6. Patches</H1
><P ><P
>The best sort of bug report is one that includes a fix! If you send us >The best sort of bug report is one that includes a fix! If you send us
patches please use <B patches please use <B

View File

@ -5,7 +5,8 @@
>HOWTO Access Samba source code via CVS</TITLE >HOWTO Access Samba source code via CVS</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="CVS-ACCESS" NAME="CVS-ACCESS">Chapter 20. HOWTO Access Samba source code via CVS</H1
></A
>Chapter 21. HOWTO Access Samba source code via CVS</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2974" NAME="AEN2964">20.1. Introduction</H1
></A
>21.1. Introduction</H1
><P ><P
>Samba is developed in an open environment. Developers use CVS >Samba is developed in an open environment. Developers use CVS
(Concurrent Versioning System) to "checkin" (also known as (Concurrent Versioning System) to "checkin" (also known as
@ -102,9 +99,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2979" NAME="AEN2969">20.2. CVS Access to samba.org</H1
></A
>21.2. CVS Access to samba.org</H1
><P ><P
>The machine samba.org runs a publicly accessible CVS >The machine samba.org runs a publicly accessible CVS
repository for access to the source code of several packages, repository for access to the source code of several packages,
@ -115,9 +110,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2982" NAME="AEN2972">20.2.1. Access via CVSweb</H2
></A
>21.2.1. Access via CVSweb</H2
><P ><P
>You can access the source code via your >You can access the source code via your
favourite WWW browser. This allows you to access the contents of favourite WWW browser. This allows you to access the contents of
@ -136,9 +129,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2987" NAME="AEN2977">20.2.2. Access via cvs</H2
></A
>21.2.2. Access via cvs</H2
><P ><P
>You can also access the source code via a >You can also access the source code via a
normal cvs client. This gives you much more control over you can normal cvs client. This gives you much more control over you can

View File

@ -5,7 +5,8 @@
>Diagnosing your samba server</TITLE >Diagnosing your samba server</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -65,17 +66,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="DIAGNOSIS" NAME="DIAGNOSIS">Chapter 26. Diagnosing your samba server</H1
></A
>Chapter 27. Diagnosing your samba server</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3437" NAME="AEN3378">26.1. Introduction</H1
></A
>27.1. Introduction</H1
><P ><P
>This file contains a list of tests you can perform to validate your >This file contains a list of tests you can perform to validate your
Samba server. It also tells you what the likely cause of the problem Samba server. It also tells you what the likely cause of the problem
@ -95,9 +92,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3442" NAME="AEN3383">26.2. Assumptions</H1
></A
>27.2. Assumptions</H1
><P ><P
>In all of the tests it is assumed you have a Samba server called >In all of the tests it is assumed you have a Samba server called
BIGSERVER and a PC called ACLIENT both in workgroup TESTGROUP.</P BIGSERVER and a PC called ACLIENT both in workgroup TESTGROUP.</P
@ -133,17 +128,13 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3452" NAME="AEN3393">26.3. Tests</H1
></A
>27.3. Tests</H1
><DIV ><DIV
CLASS="SECT2" CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3454" NAME="AEN3395">26.3.1. Test 1</H2
></A
>27.3.1. Test 1</H2
><P ><P
>In the directory in which you store your smb.conf file, run the command >In the directory in which you store your smb.conf file, run the command
"testparm smb.conf". If it reports any errors then your smb.conf "testparm smb.conf". If it reports any errors then your smb.conf
@ -163,9 +154,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3460" NAME="AEN3401">26.3.2. Test 2</H2
></A
>27.3.2. Test 2</H2
><P ><P
>Run the command "ping BIGSERVER" from the PC and "ping ACLIENT" from >Run the command "ping BIGSERVER" from the PC and "ping ACLIENT" from
the unix box. If you don't get a valid response then your TCP/IP the unix box. If you don't get a valid response then your TCP/IP
@ -189,9 +178,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3466" NAME="AEN3407">26.3.3. Test 3</H2
></A
>27.3.3. Test 3</H2
><P ><P
>Run the command "smbclient -L BIGSERVER" on the unix box. You >Run the command "smbclient -L BIGSERVER" on the unix box. You
should get a list of available shares back. </P should get a list of available shares back. </P
@ -260,9 +247,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3481" NAME="AEN3422">26.3.4. Test 4</H2
></A
>27.3.4. Test 4</H2
><P ><P
>Run the command "nmblookup -B BIGSERVER __SAMBA__". You should get the >Run the command "nmblookup -B BIGSERVER __SAMBA__". You should get the
IP address of your Samba server back.</P IP address of your Samba server back.</P
@ -281,9 +266,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3486" NAME="AEN3427">26.3.5. Test 5</H2
></A
>27.3.5. Test 5</H2
><P ><P
>run the command <B >run the command <B
CLASS="COMMAND" CLASS="COMMAND"
@ -302,9 +285,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3492" NAME="AEN3433">26.3.6. Test 6</H2
></A
>27.3.6. Test 6</H2
><P ><P
>Run the command <B >Run the command <B
CLASS="COMMAND" CLASS="COMMAND"
@ -336,9 +317,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3500" NAME="AEN3441">26.3.7. Test 7</H2
></A
>27.3.7. Test 7</H2
><P ><P
>Run the command <B >Run the command <B
CLASS="COMMAND" CLASS="COMMAND"
@ -425,9 +404,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3526" NAME="AEN3467">26.3.8. Test 8</H2
></A
>27.3.8. Test 8</H2
><P ><P
>On the PC type the command <B >On the PC type the command <B
CLASS="COMMAND" CLASS="COMMAND"
@ -485,9 +462,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3543" NAME="AEN3484">26.3.9. Test 9</H2
></A
>27.3.9. Test 9</H2
><P ><P
>Run the command <B >Run the command <B
CLASS="COMMAND" CLASS="COMMAND"
@ -519,9 +494,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3551" NAME="AEN3492">26.3.10. Test 10</H2
></A
>27.3.10. Test 10</H2
><P ><P
>Run the command <B >Run the command <B
CLASS="COMMAND" CLASS="COMMAND"
@ -545,9 +518,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3557" NAME="AEN3498">26.3.11. Test 11</H2
></A
>27.3.11. Test 11</H2
><P ><P
>From file manager try to browse the server. Your samba server should >From file manager try to browse the server. Your samba server should
appear in the browse list of your local workgroup (or the one you appear in the browse list of your local workgroup (or the one you
@ -573,9 +544,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3562" NAME="AEN3503">26.4. Still having troubles?</H1
></A
>27.4. Still having troubles?</H1
><P ><P
>Try the mailing list or newsgroup, or use the ethereal utility to >Try the mailing list or newsgroup, or use the ethereal utility to
sniff the problem. The official samba mailing list can be reached at sniff the problem. The official samba mailing list can be reached at

View File

@ -5,7 +5,8 @@
>Samba as a NT4 domain member</TITLE >Samba as a NT4 domain member</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="DOMAIN-SECURITY" NAME="DOMAIN-SECURITY">Chapter 9. Samba as a NT4 domain member</H1
></A
>Chapter 10. Samba as a NT4 domain member</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1286" NAME="AEN1273">9.1. Joining an NT Domain with Samba 2.2</H1
></A
>10.1. Joining an NT Domain with Samba 2.2</H1
><P ><P
>Assume you have a Samba 2.x server with a NetBIOS name of >Assume you have a Samba 2.x server with a NetBIOS name of
<TT <TT
@ -311,9 +308,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1350" NAME="AEN1337">9.2. Samba and Windows 2000 Domains</H1
></A
>10.2. Samba and Windows 2000 Domains</H1
><P ><P
>Many people have asked regarding the state of Samba's ability to participate in >Many people have asked regarding the state of Samba's ability to participate in
a Windows 2000 Domain. Samba 3.0 is able to act as a member server of a Windows a Windows 2000 Domain. Samba 3.0 is able to act as a member server of a Windows
@ -336,9 +331,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1355" NAME="AEN1342">9.3. Why is this better than security = server?</H1
></A
>10.3. Why is this better than security = server?</H1
><P ><P
>Currently, domain security in Samba doesn't free you from >Currently, domain security in Samba doesn't free you from
having to create local Unix users to represent the users attaching having to create local Unix users to represent the users attaching

View File

@ -1,11 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML <HTML
><HEAD ><HEAD
><TITLE ><TITLE
>findsmb</TITLE >findsmb</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"></HEAD
><BODY ><BODY
CLASS="REFENTRY" CLASS="REFENTRY"
BGCOLOR="#FFFFFF" BGCOLOR="#FFFFFF"
@ -15,9 +16,7 @@ VLINK="#840084"
ALINK="#0000FF" ALINK="#0000FF"
><H1 ><H1
><A ><A
NAME="FINDSMB" NAME="FINDSMB">findsmb</H1
></A
>findsmb</H1
><DIV ><DIV
CLASS="REFNAMEDIV" CLASS="REFNAMEDIV"
><A ><A
@ -30,15 +29,13 @@ NAME="AEN5"
><DIV ><DIV
CLASS="REFSYNOPSISDIV" CLASS="REFSYNOPSISDIV"
><A ><A
NAME="AEN8" NAME="AEN8"><H2
></A
><H2
>Synopsis</H2 >Synopsis</H2
><P ><P
><B ><B
CLASS="COMMAND" CLASS="COMMAND"
>findsmb</B >findsmb</B
> [subnet broadcast address]</P > [subnet broadcast address]</P
></DIV ></DIV
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
@ -90,6 +87,30 @@ NAME="AEN22"
CLASS="VARIABLELIST" CLASS="VARIABLELIST"
><DL ><DL
><DT ><DT
>-r</DT
><DD
><P
>Controls whether <B
CLASS="COMMAND"
>findsmb</B
> takes
bugs in Windows95 into account when trying to find a Netbios name
registered of the remote machine. This option is disabled by default
because it is specific to Windows 95 and Windows 95 machines only.
If set, <A
HREF="nmblookup.1.html"
TARGET="_top"
><B
CLASS="COMMAND"
>nmblookup</B
></A
>
will be called with <TT
CLASS="CONSTANT"
>-B</TT
> option.</P
></DD
><DT
>subnet broadcast address</DT >subnet broadcast address</DT
><DD ><DD
><P ><P
@ -117,7 +138,7 @@ CLASS="CONSTANT"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN33" NAME="AEN41"
></A ></A
><H2 ><H2
>EXAMPLES</H2 >EXAMPLES</H2
@ -141,7 +162,11 @@ CLASS="COMMAND"
not show any information about the operating system or server not show any information about the operating system or server
version.</P version.</P
><P ><P
>The command must be run on a system without <A >The command with <TT
CLASS="CONSTANT"
>-r</TT
> option
must be run on a system without <A
HREF="nmbd.8.html" HREF="nmbd.8.html"
TARGET="_top" TARGET="_top"
><B ><B
@ -155,17 +180,30 @@ CLASS="COMMAND"
> is running on the system, you will > is running on the system, you will
only get the IP address and the DNS name of the machine. To only get the IP address and the DNS name of the machine. To
get proper responses from Windows 95 and Windows 98 machines, get proper responses from Windows 95 and Windows 98 machines,
the command must be run as root. </P the command must be run as root and with <TT
CLASS="CONSTANT"
>-r</TT
>
option on a machine without <B
CLASS="COMMAND"
>nmbd</B
> running.</P
><P ><P
>For example, running <B >For example, running <B
CLASS="COMMAND" CLASS="COMMAND"
>findsmb</B >findsmb</B
> on a machine > without
without <B <TT
CLASS="COMMAND" CLASS="CONSTANT"
>nmbd</B >-r</TT
> running would yield output similar > option set would yield output similar
to the following</P to the following</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE ><PRE
CLASS="SCREEN" CLASS="SCREEN"
><TT ><TT
@ -184,11 +222,14 @@ CLASS="COMPUTEROUTPUT"
192.168.35.97 HERBNT1 *[HERB-NT] [Windows NT 4.0] [NT LAN Manager 4.0] 192.168.35.97 HERBNT1 *[HERB-NT] [Windows NT 4.0] [NT LAN Manager 4.0]
</TT </TT
></PRE ></PRE
></TD
></TR
></TABLE
></DIV ></DIV
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN48" NAME="AEN59"
></A ></A
><H2 ><H2
>VERSION</H2 >VERSION</H2
@ -199,7 +240,7 @@ NAME="AEN48"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN51" NAME="AEN62"
></A ></A
><H2 ><H2
>SEE ALSO</H2 >SEE ALSO</H2
@ -233,7 +274,7 @@ CLASS="COMMAND"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN60" NAME="AEN71"
></A ></A
><H2 ><H2
>AUTHOR</H2 >AUTHOR</H2

View File

@ -5,7 +5,8 @@
>Group mapping HOWTO</TITLE >Group mapping HOWTO</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,9 +73,7 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="GROUPMAPPING" NAME="GROUPMAPPING">Chapter 21. Group mapping HOWTO</H1
></A
>Chapter 22. Group mapping HOWTO</H1
><P ><P
> >
Starting with Samba 3.0 alpha 2, a new group mapping function is available. The Starting with Samba 3.0 alpha 2, a new group mapping function is available. The

View File

@ -5,7 +5,8 @@
>Improved browsing in samba</TITLE >Improved browsing in samba</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -16,8 +17,8 @@ REL="PREVIOUS"
TITLE="How to Install and Test SAMBA" TITLE="How to Install and Test SAMBA"
HREF="install.html"><LINK HREF="install.html"><LINK
REL="NEXT" REL="NEXT"
TITLE="Oplocks" TITLE="Quick Cross Subnet Browsing / Cross Workgroup Browsing guide"
HREF="oplocks.html"></HEAD HREF="browsing-quick.html"></HEAD
><BODY ><BODY
CLASS="CHAPTER" CLASS="CHAPTER"
BGCOLOR="#FFFFFF" BGCOLOR="#FFFFFF"
@ -59,7 +60,7 @@ WIDTH="10%"
ALIGN="right" ALIGN="right"
VALIGN="bottom" VALIGN="bottom"
><A ><A
HREF="oplocks.html" HREF="browsing-quick.html"
ACCESSKEY="N" ACCESSKEY="N"
>Next</A >Next</A
></TD ></TD
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="IMPROVED-BROWSING" NAME="IMPROVED-BROWSING">Chapter 2. Improved browsing in samba</H1
></A
>Chapter 2. Improved browsing in samba</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN229" NAME="AEN229">2.1. Overview of browsing</H1
></A
>2.1. Overview of browsing</H1
><P ><P
>SMB networking provides a mechanism by which clients can access a list >SMB networking provides a mechanism by which clients can access a list
of machines in a network, a so-called "browse list". This list of machines in a network, a so-called "browse list". This list
@ -104,9 +101,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN233" NAME="AEN233">2.2. Browsing support in samba</H1
></A
>2.2. Browsing support in samba</H1
><P ><P
>Samba now fully supports browsing. The browsing is supported by nmbd >Samba now fully supports browsing. The browsing is supported by nmbd
and is also controlled by options in the smb.conf file (see smb.conf(5)).</P and is also controlled by options in the smb.conf file (see smb.conf(5)).</P
@ -149,9 +144,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN242" NAME="AEN242">2.3. Problem resolution</H1
></A
>2.3. Problem resolution</H1
><P ><P
>If something doesn't work then hopefully the log.nmb file will help >If something doesn't work then hopefully the log.nmb file will help
you track down the problem. Try a debug level of 2 or 3 for finding you track down the problem. Try a debug level of 2 or 3 for finding
@ -183,9 +176,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN249" NAME="AEN249">2.4. Browsing across subnets</H1
></A
>2.4. Browsing across subnets</H1
><P ><P
>With the release of Samba 1.9.17(alpha1 and above) Samba has been >With the release of Samba 1.9.17(alpha1 and above) Samba has been
updated to enable it to support the replication of browse lists updated to enable it to support the replication of browse lists
@ -214,9 +205,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN254" NAME="AEN254">2.4.1. How does cross subnet browsing work ?</H2
></A
>2.4.1. How does cross subnet browsing work ?</H2
><P ><P
>Cross subnet browsing is a complicated dance, containing multiple >Cross subnet browsing is a complicated dance, containing multiple
moving parts. It has taken Microsoft several years to get the code moving parts. It has taken Microsoft several years to get the code
@ -426,9 +415,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN289" NAME="AEN289">2.5. Setting up a WINS server</H1
></A
>2.5. Setting up a WINS server</H1
><P ><P
>Either a Samba machine or a Windows NT Server machine may be set up >Either a Samba machine or a Windows NT Server machine may be set up
as a WINS server. To set a Samba machine to be a WINS server you must as a WINS server. To set a Samba machine to be a WINS server you must
@ -509,9 +496,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN308" NAME="AEN308">2.6. Setting up Browsing in a WORKGROUP</H1
></A
>2.6. Setting up Browsing in a WORKGROUP</H1
><P ><P
>To set up cross subnet browsing on a network containing machines >To set up cross subnet browsing on a network containing machines
in up to be in a WORKGROUP, not an NT Domain you need to set up one in up to be in a WORKGROUP, not an NT Domain you need to set up one
@ -593,9 +578,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN326" NAME="AEN326">2.7. Setting up Browsing in a DOMAIN</H1
></A
>2.7. Setting up Browsing in a DOMAIN</H1
><P ><P
>If you are adding Samba servers to a Windows NT Domain then >If you are adding Samba servers to a Windows NT Domain then
you must not set up a Samba server as a domain master browser. you must not set up a Samba server as a domain master browser.
@ -644,9 +627,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN336" NAME="AEN336">2.8. Forcing samba to be the master</H1
></A
>2.8. Forcing samba to be the master</H1
><P ><P
>Who becomes the "master browser" is determined by an election process >Who becomes the "master browser" is determined by an election process
using broadcasts. Each election packet contains a number of parameters using broadcasts. Each election packet contains a number of parameters
@ -692,9 +673,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN345" NAME="AEN345">2.9. Making samba the domain master</H1
></A
>2.9. Making samba the domain master</H1
><P ><P
>The domain master is responsible for collating the browse lists of >The domain master is responsible for collating the browse lists of
multiple subnets so that browsing can occur between subnets. You can multiple subnets so that browsing can occur between subnets. You can
@ -765,9 +744,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN363" NAME="AEN363">2.10. Note about broadcast addresses</H1
></A
>2.10. Note about broadcast addresses</H1
><P ><P
>If your network uses a "0" based broadcast address (for example if it >If your network uses a "0" based broadcast address (for example if it
ends in a 0) then you will strike problems. Windows for Workgroups ends in a 0) then you will strike problems. Windows for Workgroups
@ -779,9 +756,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN366" NAME="AEN366">2.11. Multiple interfaces</H1
></A
>2.11. Multiple interfaces</H1
><P ><P
>Samba now supports machines with multiple network interfaces. If you >Samba now supports machines with multiple network interfaces. If you
have multiple interfaces then you will need to use the "interfaces" have multiple interfaces then you will need to use the "interfaces"
@ -822,7 +797,7 @@ WIDTH="33%"
ALIGN="right" ALIGN="right"
VALIGN="top" VALIGN="top"
><A ><A
HREF="oplocks.html" HREF="browsing-quick.html"
ACCESSKEY="N" ACCESSKEY="N"
>Next</A >Next</A
></TD ></TD
@ -846,7 +821,7 @@ ACCESSKEY="U"
WIDTH="33%" WIDTH="33%"
ALIGN="right" ALIGN="right"
VALIGN="top" VALIGN="top"
>Oplocks</TD >Quick Cross Subnet Browsing / Cross Workgroup Browsing guide</TD
></TR ></TR
></TABLE ></TABLE
></DIV ></DIV

View File

@ -5,7 +5,8 @@
>How to Install and Test SAMBA</TITLE >How to Install and Test SAMBA</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="INSTALL" NAME="INSTALL">Chapter 1. How to Install and Test SAMBA</H1
></A
>Chapter 1. How to Install and Test SAMBA</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN26" NAME="AEN26">1.1. Read the man pages</H1
></A
>1.1. Read the man pages</H1
><P ><P
>The man pages distributed with SAMBA contain >The man pages distributed with SAMBA contain
lots of useful info that will help to get you started. lots of useful info that will help to get you started.
@ -122,9 +119,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN36" NAME="AEN36">1.2. Building the Binaries</H1
></A
>1.2. Building the Binaries</H1
><P ><P
>To do this, first run the program <B >To do this, first run the program <B
CLASS="COMMAND" CLASS="COMMAND"
@ -221,9 +216,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN64" NAME="AEN64">1.3. The all important step</H1
></A
>1.3. The all important step</H1
><P ><P
>At this stage you must fetch yourself a >At this stage you must fetch yourself a
coffee or other drink you find stimulating. Getting the rest coffee or other drink you find stimulating. Getting the rest
@ -238,9 +231,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN68" NAME="AEN68">1.4. Create the smb configuration file.</H1
></A
>1.4. Create the smb configuration file.</H1
><P ><P
>There are sample configuration files in the examples >There are sample configuration files in the examples
subdirectory in the distribution. I suggest you read them subdirectory in the distribution. I suggest you read them
@ -294,9 +285,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN82" NAME="AEN82">1.5. Test your config file with
></A
>1.5. Test your config file with
<B <B
CLASS="COMMAND" CLASS="COMMAND"
>testparm</B >testparm</B
@ -324,9 +313,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN90" NAME="AEN90">1.6. Starting the smbd and nmbd</H1
></A
>1.6. Starting the smbd and nmbd</H1
><P ><P
>You must choose to start smbd and nmbd either >You must choose to start smbd and nmbd either
as daemons or from <B as daemons or from <B
@ -364,9 +351,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN100" NAME="AEN100">1.6.1. Starting from inetd.conf</H2
></A
>1.6.1. Starting from inetd.conf</H2
><P ><P
>NOTE; The following will be different if >NOTE; The following will be different if
you use NIS or NIS+ to distributed services maps.</P you use NIS or NIS+ to distributed services maps.</P
@ -468,9 +453,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN129" NAME="AEN129">1.6.2. Alternative: starting it as a daemon</H2
></A
>1.6.2. Alternative: starting it as a daemon</H2
><P ><P
>To start the server as a daemon you should create >To start the server as a daemon you should create
a script something like this one, perhaps calling a script something like this one, perhaps calling
@ -525,9 +508,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN145" NAME="AEN145">1.7. Try listing the shares available on your
></A
>1.7. Try listing the shares available on your
server</H1 server</H1
><P ><P
><TT ><TT
@ -566,9 +547,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN154" NAME="AEN154">1.8. Try connecting with the unix client</H1
></A
>1.8. Try connecting with the unix client</H1
><P ><P
><TT ><TT
CLASS="PROMPT" CLASS="PROMPT"
@ -629,9 +608,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN170" NAME="AEN170">1.9. Try connecting from a DOS, WfWg, Win9x, WinNT,
></A
>1.9. Try connecting from a DOS, WfWg, Win9x, WinNT,
Win2k, OS/2, etc... client</H1 Win2k, OS/2, etc... client</H1
><P ><P
>Try mounting disks. eg:</P >Try mounting disks. eg:</P
@ -678,9 +655,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN184" NAME="AEN184">1.10. What If Things Don't Work?</H1
></A
>1.10. What If Things Don't Work?</H1
><P ><P
>If nothing works and you start to think "who wrote >If nothing works and you start to think "who wrote
this pile of trash" then I suggest you do step 2 again (and this pile of trash" then I suggest you do step 2 again (and
@ -701,9 +676,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN189" NAME="AEN189">1.10.1. Diagnosing Problems</H2
></A
>1.10.1. Diagnosing Problems</H2
><P ><P
>If you have installation problems then go to the >If you have installation problems then go to the
<A <A
@ -718,9 +691,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN193" NAME="AEN193">1.10.2. Scope IDs</H2
></A
>1.10.2. Scope IDs</H2
><P ><P
>By default Samba uses a blank scope ID. This means >By default Samba uses a blank scope ID. This means
all your windows boxes must also have a blank scope ID. all your windows boxes must also have a blank scope ID.
@ -734,9 +705,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN196" NAME="AEN196">1.10.3. Choosing the Protocol Level</H2
></A
>1.10.3. Choosing the Protocol Level</H2
><P ><P
>The SMB protocol has many dialects. Currently >The SMB protocol has many dialects. Currently
Samba supports 5, called CORE, COREPLUS, LANMAN1, Samba supports 5, called CORE, COREPLUS, LANMAN1,
@ -775,9 +744,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN205" NAME="AEN205">1.10.4. Printing from UNIX to a Client PC</H2
></A
>1.10.4. Printing from UNIX to a Client PC</H2
><P ><P
>To use a printer that is available via a smb-based >To use a printer that is available via a smb-based
server from a unix host with LPR you will need to compile the server from a unix host with LPR you will need to compile the
@ -796,9 +763,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN210" NAME="AEN210">1.10.5. Locking</H2
></A
>1.10.5. Locking</H2
><P ><P
>One area which sometimes causes trouble is locking.</P >One area which sometimes causes trouble is locking.</P
><P ><P
@ -856,9 +821,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN219" NAME="AEN219">1.10.6. Mapping Usernames</H2
></A
>1.10.6. Mapping Usernames</H2
><P ><P
>If you have different usernames on the PCs and >If you have different usernames on the PCs and
the unix server then take a look at the "username map" option. the unix server then take a look at the "username map" option.

View File

@ -5,7 +5,8 @@
>Integrating MS Windows networks with Samba</TITLE >Integrating MS Windows networks with Samba</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="INTEGRATE-MS-NETWORKS" NAME="INTEGRATE-MS-NETWORKS">Chapter 10. Integrating MS Windows networks with Samba</H1
></A
>Chapter 11. Integrating MS Windows networks with Samba</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1387" NAME="AEN1374">10.1. Agenda</H1
></A
>11.1. Agenda</H1
><P ><P
>To identify the key functional mechanisms of MS Windows networking >To identify the key functional mechanisms of MS Windows networking
to enable the deployment of Samba as a means of extending and/or to enable the deployment of Samba as a means of extending and/or
@ -147,9 +144,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1409" NAME="AEN1396">10.2. Name Resolution in a pure Unix/Linux world</H1
></A
>11.2. Name Resolution in a pure Unix/Linux world</H1
><P ><P
>The key configuration files covered in this section are:</P >The key configuration files covered in this section are:</P
><P ><P
@ -189,9 +184,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1425" NAME="AEN1412">10.2.1. <TT
></A
>11.2.1. <TT
CLASS="FILENAME" CLASS="FILENAME"
>/etc/hosts</TT >/etc/hosts</TT
></H2 ></H2
@ -270,9 +263,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1441" NAME="AEN1428">10.2.2. <TT
></A
>11.2.2. <TT
CLASS="FILENAME" CLASS="FILENAME"
>/etc/resolv.conf</TT >/etc/resolv.conf</TT
></H2 ></H2
@ -308,9 +299,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1452" NAME="AEN1439">10.2.3. <TT
></A
>11.2.3. <TT
CLASS="FILENAME" CLASS="FILENAME"
>/etc/host.conf</TT >/etc/host.conf</TT
></H2 ></H2
@ -337,9 +326,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1460" NAME="AEN1447">10.2.4. <TT
></A
>11.2.4. <TT
CLASS="FILENAME" CLASS="FILENAME"
>/etc/nsswitch.conf</TT >/etc/nsswitch.conf</TT
></H2 ></H2
@ -406,9 +393,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1472" NAME="AEN1459">10.3. Name resolution as used within MS Windows networking</H1
></A
>11.3. Name resolution as used within MS Windows networking</H1
><P ><P
>MS Windows networking is predicated about the name each machine >MS Windows networking is predicated about the name each machine
is given. This name is known variously (and inconsistently) as is given. This name is known variously (and inconsistently) as
@ -491,9 +476,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1484" NAME="AEN1471">10.3.1. The NetBIOS Name Cache</H2
></A
>11.3.1. The NetBIOS Name Cache</H2
><P ><P
>All MS Windows machines employ an in memory buffer in which is >All MS Windows machines employ an in memory buffer in which is
stored the NetBIOS names and IP addresses for all external stored the NetBIOS names and IP addresses for all external
@ -518,9 +501,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1489" NAME="AEN1476">10.3.2. The LMHOSTS file</H2
></A
>11.3.2. The LMHOSTS file</H2
><P ><P
>This file is usually located in MS Windows NT 4.0 or >This file is usually located in MS Windows NT 4.0 or
2000 in <TT 2000 in <TT
@ -621,9 +602,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1497" NAME="AEN1484">10.3.3. HOSTS file</H2
></A
>11.3.3. HOSTS file</H2
><P ><P
>This file is usually located in MS Windows NT 4.0 or 2000 in >This file is usually located in MS Windows NT 4.0 or 2000 in
<TT <TT
@ -643,9 +622,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1502" NAME="AEN1489">10.3.4. DNS Lookup</H2
></A
>11.3.4. DNS Lookup</H2
><P ><P
>This capability is configured in the TCP/IP setup area in the network >This capability is configured in the TCP/IP setup area in the network
configuration facility. If enabled an elaborate name resolution sequence configuration facility. If enabled an elaborate name resolution sequence
@ -663,9 +640,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1505" NAME="AEN1492">10.3.5. WINS Lookup</H2
></A
>11.3.5. WINS Lookup</H2
><P ><P
>A WINS (Windows Internet Name Server) service is the equivaent of the >A WINS (Windows Internet Name Server) service is the equivaent of the
rfc1001/1002 specified NBNS (NetBIOS Name Server). A WINS server stores rfc1001/1002 specified NBNS (NetBIOS Name Server). A WINS server stores
@ -706,9 +681,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1517" NAME="AEN1504">10.4. How browsing functions and how to deploy stable and
></A
>11.4. How browsing functions and how to deploy stable and
dependable browsing using Samba</H1 dependable browsing using Samba</H1
><P ><P
>As stated above, MS Windows machines register their NetBIOS names >As stated above, MS Windows machines register their NetBIOS names
@ -773,9 +746,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1527" NAME="AEN1514">10.5. MS Windows security options and how to configure
></A
>11.5. MS Windows security options and how to configure
Samba for seemless integration</H1 Samba for seemless integration</H1
><P ><P
>MS Windows clients may use encrypted passwords as part of a >MS Windows clients may use encrypted passwords as part of a
@ -910,9 +881,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1555" NAME="AEN1542">10.5.1. Use MS Windows NT as an authentication server</H2
></A
>11.5.1. Use MS Windows NT as an authentication server</H2
><P ><P
>This method involves the additions of the following parameters >This method involves the additions of the following parameters
in the smb.conf file:</P in the smb.conf file:</P
@ -946,9 +915,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1563" NAME="AEN1550">10.5.2. Make Samba a member of an MS Windows NT security domain</H2
></A
>11.5.2. Make Samba a member of an MS Windows NT security domain</H2
><P ><P
>This method involves additon of the following paramters in the smb.conf file:</P >This method involves additon of the following paramters in the smb.conf file:</P
><P ><P
@ -1009,9 +976,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1580" NAME="AEN1567">10.5.3. Configure Samba as an authentication server</H2
></A
>11.5.3. Configure Samba as an authentication server</H2
><P ><P
>This mode of authentication demands that there be on the >This mode of authentication demands that there be on the
Unix/Linux system both a Unix style account as well as an Unix/Linux system both a Unix style account as well as an
@ -1046,9 +1011,7 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN1587" NAME="AEN1574">10.5.3.1. Users</H3
></A
>11.5.3.1. Users</H3
><P ><P
>A user account that may provide a home directory should be >A user account that may provide a home directory should be
created. The following Linux system commands are typical of created. The following Linux system commands are typical of
@ -1069,9 +1032,7 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN1592" NAME="AEN1579">10.5.3.2. MS Windows NT Machine Accounts</H3
></A
>11.5.3.2. MS Windows NT Machine Accounts</H3
><P ><P
>These are required only when Samba is used as a domain >These are required only when Samba is used as a domain
controller. Refer to the Samba-PDC-HOWTO for more details.</P controller. Refer to the Samba-PDC-HOWTO for more details.</P
@ -1090,9 +1051,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1597" NAME="AEN1584">10.6. Conclusions</H1
></A
>11.6. Conclusions</H1
><P ><P
>Samba provides a flexible means to operate as...</P >Samba provides a flexible means to operate as...</P
><P ><P

View File

@ -5,7 +5,8 @@
>General installation</TITLE >General installation</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -68,9 +69,7 @@ WIDTH="100%"></DIV
><DIV ><DIV
CLASS="PART" CLASS="PART"
><A ><A
NAME="INTRODUCTION" NAME="INTRODUCTION"><DIV
></A
><DIV
CLASS="TITLEPAGE" CLASS="TITLEPAGE"
><H1 ><H1
CLASS="TITLE" CLASS="TITLE"
@ -78,9 +77,7 @@ CLASS="TITLE"
><DIV ><DIV
CLASS="PARTINTRO" CLASS="PARTINTRO"
><A ><A
NAME="AEN21" NAME="AEN21"><H1
></A
><H1
>Introduction</H1 >Introduction</H1
><P ><P
>This part contains general info on how to install samba >This part contains general info on how to install samba
@ -282,91 +279,77 @@ HREF="improved-browsing.html#AEN366"
></DD ></DD
><DT ><DT
>3. <A >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" HREF="browsing-quick.html"
>Quick Cross Subnet Browsing / Cross Workgroup Browsing guide</A >Quick Cross Subnet Browsing / Cross Workgroup Browsing guide</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>4.1. <A >3.1. <A
HREF="browsing-quick.html#AEN393" HREF="browsing-quick.html#AEN377"
>Discussion</A >Discussion</A
></DT ></DT
><DT ><DT
>4.2. <A >3.2. <A
HREF="browsing-quick.html#AEN401" HREF="browsing-quick.html#AEN385"
>Use of the "Remote Announce" parameter</A >Use of the "Remote Announce" parameter</A
></DT ></DT
><DT ><DT
>4.3. <A >3.3. <A
HREF="browsing-quick.html#AEN415" HREF="browsing-quick.html#AEN399"
>Use of the "Remote Browse Sync" parameter</A >Use of the "Remote Browse Sync" parameter</A
></DT ></DT
><DT ><DT
>4.4. <A >3.4. <A
HREF="browsing-quick.html#AEN420" HREF="browsing-quick.html#AEN404"
>Use of WINS</A >Use of WINS</A
></DT ></DT
><DT ><DT
>4.5. <A >3.5. <A
HREF="browsing-quick.html#AEN431" HREF="browsing-quick.html#AEN415"
>Do NOT use more than one (1) protocol on MS Windows machines</A >Do NOT use more than one (1) protocol on MS Windows machines</A
></DT ></DT
><DT ><DT
>4.6. <A >3.6. <A
HREF="browsing-quick.html#AEN437" HREF="browsing-quick.html#AEN421"
>Name Resolution Order</A >Name Resolution Order</A
></DT ></DT
></DL ></DL
></DD ></DD
><DT ><DT
>5. <A >4. <A
HREF="pwencrypt.html" HREF="pwencrypt.html"
>LanMan and NT Password Encryption in Samba</A >LanMan and NT Password Encryption in Samba</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>5.1. <A >4.1. <A
HREF="pwencrypt.html#AEN473" HREF="pwencrypt.html#AEN457"
>Introduction</A >Introduction</A
></DT ></DT
><DT ><DT
>5.2. <A >4.2. <A
HREF="pwencrypt.html#AEN478" HREF="pwencrypt.html#AEN462"
>Important Notes About Security</A >Important Notes About Security</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>5.2.1. <A >4.2.1. <A
HREF="pwencrypt.html#AEN497" HREF="pwencrypt.html#AEN481"
>Advantages of SMB Encryption</A >Advantages of SMB Encryption</A
></DT ></DT
><DT ><DT
>5.2.2. <A >4.2.2. <A
HREF="pwencrypt.html#AEN504" HREF="pwencrypt.html#AEN488"
>Advantages of non-encrypted passwords</A >Advantages of non-encrypted passwords</A
></DT ></DT
></DL ></DL
></DD ></DD
><DT ><DT
>5.3. <A >4.3. <A
HREF="pwencrypt.html#AEN513" HREF="pwencrypt.html#AEN497"
>The smbpasswd Command</A >The smbpasswd Command</A
></DT ></DT
></DL ></DL

View File

@ -5,7 +5,8 @@
>Hosting a Microsoft Distributed File System tree on Samba</TITLE >Hosting a Microsoft Distributed File System tree on Samba</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -73,17 +74,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="MSDFS" NAME="MSDFS">Chapter 13. Hosting a Microsoft Distributed File System tree on Samba</H1
></A
>Chapter 14. Hosting a Microsoft Distributed File System tree on Samba</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1872" NAME="AEN1859">13.1. Instructions</H1
></A
>14.1. Instructions</H1
><P ><P
>The Distributed File System (or Dfs) provides a means of >The Distributed File System (or Dfs) provides a means of
separating the logical view of files and directories that users separating the logical view of files and directories that users
@ -229,9 +226,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1907" NAME="AEN1894">13.1.1. Notes</H2
></A
>14.1.1. Notes</H2
><P ><P
></P ></P
><UL ><UL

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,8 @@
>Samba and other CIFS clients</TITLE >Samba and other CIFS clients</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,9 +73,7 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="OTHER-CLIENTS" NAME="OTHER-CLIENTS">Chapter 24. Samba and other CIFS clients</H1
></A
>Chapter 25. Samba and other CIFS clients</H1
><P ><P
>This chapter contains client-specific information.</P >This chapter contains client-specific information.</P
><DIV ><DIV
@ -82,9 +81,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3258" NAME="AEN3199">24.1. Macintosh clients?</H1
></A
>25.1. Macintosh clients?</H1
><P ><P
>Yes. <A >Yes. <A
HREF="http://www.thursby.com/" HREF="http://www.thursby.com/"
@ -128,17 +125,13 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3267" NAME="AEN3208">24.2. OS2 Client</H1
></A
>25.2. OS2 Client</H1
><DIV ><DIV
CLASS="SECT2" CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3269" NAME="AEN3210">24.2.1. How can I configure OS/2 Warp Connect or
></A
>25.2.1. How can I configure OS/2 Warp Connect or
OS/2 Warp 4 as a client for Samba?</H2 OS/2 Warp 4 as a client for Samba?</H2
><P ><P
>A more complete answer to this question can be >A more complete answer to this question can be
@ -195,9 +188,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3284" NAME="AEN3225">24.2.2. How can I configure OS/2 Warp 3 (not Connect),
></A
>25.2.2. How can I configure OS/2 Warp 3 (not Connect),
OS/2 1.2, 1.3 or 2.x for Samba?</H2 OS/2 1.2, 1.3 or 2.x for Samba?</H2
><P ><P
>You can use the free Microsoft LAN Manager 2.2c Client >You can use the free Microsoft LAN Manager 2.2c Client
@ -239,9 +230,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3293" NAME="AEN3234">24.2.3. Are there any other issues when OS/2 (any version)
></A
>25.2.3. Are there any other issues when OS/2 (any version)
is used as a client?</H2 is used as a client?</H2
><P ><P
>When you do a NET VIEW or use the "File and Print >When you do a NET VIEW or use the "File and Print
@ -261,9 +250,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3297" NAME="AEN3238">24.2.4. How do I get printer driver download working
></A
>25.2.4. How do I get printer driver download working
for OS/2 clients?</H2 for OS/2 clients?</H2
><P ><P
>First, create a share called [PRINTDRV] that is >First, create a share called [PRINTDRV] that is
@ -312,17 +299,13 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3307" NAME="AEN3248">24.3. Windows for Workgroups</H1
></A
>25.3. Windows for Workgroups</H1
><DIV ><DIV
CLASS="SECT2" CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3309" NAME="AEN3250">24.3.1. Use latest TCP/IP stack from Microsoft</H2
></A
>25.3.1. Use latest TCP/IP stack from Microsoft</H2
><P ><P
>Use the latest TCP/IP stack from microsoft if you use Windows >Use the latest TCP/IP stack from microsoft if you use Windows
for workgroups.</P for workgroups.</P
@ -342,9 +325,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3314" NAME="AEN3255">24.3.2. Delete .pwl files after password change</H2
></A
>25.3.2. Delete .pwl files after password change</H2
><P ><P
>WfWg does a lousy job with passwords. I find that if I change my >WfWg does a lousy job with passwords. I find that if I change my
password on either the unix box or the PC the safest thing to do is to password on either the unix box or the PC the safest thing to do is to
@ -362,9 +343,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3319" NAME="AEN3260">24.3.3. Configure WfW password handling</H2
></A
>25.3.3. Configure WfW password handling</H2
><P ><P
>There is a program call admincfg.exe >There is a program call admincfg.exe
on the last disk (disk 8) of the WFW 3.11 disk set. To install it on the last disk (disk 8) of the WFW 3.11 disk set. To install it
@ -381,9 +360,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN3323" NAME="AEN3264">24.3.4. Case handling of passwords</H2
></A
>25.3.4. Case handling of passwords</H2
><P ><P
>Windows for Workgroups uppercases the password before sending it to the server. Unix passwords can be case-sensitive though. Check the <A >Windows for Workgroups uppercases the password before sending it to the server. Unix passwords can be case-sensitive though. Check the <A
HREF="smb.conf.5.html" HREF="smb.conf.5.html"
@ -400,9 +377,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3328" NAME="AEN3269">24.4. Windows '95/'98</H1
></A
>25.4. Windows '95/'98</H1
><P ><P
>When using Windows 95 OEM SR2 the following updates are recommended where Samba >When using Windows 95 OEM SR2 the following updates are recommended where Samba
is being used. Please NOTE that the above change will affect you once these is being used. Please NOTE that the above change will affect you once these
@ -448,9 +423,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3344" NAME="AEN3285">24.5. Windows 2000 Service Pack 2</H1
></A
>25.5. Windows 2000 Service Pack 2</H1
><P ><P
> >
There are several annoyances with Windows 2000 SP2. One of which There are several annoyances with Windows 2000 SP2. One of which

View File

@ -6,7 +6,8 @@
managed authentication</TITLE managed authentication</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -73,18 +74,14 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="PAM" NAME="PAM">Chapter 12. Configuring PAM for distributed but centrally
></A
>Chapter 13. Configuring PAM for distributed but centrally
managed authentication</H1 managed authentication</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1801" NAME="AEN1788">12.1. Samba and PAM</H1
></A
>13.1. Samba and PAM</H1
><P ><P
>A number of Unix systems (eg: Sun Solaris), as well as the >A number of Unix systems (eg: Sun Solaris), as well as the
xxxxBSD family and Linux, now utilize the Pluggable Authentication xxxxBSD family and Linux, now utilize the Pluggable Authentication
@ -296,9 +293,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1845" NAME="AEN1832">12.2. Distributed Authentication</H1
></A
>13.2. Distributed Authentication</H1
><P ><P
>The astute administrator will realize from this that the >The astute administrator will realize from this that the
combination of <TT combination of <TT
@ -329,9 +324,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1852" NAME="AEN1839">12.3. PAM Configuration in smb.conf</H1
></A
>13.3. PAM Configuration in smb.conf</H1
><P ><P
>There is an option in smb.conf called <A >There is an option in smb.conf called <A
HREF="smb.conf.5.html#OBEYPAMRESTRICTIONS" HREF="smb.conf.5.html#OBEYPAMRESTRICTIONS"

View File

@ -5,7 +5,8 @@
>Passdb MySQL plugin</TITLE >Passdb MySQL plugin</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="PDB-MYSQL" NAME="PDB-MYSQL">Chapter 16. Passdb MySQL plugin</H1
></A
>Chapter 17. Passdb MySQL plugin</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2579" NAME="AEN2566">16.1. Building</H1
></A
>17.1. Building</H1
><P ><P
>To build the plugin, run <B >To build the plugin, run <B
CLASS="COMMAND" CLASS="COMMAND"
@ -101,9 +98,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2585" NAME="AEN2572">16.2. Configuring</H1
></A
>17.2. Configuring</H1
><P ><P
>This plugin lacks some good documentation, but here is some short info:</P >This plugin lacks some good documentation, but here is some short info:</P
><P ><P
@ -136,6 +131,17 @@ identifier:mysql port - defaults to 3306
identifier:table - Name of the table containing users</PRE identifier:table - Name of the table containing users</PRE
></P ></P
><P ><P
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>WARNING: since the password for the mysql user is stored in the
smb.conf file, you should make the the smb.conf file
readable only to the user that runs samba. This is considered a security
bug and will be fixed soon.</I
></SPAN
></P
><P
>Names of the columns in this table(I've added column types those columns should have first):</P >Names of the columns in this table(I've added column types those columns should have first):</P
><P ><P
><PRE ><PRE
@ -183,9 +189,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2600" NAME="AEN2589">16.3. Using plaintext passwords or encrypted password</H1
></A
>17.3. Using plaintext passwords or encrypted password</H1
><P ><P
>I strongly discourage the use of plaintext passwords, however, you can use them:</P >I strongly discourage the use of plaintext passwords, however, you can use them:</P
><P ><P
@ -198,9 +202,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2605" NAME="AEN2594">16.4. Getting non-column data from the table</H1
></A
>17.4. Getting non-column data from the table</H1
><P ><P
>It is possible to have not all data in the database and making some 'constant'.</P >It is possible to have not all data in the database and making some 'constant'.</P
><P ><P

View File

@ -5,7 +5,8 @@
>Passdb XML plugin</TITLE >Passdb XML plugin</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="PDB-XML" NAME="PDB-XML">Chapter 17. Passdb XML plugin</H1
></A
>Chapter 18. Passdb XML plugin</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2624" NAME="AEN2613">17.1. Building</H1
></A
>18.1. Building</H1
><P ><P
>This module requires libxml2 to be installed.</P >This module requires libxml2 to be installed.</P
><P ><P
@ -100,9 +97,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2630" NAME="AEN2619">17.2. Usage</H1
></A
>18.2. Usage</H1
><P ><P
>The usage of pdb_xml is pretty straightforward. To export data, use: >The usage of pdb_xml is pretty straightforward. To export data, use:

View File

@ -5,7 +5,8 @@
>Portability</TITLE >Portability</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,9 +73,7 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="PORTABILITY" NAME="PORTABILITY">Chapter 23. Portability</H1
></A
>Chapter 24. Portability</H1
><P ><P
>Samba works on a wide range of platforms but the interface all the >Samba works on a wide range of platforms but the interface all the
platforms provide is not always compatible. This chapter contains platforms provide is not always compatible. This chapter contains
@ -84,9 +83,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3198" NAME="AEN3139">23.1. HPUX</H1
></A
>24.1. HPUX</H1
><P ><P
>HP's implementation of supplementary groups is, er, non-standard (for >HP's implementation of supplementary groups is, er, non-standard (for
hysterical reasons). There are two group files, /etc/group and hysterical reasons). There are two group files, /etc/group and
@ -114,9 +111,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3204" NAME="AEN3145">23.2. SCO Unix</H1
></A
>24.2. SCO Unix</H1
><P ><P
> >
If you run an old version of SCO Unix then you may need to get important If you run an old version of SCO Unix then you may need to get important
@ -131,9 +126,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3208" NAME="AEN3149">23.3. DNIX</H1
></A
>24.3. DNIX</H1
><P ><P
>DNIX has a problem with seteuid() and setegid(). These routines are >DNIX has a problem with seteuid() and setegid(). These routines are
needed for Samba to work correctly, but they were left out of the DNIX needed for Samba to work correctly, but they were left out of the DNIX
@ -238,9 +231,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3237" NAME="AEN3178">23.4. RedHat Linux Rembrandt-II</H1
></A
>24.4. RedHat Linux Rembrandt-II</H1
><P ><P
>By default RedHat Rembrandt-II during installation adds an >By default RedHat Rembrandt-II during installation adds an
entry to /etc/hosts as follows: entry to /etc/hosts as follows:

View File

@ -5,7 +5,8 @@
>Printing Support</TITLE >Printing Support</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="PRINTING" NAME="PRINTING">Chapter 14. Printing Support</H1
></A
>Chapter 15. Printing Support</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1933" NAME="AEN1920">14.1. Introduction</H1
></A
>15.1. Introduction</H1
><P ><P
>Beginning with the 2.2.0 release, Samba supports >Beginning with the 2.2.0 release, Samba supports
the native Windows NT printing mechanisms implemented via the native Windows NT printing mechanisms implemented via
@ -163,9 +160,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1955" NAME="AEN1942">14.2. Configuration</H1
></A
>15.2. Configuration</H1
><DIV ><DIV
CLASS="WARNING" CLASS="WARNING"
><P ><P
@ -180,7 +175,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/warning.gif" SRC="../images/warning.gif"
HSPACE="5" HSPACE="5"
ALT="Warning"></TD ALT="Warning"></TD
><TH ><TH
@ -229,9 +224,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1963" NAME="AEN1950">14.2.1. Creating [print$]</H2
></A
>15.2.1. Creating [print$]</H2
><P ><P
>In order to support the uploading of printer driver >In order to support the uploading of printer driver
files, you must first configure a file share named [print$]. files, you must first configure a file share named [print$].
@ -310,7 +303,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/note.gif" SRC="../images/note.gif"
HSPACE="5" HSPACE="5"
ALT="Note"></TD ALT="Note"></TD
><TH ><TH
@ -381,7 +374,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/warning.gif" SRC="../images/warning.gif"
HSPACE="5" HSPACE="5"
ALT="Warning"></TD ALT="Warning"></TD
><TH ><TH
@ -452,9 +445,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1998" NAME="AEN1985">14.2.2. Setting Drivers for Existing Printers</H2
></A
>15.2.2. Setting Drivers for Existing Printers</H2
><P ><P
>The initial listing of printers in the Samba host's >The initial listing of printers in the Samba host's
Printers folder will have no real printer driver assigned Printers folder will have no real printer driver assigned
@ -524,9 +515,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2014" NAME="AEN2001">14.2.3. Support a large number of printers</H2
></A
>15.2.3. Support a large number of printers</H2
><P ><P
>One issue that has arisen during the development >One issue that has arisen during the development
phase of Samba 2.2 is the need to support driver downloads for phase of Samba 2.2 is the need to support driver downloads for
@ -590,9 +579,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2025" NAME="AEN2012">14.2.4. Adding New Printers via the Windows NT APW</H2
></A
>15.2.4. Adding New Printers via the Windows NT APW</H2
><P ><P
>By default, Samba offers all printer shares defined in <TT >By default, Samba offers all printer shares defined in <TT
CLASS="FILENAME" CLASS="FILENAME"
@ -759,9 +746,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2055" NAME="AEN2042">14.2.5. Samba and Printer Ports</H2
></A
>15.2.5. Samba and Printer Ports</H2
><P ><P
>Windows NT/2000 print servers associate a port with each printer. These normally >Windows NT/2000 print servers associate a port with each printer. These normally
take the form of LPT1:, COM1:, FILE:, etc... Samba must also support the take the form of LPT1:, COM1:, FILE:, etc... Samba must also support the
@ -796,9 +781,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2063" NAME="AEN2050">14.3. The Imprints Toolset</H1
></A
>15.3. The Imprints Toolset</H1
><P ><P
>The Imprints tool set provides a UNIX equivalent of the >The Imprints tool set provides a UNIX equivalent of the
Windows NT Add Printer Wizard. For complete information, please Windows NT Add Printer Wizard. For complete information, please
@ -814,9 +797,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2067" NAME="AEN2054">14.3.1. What is Imprints?</H2
></A
>15.3.1. What is Imprints?</H2
><P ><P
>Imprints is a collection of tools for supporting the goals >Imprints is a collection of tools for supporting the goals
of</P of</P
@ -846,9 +827,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2077" NAME="AEN2064">14.3.2. Creating Printer Driver Packages</H2
></A
>15.3.2. Creating Printer Driver Packages</H2
><P ><P
>The process of creating printer driver packages is beyond >The process of creating printer driver packages is beyond
the scope of this document (refer to Imprints.txt also included the scope of this document (refer to Imprints.txt also included
@ -862,9 +841,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2080" NAME="AEN2067">14.3.3. The Imprints server</H2
></A
>15.3.3. The Imprints server</H2
><P ><P
>The Imprints server is really a database server that >The Imprints server is really a database server that
may be queried via standard HTTP mechanisms. Each printer may be queried via standard HTTP mechanisms. Each printer
@ -886,9 +863,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2084" NAME="AEN2071">14.3.4. The Installation Client</H2
></A
>15.3.4. The Installation Client</H2
><P ><P
>More information regarding the Imprints installation client >More information regarding the Imprints installation client
is available in the <TT is available in the <TT
@ -980,17 +955,13 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2106" NAME="AEN2093">14.4. Diagnosis</H1
></A
>15.4. Diagnosis</H1
><DIV ><DIV
CLASS="SECT2" CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2108" NAME="AEN2095">14.4.1. Introduction</H2
></A
>15.4.1. Introduction</H2
><P ><P
>This is a short description of how to debug printing problems with >This is a short description of how to debug printing problems with
Samba. This describes how to debug problems with printing from a SMB Samba. This describes how to debug problems with printing from a SMB
@ -1063,9 +1034,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2124" NAME="AEN2111">14.4.2. Debugging printer problems</H2
></A
>15.4.2. Debugging printer problems</H2
><P ><P
>One way to debug printing problems is to start by replacing these >One way to debug printing problems is to start by replacing these
command with shell scripts that record the arguments and the contents command with shell scripts that record the arguments and the contents
@ -1120,9 +1089,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2133" NAME="AEN2120">14.4.3. What printers do I have?</H2
></A
>15.4.3. What printers do I have?</H2
><P ><P
>You can use the 'testprns' program to check to see if the printer >You can use the 'testprns' program to check to see if the printer
name you are using is recognized by Samba. For example, you can name you are using is recognized by Samba. For example, you can
@ -1149,9 +1116,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2141" NAME="AEN2128">14.4.4. Setting up printcap and print servers</H2
></A
>15.4.4. Setting up printcap and print servers</H2
><P ><P
>You may need to set up some printcaps for your Samba system to use. >You may need to set up some printcaps for your Samba system to use.
It is strongly recommended that you use the facilities provided by It is strongly recommended that you use the facilities provided by
@ -1233,9 +1198,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2169" NAME="AEN2156">14.4.5. Job sent, no output</H2
></A
>15.4.5. Job sent, no output</H2
><P ><P
>This is the most frustrating part of printing. You may have sent the >This is the most frustrating part of printing. You may have sent the
job, verified that the job was forwarded, set up a wrapper around job, verified that the job was forwarded, set up a wrapper around
@ -1278,9 +1241,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2180" NAME="AEN2167">14.4.6. Job sent, strange output</H2
></A
>15.4.6. Job sent, strange output</H2
><P ><P
>Once you have the job printing, you can then start worrying about >Once you have the job printing, you can then start worrying about
making it print nicely.</P making it print nicely.</P
@ -1324,9 +1285,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2192" NAME="AEN2179">14.4.7. Raw PostScript printed</H2
></A
>15.4.7. Raw PostScript printed</H2
><P ><P
>This is a problem that is usually caused by either the print spooling >This is a problem that is usually caused by either the print spooling
system putting information at the start of the print job that makes system putting information at the start of the print job that makes
@ -1339,9 +1298,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2195" NAME="AEN2182">14.4.8. Advanced Printing</H2
></A
>15.4.8. Advanced Printing</H2
><P ><P
>Note that you can do some pretty magic things by using your >Note that you can do some pretty magic things by using your
imagination with the "print command" option and some shell scripts. imagination with the "print command" option and some shell scripts.
@ -1355,9 +1312,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2198" NAME="AEN2185">14.4.9. Real debugging</H2
></A
>15.4.9. Real debugging</H2
><P ><P
>If the above debug tips don't help, then maybe you need to bring in >If the above debug tips don't help, then maybe you need to bring in
the bug guns, system tracing. See Tracing.txt in this directory.</P the bug guns, system tracing. See Tracing.txt in this directory.</P

View File

@ -5,7 +5,8 @@
>LanMan and NT Password Encryption in Samba</TITLE >LanMan and NT Password Encryption in Samba</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="PWENCRYPT" NAME="PWENCRYPT">Chapter 4. LanMan and NT Password Encryption in Samba</H1
></A
>Chapter 5. LanMan and NT Password Encryption in Samba</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN473" NAME="AEN457">4.1. Introduction</H1
></A
>5.1. Introduction</H1
><P ><P
>Newer windows clients send encrypted passwords over >Newer windows clients send encrypted passwords over
the wire, instead of plain text passwords. The newest clients the wire, instead of plain text passwords. The newest clients
@ -104,9 +101,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN478" NAME="AEN462">4.2. Important Notes About Security</H1
></A
>5.2. Important Notes About Security</H1
><P ><P
>The unix and SMB password encryption techniques seem similar >The unix and SMB password encryption techniques seem similar
on the surface. This similarity is, however, only skin deep. The unix on the surface. This similarity is, however, only skin deep. The unix
@ -140,7 +135,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/warning.gif" SRC="../images/warning.gif"
HSPACE="5" HSPACE="5"
ALT="Warning"></TD ALT="Warning"></TD
><TD ><TD
@ -206,9 +201,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN497" NAME="AEN481">4.2.1. Advantages of SMB Encryption</H2
></A
>5.2.1. Advantages of SMB Encryption</H2
><P ><P
></P ></P
><UL ><UL
@ -235,9 +228,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN504" NAME="AEN488">4.2.2. Advantages of non-encrypted passwords</H2
></A
>5.2.2. Advantages of non-encrypted passwords</H2
><P ><P
></P ></P
><UL ><UL
@ -266,9 +257,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN513" NAME="AEN497">4.3. The smbpasswd Command</H1
></A
>5.3. The smbpasswd Command</H1
><P ><P
>The smbpasswd command maintains the two 32 byte password fields >The smbpasswd command maintains the two 32 byte password fields
in the smbpasswd file. If you wish to make it similar to the unix in the smbpasswd file. If you wish to make it similar to the unix

View File

@ -5,7 +5,8 @@
>How to Act as a Backup Domain Controller in a Purely Samba Controlled Domain</TITLE >How to Act as a Backup Domain Controller in a Purely Samba Controlled Domain</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="SAMBA-BDC" NAME="SAMBA-BDC">Chapter 7. How to Act as a Backup Domain Controller in a Purely Samba Controlled Domain</H1
></A
>Chapter 8. How to Act as a Backup Domain Controller in a Purely Samba Controlled Domain</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1143" NAME="AEN1127">7.1. Prerequisite Reading</H1
></A
>8.1. Prerequisite Reading</H1
><P ><P
>Before you continue reading in this chapter, please make sure >Before you continue reading in this chapter, please make sure
that you are comfortable with configuring a Samba PDC that you are comfortable with configuring a Samba PDC
@ -97,9 +94,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1147" NAME="AEN1131">7.2. Background</H1
></A
>8.2. Background</H1
><P ><P
>What is a Domain Controller? It is a machine that is able to answer >What is a Domain Controller? It is a machine that is able to answer
logon requests from workstations in a Windows NT Domain. Whenever a logon requests from workstations in a Windows NT Domain. Whenever a
@ -142,9 +137,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1155" NAME="AEN1139">7.3. What qualifies a Domain Controller on the network?</H1
></A
>8.3. What qualifies a Domain Controller on the network?</H1
><P ><P
>Every machine that is a Domain Controller for the domain SAMBA has to >Every machine that is a Domain Controller for the domain SAMBA has to
register the NetBIOS group name SAMBA#1c with the WINS server and/or register the NetBIOS group name SAMBA#1c with the WINS server and/or
@ -159,9 +152,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1158" NAME="AEN1142">7.3.1. How does a Workstation find its domain controller?</H2
></A
>8.3.1. How does a Workstation find its domain controller?</H2
><P ><P
>A NT workstation in the domain SAMBA that wants a local user to be >A NT workstation in the domain SAMBA that wants a local user to be
authenticated has to find the domain controller for SAMBA. It does authenticated has to find the domain controller for SAMBA. It does
@ -178,9 +169,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1161" NAME="AEN1145">7.3.2. When is the PDC needed?</H2
></A
>8.3.2. When is the PDC needed?</H2
><P ><P
>Whenever a user wants to change his password, this has to be done on >Whenever a user wants to change his password, this has to be done on
the PDC. To find the PDC, the workstation does a NetBIOS name query the PDC. To find the PDC, the workstation does a NetBIOS name query
@ -194,9 +183,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1164" NAME="AEN1148">7.4. Can Samba be a Backup Domain Controller?</H1
></A
>8.4. Can Samba be a Backup Domain Controller?</H1
><P ><P
>With version 2.2, no. The native NT SAM replication protocols have >With version 2.2, no. The native NT SAM replication protocols have
not yet been fully implemented. The Samba Team is working on not yet been fully implemented. The Samba Team is working on
@ -213,9 +200,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1168" NAME="AEN1152">7.5. How do I set up a Samba BDC?</H1
></A
>8.5. How do I set up a Samba BDC?</H1
><P ><P
>Several things have to be done:</P >Several things have to be done:</P
><P ><P
@ -280,9 +265,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1185" NAME="AEN1169">7.5.1. How do I replicate the smbpasswd file?</H2
></A
>8.5.1. How do I replicate the smbpasswd file?</H2
><P ><P
>Replication of the smbpasswd file is sensitive. It has to be done >Replication of the smbpasswd file is sensitive. It has to be done
whenever changes to the SAM are made. Every user's password change is whenever changes to the SAM are made. Every user's password change is

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,8 @@
>Storing Samba's User/Machine Account information in an LDAP Directory</TITLE >Storing Samba's User/Machine Account information in an LDAP Directory</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="SAMBA-LDAP-HOWTO" NAME="SAMBA-LDAP-HOWTO">Chapter 19. Storing Samba's User/Machine Account information in an LDAP Directory</H1
></A
>Chapter 20. Storing Samba's User/Machine Account information in an LDAP Directory</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2747" NAME="AEN2737">19.1. Purpose</H1
></A
>20.1. Purpose</H1
><P ><P
>This document describes how to use an LDAP directory for storing Samba user >This document describes how to use an LDAP directory for storing Samba user
account information traditionally stored in the smbpasswd(5) file. It is account information traditionally stored in the smbpasswd(5) file. It is
@ -125,7 +122,7 @@ early summer, 2002.</P
><LI ><LI
><P ><P
>The <A >The <A
HREF="http://www.unav.es/cti/ldap-smb/ldap-smb-2_2-howto.html" HREF="http://www.unav.es/cti/ldap-smb/ldap-smb-3-howto.html"
TARGET="_top" TARGET="_top"
>Samba-PDC-LDAP-HOWTO</A >Samba-PDC-LDAP-HOWTO</A
> >
@ -148,9 +145,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2767" NAME="AEN2757">19.2. Introduction</H1
></A
>20.2. Introduction</H1
><P ><P
>Traditionally, when configuring <A >Traditionally, when configuring <A
HREF="smb.conf.5.html#ENCRYPTPASSWORDS" HREF="smb.conf.5.html#ENCRYPTPASSWORDS"
@ -265,9 +260,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2796" NAME="AEN2786">19.3. Supported LDAP Servers</H1
></A
>20.3. Supported LDAP Servers</H1
><P ><P
>The LDAP samdb code in 2.2.3 has been developed and tested using the OpenLDAP >The LDAP samdb code in 2.2.3 has been developed and tested using the OpenLDAP
2.0 server and client libraries. The same code should be able to work with 2.0 server and client libraries. The same code should be able to work with
@ -290,9 +283,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2801" NAME="AEN2791">19.4. Schema and Relationship to the RFC 2307 posixAccount</H1
></A
>20.4. Schema and Relationship to the RFC 2307 posixAccount</H1
><P ><P
>Samba 2.2.3 includes the necessary schema file for OpenLDAP 2.0 in >Samba 2.2.3 includes the necessary schema file for OpenLDAP 2.0 in
<TT <TT
@ -349,17 +340,13 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2813" NAME="AEN2803">19.5. Configuring Samba with LDAP</H1
></A
>20.5. Configuring Samba with LDAP</H1
><DIV ><DIV
CLASS="SECT2" CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2815" NAME="AEN2805">19.5.1. OpenLDAP configuration</H2
></A
>20.5.1. OpenLDAP configuration</H2
><P ><P
>To include support for the sambaAccount object in an OpenLDAP directory >To include support for the sambaAccount object in an OpenLDAP directory
server, first copy the samba.schema file to slapd's configuration directory.</P server, first copy the samba.schema file to slapd's configuration directory.</P
@ -439,9 +426,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2832" NAME="AEN2822">19.5.2. Configuring Samba</H2
></A
>20.5.2. Configuring Samba</H2
><P ><P
>The following parameters are available in smb.conf only with <TT >The following parameters are available in smb.conf only with <TT
CLASS="PARAMETER" CLASS="PARAMETER"
@ -559,9 +544,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2860" NAME="AEN2850">19.6. Accounts and Groups management</H1
></A
>20.6. Accounts and Groups management</H1
><P ><P
>As users accounts are managed thru the sambaAccount objectclass, you should >As users accounts are managed thru the sambaAccount objectclass, you should
modify you existing administration tools to deal with sambaAccount attributes.</P modify you existing administration tools to deal with sambaAccount attributes.</P
@ -584,9 +567,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2865" NAME="AEN2855">19.7. Security and sambaAccount</H1
></A
>20.7. Security and sambaAccount</H1
><P ><P
>There are two important points to remember when discussing the security >There are two important points to remember when discussing the security
of sambaAccount entries in the directory.</P of sambaAccount entries in the directory.</P
@ -663,9 +644,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2885" NAME="AEN2875">19.8. LDAP specials attributes for sambaAccounts</H1
></A
>20.8. LDAP specials attributes for sambaAccounts</H1
><P ><P
>The sambaAccount objectclass is composed of the following attributes:</P >The sambaAccount objectclass is composed of the following attributes:</P
><P ><P
@ -874,9 +853,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2955" NAME="AEN2945">19.9. Example LDIF Entries for a sambaAccount</H1
></A
>20.9. Example LDIF Entries for a sambaAccount</H1
><P ><P
>The following is a working LDIF with the inclusion of the posixAccount objectclass:</P >The following is a working LDIF with the inclusion of the posixAccount objectclass:</P
><P ><P
@ -932,9 +909,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2963" NAME="AEN2953">19.10. Comments</H1
></A
>20.10. Comments</H1
><P ><P
>Please mail all comments regarding this HOWTO to <A >Please mail all comments regarding this HOWTO to <A
HREF="mailto:jerry@samba.org" HREF="mailto:jerry@samba.org"

View File

@ -5,7 +5,8 @@
>How to Configure Samba as a NT4 Primary Domain Controller</TITLE >How to Configure Samba as a NT4 Primary Domain Controller</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="SAMBA-PDC" NAME="SAMBA-PDC">Chapter 6. How to Configure Samba as a NT4 Primary Domain Controller</H1
></A
>Chapter 7. How to Configure Samba as a NT4 Primary Domain Controller</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN591" NAME="AEN575">6.1. Prerequisite Reading</H1
></A
>7.1. Prerequisite Reading</H1
><P ><P
>Before you continue reading in this chapter, please make sure >Before you continue reading in this chapter, please make sure
that you are comfortable with configuring basic files services that you are comfortable with configuring basic files services
@ -108,9 +105,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN597" NAME="AEN581">6.2. Background</H1
></A
>7.2. Background</H1
><DIV ><DIV
CLASS="NOTE" CLASS="NOTE"
><P ><P
@ -125,7 +120,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/note.gif" SRC="../images/note.gif"
HSPACE="5" HSPACE="5"
ALT="Note"></TD ALT="Note"></TD
><TD ><TD
@ -260,9 +255,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN636" NAME="AEN620">6.3. Configuring the Samba Domain Controller</H1
></A
>7.3. Configuring the Samba Domain Controller</H1
><P ><P
>The first step in creating a working Samba PDC is to >The first step in creating a working Samba PDC is to
understand the parameters necessary in smb.conf. I will not understand the parameters necessary in smb.conf. I will not
@ -472,9 +465,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN679" NAME="AEN663">6.4. Creating Machine Trust Accounts and Joining Clients to the
></A
>7.4. Creating Machine Trust Accounts and Joining Clients to the
Domain</H1 Domain</H1
><P ><P
>A machine trust account is a Samba account that is used to >A machine trust account is a Samba account that is used to
@ -546,9 +537,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN698" NAME="AEN682">6.4.1. Manual Creation of Machine Trust Accounts</H2
></A
>7.4.1. Manual Creation of Machine Trust Accounts</H2
><P ><P
>The first step in manually creating a machine trust account is to >The first step in manually creating a machine trust account is to
manually create the corresponding Unix account in manually create the corresponding Unix account in
@ -700,7 +689,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/warning.gif" SRC="../images/warning.gif"
HSPACE="5" HSPACE="5"
ALT="Warning"></TD ALT="Warning"></TD
><TH ><TH
@ -736,9 +725,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN739" NAME="AEN723">6.4.2. "On-the-Fly" Creation of Machine Trust Accounts</H2
></A
>7.4.2. "On-the-Fly" Creation of Machine Trust Accounts</H2
><P ><P
>The second (and recommended) way of creating machine trust accounts is >The second (and recommended) way of creating machine trust accounts is
simply to allow the Samba server to create them as needed when the client simply to allow the Samba server to create them as needed when the client
@ -773,9 +760,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN748" NAME="AEN732">6.4.3. Joining the Client to the Domain</H2
></A
>7.4.3. Joining the Client to the Domain</H2
><P ><P
>The procedure for joining a client to the domain varies with the >The procedure for joining a client to the domain varies with the
version of Windows.</P version of Windows.</P
@ -841,9 +826,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN763" NAME="AEN747">6.5. Common Problems and Errors</H1
></A
>7.5. Common Problems and Errors</H1
><P ><P
></P ></P
><P ><P
@ -1051,9 +1034,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN811" NAME="AEN795">6.6. System Policies and Profiles</H1
></A
>7.6. System Policies and Profiles</H1
><P ><P
>Much of the information necessary to implement System Policies and >Much of the information necessary to implement System Policies and
Roving User Profiles in a Samba domain is the same as that for Roving User Profiles in a Samba domain is the same as that for
@ -1228,9 +1209,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN855" NAME="AEN839">6.7. What other help can I get?</H1
></A
>7.7. What other help can I get?</H1
><P ><P
>There are many sources of information available in the form >There are many sources of information available in the form
of mailing lists, RFC's and documentation. The docs that come of mailing lists, RFC's and documentation. The docs that come
@ -1648,9 +1627,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN969" NAME="AEN953">6.8. Domain Control for Windows 9x/ME</H1
></A
>7.8. Domain Control for Windows 9x/ME</H1
><DIV ><DIV
CLASS="NOTE" CLASS="NOTE"
><P ><P
@ -1665,7 +1642,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/note.gif" SRC="../images/note.gif"
HSPACE="5" HSPACE="5"
ALT="Note"></TD ALT="Note"></TD
><TD ><TD
@ -1782,9 +1759,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN995" NAME="AEN979">6.8.1. Configuration Instructions: Network Logons</H2
></A
>7.8.1. Configuration Instructions: Network Logons</H2
><P ><P
>The main difference between a PDC and a Windows 9x logon >The main difference between a PDC and a Windows 9x logon
server configuration is that</P server configuration is that</P
@ -1817,7 +1792,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/warning.gif" SRC="../images/warning.gif"
HSPACE="5" HSPACE="5"
ALT="Warning"></TD ALT="Warning"></TD
><TH ><TH
@ -1888,9 +1863,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1014" NAME="AEN998">6.8.2. Configuration Instructions: Setting up Roaming User Profiles</H2
></A
>7.8.2. Configuration Instructions: Setting up Roaming User Profiles</H2
><DIV ><DIV
CLASS="WARNING" CLASS="WARNING"
><P ><P
@ -1905,7 +1878,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/warning.gif" SRC="../images/warning.gif"
HSPACE="5" HSPACE="5"
ALT="Warning"></TD ALT="Warning"></TD
><TD ><TD
@ -1941,9 +1914,7 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN1022" NAME="AEN1006">6.8.2.1. Windows NT Configuration</H3
></A
>7.8.2.1. Windows NT Configuration</H3
><P ><P
>To support WinNT clients, in the [global] section of smb.conf set the >To support WinNT clients, in the [global] section of smb.conf set the
following (for example):</P following (for example):</P
@ -1972,7 +1943,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/note.gif" SRC="../images/note.gif"
HSPACE="5" HSPACE="5"
ALT="Note"></TD ALT="Note"></TD
><TD ><TD
@ -1992,9 +1963,7 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN1030" NAME="AEN1014">6.8.2.2. Windows 9X Configuration</H3
></A
>7.8.2.2. Windows 9X Configuration</H3
><P ><P
>To support Win9X clients, you must use the "logon home" parameter. Samba has >To support Win9X clients, you must use the "logon home" parameter. Samba has
now been fixed so that "net use/home" now works as well, and it, too, relies now been fixed so that "net use/home" now works as well, and it, too, relies
@ -2023,9 +1992,7 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN1038" NAME="AEN1022">6.8.2.3. Win9X and WinNT Configuration</H3
></A
>7.8.2.3. Win9X and WinNT Configuration</H3
><P ><P
>You can support profiles for both Win9X and WinNT clients by setting both the >You can support profiles for both Win9X and WinNT clients by setting both the
"logon home" and "logon path" parameters. For example:</P "logon home" and "logon path" parameters. For example:</P
@ -2049,7 +2016,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/note.gif" SRC="../images/note.gif"
HSPACE="5" HSPACE="5"
ALT="Note"></TD ALT="Note"></TD
><TD ><TD
@ -2068,9 +2035,7 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN1045" NAME="AEN1029">6.8.2.4. Windows 9X Profile Setup</H3
></A
>7.8.2.4. Windows 9X Profile Setup</H3
><P ><P
>When a user first logs in on Windows 9X, the file user.DAT is created, >When a user first logs in on Windows 9X, the file user.DAT is created,
as are folders "Start Menu", "Desktop", "Programs" and "Nethood". as are folders "Start Menu", "Desktop", "Programs" and "Nethood".
@ -2228,9 +2193,7 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN1081" NAME="AEN1065">6.8.2.5. Windows NT Workstation 4.0</H3
></A
>7.8.2.5. Windows NT Workstation 4.0</H3
><P ><P
>When a user first logs in to a Windows NT Workstation, the profile >When a user first logs in to a Windows NT Workstation, the profile
NTuser.DAT is created. The profile location can be now specified NTuser.DAT is created. The profile location can be now specified
@ -2249,7 +2212,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/note.gif" SRC="../images/note.gif"
HSPACE="5" HSPACE="5"
ALT="Note"></TD ALT="Note"></TD
><TD ><TD
@ -2307,7 +2270,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/note.gif" SRC="../images/note.gif"
HSPACE="5" HSPACE="5"
ALT="Note"></TD ALT="Note"></TD
><TD ><TD
@ -2342,9 +2305,7 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN1094" NAME="AEN1078">6.8.2.6. Windows NT Server</H3
></A
>7.8.2.6. Windows NT Server</H3
><P ><P
>There is nothing to stop you specifying any path that you like for the >There is nothing to stop you specifying any path that you like for the
location of users' profiles. Therefore, you could specify that the location of users' profiles. Therefore, you could specify that the
@ -2356,9 +2317,7 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN1097" NAME="AEN1081">6.8.2.7. Sharing Profiles between W95 and NT Workstation 4.0</H3
></A
>7.8.2.7. Sharing Profiles between W95 and NT Workstation 4.0</H3
><DIV ><DIV
CLASS="WARNING" CLASS="WARNING"
><P ><P
@ -2373,7 +2332,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/warning.gif" SRC="../images/warning.gif"
HSPACE="5" HSPACE="5"
ALT="Warning"></TD ALT="Warning"></TD
><TH ><TH
@ -2425,7 +2384,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/note.gif" SRC="../images/note.gif"
HSPACE="5" HSPACE="5"
ALT="Note"></TD ALT="Note"></TD
><TD ><TD
@ -2449,9 +2408,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1107" NAME="AEN1091">6.9. DOMAIN_CONTROL.txt : Windows NT Domain Control &#38; Samba</H1
></A
>7.9. DOMAIN_CONTROL.txt : Windows NT Domain Control &#38; Samba</H1
><DIV ><DIV
CLASS="WARNING" CLASS="WARNING"
><P ><P
@ -2466,7 +2423,7 @@ WIDTH="25"
ALIGN="CENTER" ALIGN="CENTER"
VALIGN="TOP" VALIGN="TOP"
><IMG ><IMG
SRC="/docbook-dsssl/warning.gif" SRC="../images/warning.gif"
HSPACE="5" HSPACE="5"
ALT="Warning"></TD ALT="Warning"></TD
><TH ><TH

View File

@ -5,7 +5,8 @@
>User and Share security level (for servers not in a domain)</TITLE >User and Share security level (for servers not in a domain)</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,9 +73,7 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="SECURITYLEVELS" NAME="SECURITYLEVELS">Chapter 5. User and Share security level (for servers not in a domain)</H1
></A
>Chapter 6. User and Share security level (for servers not in a domain)</H1
><P ><P
>A SMB server tells the client at startup what "security level" it is >A SMB server tells the client at startup what "security level" it is
running. There are two options "share level" and "user level". Which running. There are two options "share level" and "user level". Which

View File

@ -16,9 +16,7 @@ VLINK="#840084"
ALINK="#0000FF" ALINK="#0000FF"
><H1 ><H1
><A ><A
NAME="SMB.CONF" NAME="SMB.CONF">smb.conf</H1
></A
>smb.conf</H1
><DIV ><DIV
CLASS="REFNAMEDIV" CLASS="REFNAMEDIV"
><A ><A
@ -1605,6 +1603,30 @@ CLASS="PARAMETER"
><LI ><LI
><P ><P
><A ><A
HREF="#LDAPPORT"
><TT
CLASS="PARAMETER"
><I
>ldap port</I
></TT
></A
></P
></LI
><LI
><P
><A
HREF="#LDAPSERVER"
><TT
CLASS="PARAMETER"
><I
>ldap server</I
></TT
></A
></P
></LI
><LI
><P
><A
HREF="#LDAPSSL" HREF="#LDAPSSL"
><TT ><TT
CLASS="PARAMETER" CLASS="PARAMETER"
@ -3155,7 +3177,7 @@ CLASS="PARAMETER"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN1013" NAME="AEN1021"
></A ></A
><H2 ><H2
>COMPLETE LIST OF SERVICE PARAMETERS</H2 >COMPLETE LIST OF SERVICE PARAMETERS</H2
@ -4670,7 +4692,7 @@ CLASS="PARAMETER"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN1517" NAME="AEN1525"
></A ></A
><H2 ><H2
>EXPLANATION OF EACH PARAMETER</H2 >EXPLANATION OF EACH PARAMETER</H2
@ -9808,6 +9830,74 @@ CLASS="COMMAND"
></DD ></DD
><DT ><DT
><A ><A
NAME="LDAPPORT"
></A
>ldap port (G)</DT
><DD
><P
>This parameter is only available if Samba has been
configure to include the <B
CLASS="COMMAND"
>--with-ldapsam</B
> option
at compile time.
</P
><P
> This option is used to control the tcp port number used to contact
the <A
HREF="#LDAPSERVER"
><TT
CLASS="PARAMETER"
><I
>ldap server</I
></TT
></A
>.
The default is to use the stand LDAPS port 636.
</P
><P
>See Also: <A
HREF="#LDAPSSL"
>ldap ssl</A
>
</P
><P
>Default : <B
CLASS="COMMAND"
>ldap port = 636 ; if ldap ssl = on</B
></P
><P
>Default : <B
CLASS="COMMAND"
>ldap port = 389 ; if ldap ssl = off</B
></P
></DD
><DT
><A
NAME="LDAPSERVER"
></A
>ldap server (G)</DT
><DD
><P
>This parameter is only available if Samba has been
configure to include the <B
CLASS="COMMAND"
>--with-ldapsam</B
> option
at compile time.
</P
><P
> This parameter should contain the FQDN of the ldap directory
server which should be queried to locate user account information.
</P
><P
>Default : <B
CLASS="COMMAND"
>ldap server = localhost</B
></P
></DD
><DT
><A
NAME="LDAPSSL" NAME="LDAPSSL"
></A ></A
>ldap ssl (G)</DT >ldap ssl (G)</DT
@ -13057,7 +13147,7 @@ CLASS="PARAMETER"
> >
list will be allowed. By default this option is disabled so that a list will be allowed. By default this option is disabled so that a
client can supply a username to be used by the server. Enabling client can supply a username to be used by the server. Enabling
this parameter will force the server to only user the login this parameter will force the server to only use the login
names from the <TT names from the <TT
CLASS="PARAMETER" CLASS="PARAMETER"
><I ><I
@ -13066,7 +13156,7 @@ CLASS="PARAMETER"
> list and is only really > list and is only really
useful in <A useful in <A
HREF="#SECURITYEQUALSSHARE" HREF="#SECURITYEQUALSSHARE"
>shave level</A >share level</A
> >
security.</P security.</P
><P ><P
@ -19486,7 +19576,7 @@ CLASS="PARAMETER"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN6163" NAME="AEN6195"
></A ></A
><H2 ><H2
>WARNINGS</H2 >WARNINGS</H2
@ -19516,7 +19606,7 @@ TARGET="_top"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN6169" NAME="AEN6201"
></A ></A
><H2 ><H2
>VERSION</H2 >VERSION</H2
@ -19527,7 +19617,7 @@ NAME="AEN6169"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN6172" NAME="AEN6204"
></A ></A
><H2 ><H2
>SEE ALSO</H2 >SEE ALSO</H2
@ -19606,7 +19696,7 @@ CLASS="COMMAND"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN6192" NAME="AEN6224"
></A ></A
><H2 ><H2
>AUTHOR</H2 >AUTHOR</H2

View File

@ -191,7 +191,7 @@ CLASS="COMMAND"
CLASS="COMMAND" CLASS="COMMAND"
>-S</B >-S</B
> parameter had been > parameter had been
given. given.
</P </P
></DD ></DD
><DT ><DT

View File

@ -5,7 +5,8 @@
>Samba performance issues</TITLE >Samba performance issues</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="SPEED" NAME="SPEED">Chapter 22. Samba performance issues</H1
></A
>Chapter 23. Samba performance issues</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3065" NAME="AEN3055">22.1. Comparisons</H1
></A
>23.1. Comparisons</H1
><P ><P
>The Samba server uses TCP to talk to the client. Thus if you are >The Samba server uses TCP to talk to the client. Thus if you are
trying to see if it performs well you should really compare it to trying to see if it performs well you should really compare it to
@ -111,98 +108,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3071" NAME="AEN3061">22.2. Socket options</H1
></A
>23.2. Oplocks</H1
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN3073"
></A
>23.2.1. Overview</H2
><P
>Oplocks are the way that SMB clients get permission from a server to
locally cache file operations. If a server grants an oplock
(opportunistic lock) then the client is free to assume that it is the
only one accessing the file and it will agressively cache file
data. With some oplock types the client may even cache file open/close
operations. This can give enormous performance benefits.</P
><P
>With the release of Samba 1.9.18 we now correctly support opportunistic
locks. This is turned on by default, and can be turned off on a share-
by-share basis by setting the parameter :</P
><P
><B
CLASS="COMMAND"
>oplocks = False</B
></P
><P
>We recommend that you leave oplocks on however, as current benchmark
tests with NetBench seem to give approximately a 30% improvement in
speed with them on. This is on average however, and the actual
improvement seen can be orders of magnitude greater, depending on
what the client redirector is doing.</P
><P
>Previous to Samba 1.9.18 there was a 'fake oplocks' option. This
option has been left in the code for backwards compatibility reasons
but it's use is now deprecated. A short summary of what the old
code did follows.</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN3081"
></A
>23.2.2. Level2 Oplocks</H2
><P
>With Samba 2.0.5 a new capability - level2 (read only) oplocks is
supported (although the option is off by default - see the smb.conf
man page for details). Turning on level2 oplocks (on a share-by-share basis)
by setting the parameter :</P
><P
><B
CLASS="COMMAND"
>level2 oplocks = true</B
></P
><P
>should speed concurrent access to files that are not commonly written
to, such as application serving shares (ie. shares that contain common
.EXE files - such as a Microsoft Office share) as it allows clients to
read-ahread cache copies of these files.</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN3087"
></A
>23.2.3. Old 'fake oplocks' option - deprecated</H2
><P
>Samba can also fake oplocks, by granting a oplock whenever a client
asks for one. This is controlled using the smb.conf option "fake
oplocks". If you set "fake oplocks = yes" then you are telling the
client that it may agressively cache the file data for all opens.</P
><P
>Enabling 'fake oplocks' on all read-only shares or shares that you know
will only be accessed from one client at a time you will see a big
performance improvement on many operations. If you enable this option
on shares where multiple clients may be accessing the files read-write
at the same time you can get data corruption.</P
></DIV
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN3091"
></A
>23.3. Socket options</H1
><P ><P
>There are a number of socket options that can greatly affect the >There are a number of socket options that can greatly affect the
performance of a TCP based server like Samba.</P performance of a TCP based server like Samba.</P
@ -228,9 +134,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3098" NAME="AEN3068">22.3. Read size</H1
></A
>23.4. Read size</H1
><P ><P
>The option "read size" affects the overlap of disk reads/writes with >The option "read size" affects the overlap of disk reads/writes with
network reads/writes. If the amount of data being transferred in network reads/writes. If the amount of data being transferred in
@ -254,9 +158,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3103" NAME="AEN3073">22.4. Max xmit</H1
></A
>23.5. Max xmit</H1
><P ><P
>At startup the client and server negotiate a "maximum transmit" size, >At startup the client and server negotiate a "maximum transmit" size,
which limits the size of nearly all SMB commands. You can set the which limits the size of nearly all SMB commands. You can set the
@ -277,56 +179,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3108" NAME="AEN3078">22.5. Log level</H1
></A
>23.6. Locking</H1
><P
>By default Samba does not implement strict locking on each read/write
call (although it did in previous versions). If you enable strict
locking (using "strict locking = yes") then you may find that you
suffer a severe performance hit on some systems.</P
><P
>The performance hit will probably be greater on NFS mounted
filesystems, but could be quite high even on local disks.</P
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN3112"
></A
>23.7. Share modes</H1
><P
>Some people find that opening files is very slow. This is often
because of the "share modes" code needed to fully implement the dos
share modes stuff. You can disable this code using "share modes =
no". This will gain you a lot in opening and closing files but will
mean that (in some cases) the system won't force a second user of a
file to open the file read-only if the first has it open
read-write. For many applications that do their own locking this
doesn't matter, but for some it may. Most Windows applications
depend heavily on "share modes" working correctly and it is
recommended that the Samba share mode support be left at the
default of "on".</P
><P
>The share mode code in Samba has been re-written in the 1.9.17
release following tests with the Ziff-Davis NetBench PC Benchmarking
tool. It is now believed that Samba 1.9.17 implements share modes
similarly to Windows NT.</P
><P
>NOTE: In the most recent versions of Samba there is an option to use
shared memory via mmap() to implement the share modes. This makes
things much faster. See the Makefile for how to enable this.</P
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN3117"
></A
>23.8. Log level</H1
><P ><P
>If you set the log level (also known as "debug level") higher than 2 >If you set the log level (also known as "debug level") higher than 2
then you may suffer a large drop in performance. This is because the then you may suffer a large drop in performance. This is because the
@ -338,23 +191,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3120" NAME="AEN3081">22.6. Read raw</H1
></A
>23.9. Wide lines</H1
><P
>The "wide links" option is now enabled by default, but if you disable
it (for better security) then you may suffer a performance hit in
resolving filenames. The performance loss is lessened if you have
"getwd cache = yes", which is now the default.</P
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN3123"
></A
>23.10. Read raw</H1
><P ><P
>The "read raw" operation is designed to be an optimised, low-latency >The "read raw" operation is designed to be an optimised, low-latency
file read operation. A server may choose to not support it, file read operation. A server may choose to not support it,
@ -374,9 +211,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3128" NAME="AEN3086">22.7. Write raw</H1
></A
>23.11. Write raw</H1
><P ><P
>The "write raw" operation is designed to be an optimised, low-latency >The "write raw" operation is designed to be an optimised, low-latency
file write operation. A server may choose to not support it, file write operation. A server may choose to not support it,
@ -391,56 +226,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3132" NAME="AEN3090">22.8. Slow Clients</H1
></A
>23.12. Read prediction</H1
><P
>Samba can do read prediction on some of the SMB commands. Read
prediction means that Samba reads some extra data on the last file it
read while waiting for the next SMB command to arrive. It can then
respond more quickly when the next read request arrives.</P
><P
>This is disabled by default. You can enable it by using "read
prediction = yes".</P
><P
>Note that read prediction is only used on files that were opened read
only.</P
><P
>Read prediction should particularly help for those silly clients (such
as "Write" under NT) which do lots of very small reads on a file.</P
><P
>Samba will not read ahead more data than the amount specified in the
"read size" option. It always reads ahead on 1k block boundaries.</P
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN3139"
></A
>23.13. Memory mapping</H1
><P
>Samba supports reading files via memory mapping them. One some
machines this can give a large boost to performance, on others it
makes not difference at all, and on some it may reduce performance.</P
><P
>To enable you you have to recompile Samba with the -DUSE_MMAP option
on the FLAGS line of the Makefile.</P
><P
>Note that memory mapping is only used on files opened read only, and
is not used by the "read raw" operation. Thus you may find memory
mapping is more effective if you disable "read raw" using "read raw =
no".</P
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN3144"
></A
>23.14. Slow Clients</H1
><P ><P
>One person has reported that setting the protocol to COREPLUS rather >One person has reported that setting the protocol to COREPLUS rather
than LANMAN2 gave a dramatic speed improvement (from 10k/s to 150k/s).</P than LANMAN2 gave a dramatic speed improvement (from 10k/s to 150k/s).</P
@ -455,9 +241,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3148" NAME="AEN3094">22.9. Slow Logins</H1
></A
>23.15. Slow Logins</H1
><P ><P
>Slow logins are almost always due to the password checking time. Using >Slow logins are almost always due to the password checking time. Using
the lowest practical "password level" will improve things a lot. You the lowest practical "password level" will improve things a lot. You
@ -468,9 +252,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN3151" NAME="AEN3097">22.10. Client tuning</H1
></A
>23.16. Client tuning</H1
><P ><P
>Often a speed problem can be traced to the client. The client (for >Often a speed problem can be traced to the client. The client (for
example Windows for Workgroups) can often be tuned for better TCP example Windows for Workgroups) can often be tuned for better TCP
@ -545,11 +327,13 @@ turned out I was better off without any!!!!!</P
and a DX2-66 20MB server with a crappy NE2000 compatible and old IDE and a DX2-66 20MB server with a crappy NE2000 compatible and old IDE
drive (Kernel 2.0.30). The transfer rate was reasonable for 10 baseT.</P drive (Kernel 2.0.30). The transfer rate was reasonable for 10 baseT.</P
><P ><P
>FIXME ><PRE
The figures are: Put Get CLASS="PROGRAMLISTING"
>The figures are: Put Get
P166 client 3Com card: 420-440kB/s 500-520kB/s P166 client 3Com card: 420-440kB/s 500-520kB/s
P100 client 3Com card: 390-410kB/s 490-510kB/s P100 client 3Com card: 390-410kB/s 490-510kB/s
DX4-75 client NE2000: 370-380kB/s 330-350kB/s</P DX4-75 client NE2000: 370-380kB/s 330-350kB/s</PRE
></P
><P ><P
>I based these test on transfer two files a 4.5MB text file and a 15MB >I based these test on transfer two files a 4.5MB text file and a 15MB
textfile. The results arn't bad considering the hardware Samba is textfile. The results arn't bad considering the hardware Samba is
@ -567,35 +351,6 @@ upwards). I suppose there is more going on in the samba protocol, but
if it could get up to the rate of FTP the perfomance would be quite if it could get up to the rate of FTP the perfomance would be quite
staggering.</P staggering.</P
></DIV ></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN3183"
></A
>23.17. My Results</H1
><P
>Some people want to see real numbers in a document like this, so here
they are. I have a 486sx33 client running WfWg 3.11 with the 3.11b
tcp/ip stack. It has a slow IDE drive and 20Mb of ram. It has a SMC
Elite-16 ISA bus ethernet card. The only WfWg tuning I've done is to
set DefaultRcvWindow in the [MSTCP] section of system.ini to 16384. My
server is a 486dx3-66 running Linux. It also has 20Mb of ram and a SMC
Elite-16 card. You can see my server config in the examples/tridge/
subdirectory of the distribution.</P
><P
>I get 490k/s on reading a 8Mb file with copy.
I get 441k/s writing the same file to the samba server.</P
><P
>Of course, there's a lot more to benchmarks than 2 raw throughput
figures, but it gives you a ballpark figure.</P
><P
>I've also tested Win95 and WinNT, and found WinNT gave me the best
speed as a samba client. The fastest client of all (for me) is
smbclient running on another linux box. Maybe I'll add those results
here someday ...</P
></DIV
></DIV ></DIV
><DIV ><DIV
CLASS="NAVFOOTER" CLASS="NAVFOOTER"

View File

@ -5,7 +5,8 @@
>Type of installation</TITLE >Type of installation</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -68,9 +69,7 @@ WIDTH="100%"></DIV
><DIV ><DIV
CLASS="PART" CLASS="PART"
><A ><A
NAME="TYPE" NAME="TYPE"><DIV
></A
><DIV
CLASS="TITLEPAGE" CLASS="TITLEPAGE"
><H1 ><H1
CLASS="TITLE" CLASS="TITLE"
@ -78,9 +77,7 @@ CLASS="TITLE"
><DIV ><DIV
CLASS="PARTINTRO" CLASS="PARTINTRO"
><A ><A
NAME="AEN547" NAME="AEN531"><H1
></A
><H1
>Introduction</H1 >Introduction</H1
><P ><P
>Samba can operate in various SMB networks. This part contains information on configuring samba >Samba can operate in various SMB networks. This part contains information on configuring samba
@ -94,149 +91,149 @@ CLASS="TOC"
>Table of Contents</B >Table of Contents</B
></DT ></DT
><DT ><DT
>6. <A >5. <A
HREF="securitylevels.html" HREF="securitylevels.html"
>User and Share security level (for servers not in a domain)</A >User and Share security level (for servers not in a domain)</A
></DT ></DT
><DT ><DT
>7. <A >6. <A
HREF="samba-pdc.html" HREF="samba-pdc.html"
>How to Configure Samba as a NT4 Primary Domain Controller</A >How to Configure Samba as a NT4 Primary Domain Controller</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>7.1. <A >6.1. <A
HREF="samba-pdc.html#AEN591" HREF="samba-pdc.html#AEN575"
>Prerequisite Reading</A >Prerequisite Reading</A
></DT ></DT
><DT ><DT
>7.2. <A >6.2. <A
HREF="samba-pdc.html#AEN597" HREF="samba-pdc.html#AEN581"
>Background</A >Background</A
></DT ></DT
><DT ><DT
>7.3. <A >6.3. <A
HREF="samba-pdc.html#AEN636" HREF="samba-pdc.html#AEN620"
>Configuring the Samba Domain Controller</A >Configuring the Samba Domain Controller</A
></DT ></DT
><DT ><DT
>7.4. <A >6.4. <A
HREF="samba-pdc.html#AEN679" HREF="samba-pdc.html#AEN663"
>Creating Machine Trust Accounts and Joining Clients to the >Creating Machine Trust Accounts and Joining Clients to the
Domain</A Domain</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>7.4.1. <A >6.4.1. <A
HREF="samba-pdc.html#AEN698" HREF="samba-pdc.html#AEN682"
>Manual Creation of Machine Trust Accounts</A >Manual Creation of Machine Trust Accounts</A
></DT ></DT
><DT ><DT
>7.4.2. <A >6.4.2. <A
HREF="samba-pdc.html#AEN739" HREF="samba-pdc.html#AEN723"
>"On-the-Fly" Creation of Machine Trust Accounts</A >"On-the-Fly" Creation of Machine Trust Accounts</A
></DT ></DT
><DT ><DT
>7.4.3. <A >6.4.3. <A
HREF="samba-pdc.html#AEN748" HREF="samba-pdc.html#AEN732"
>Joining the Client to the Domain</A >Joining the Client to the Domain</A
></DT ></DT
></DL ></DL
></DD ></DD
><DT ><DT
>7.5. <A >6.5. <A
HREF="samba-pdc.html#AEN763" HREF="samba-pdc.html#AEN747"
>Common Problems and Errors</A >Common Problems and Errors</A
></DT ></DT
><DT ><DT
>7.6. <A >6.6. <A
HREF="samba-pdc.html#AEN811" HREF="samba-pdc.html#AEN795"
>System Policies and Profiles</A >System Policies and Profiles</A
></DT ></DT
><DT ><DT
>7.7. <A >6.7. <A
HREF="samba-pdc.html#AEN855" HREF="samba-pdc.html#AEN839"
>What other help can I get?</A >What other help can I get?</A
></DT ></DT
><DT ><DT
>7.8. <A >6.8. <A
HREF="samba-pdc.html#AEN969" HREF="samba-pdc.html#AEN953"
>Domain Control for Windows 9x/ME</A >Domain Control for Windows 9x/ME</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>7.8.1. <A >6.8.1. <A
HREF="samba-pdc.html#AEN995" HREF="samba-pdc.html#AEN979"
>Configuration Instructions: Network Logons</A >Configuration Instructions: Network Logons</A
></DT ></DT
><DT ><DT
>7.8.2. <A >6.8.2. <A
HREF="samba-pdc.html#AEN1014" HREF="samba-pdc.html#AEN998"
>Configuration Instructions: Setting up Roaming User Profiles</A >Configuration Instructions: Setting up Roaming User Profiles</A
></DT ></DT
></DL ></DL
></DD ></DD
><DT ><DT
>7.9. <A >6.9. <A
HREF="samba-pdc.html#AEN1107" HREF="samba-pdc.html#AEN1091"
>DOMAIN_CONTROL.txt : Windows NT Domain Control &#38; Samba</A >DOMAIN_CONTROL.txt : Windows NT Domain Control &#38; Samba</A
></DT ></DT
></DL ></DL
></DD ></DD
><DT ><DT
>8. <A >7. <A
HREF="samba-bdc.html" HREF="samba-bdc.html"
>How to Act as a Backup Domain Controller in a Purely Samba Controlled Domain</A >How to Act as a Backup Domain Controller in a Purely Samba Controlled Domain</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>8.1. <A >7.1. <A
HREF="samba-bdc.html#AEN1143" HREF="samba-bdc.html#AEN1127"
>Prerequisite Reading</A >Prerequisite Reading</A
></DT ></DT
><DT ><DT
>8.2. <A >7.2. <A
HREF="samba-bdc.html#AEN1147" HREF="samba-bdc.html#AEN1131"
>Background</A >Background</A
></DT ></DT
><DT ><DT
>8.3. <A >7.3. <A
HREF="samba-bdc.html#AEN1155" HREF="samba-bdc.html#AEN1139"
>What qualifies a Domain Controller on the network?</A >What qualifies a Domain Controller on the network?</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>8.3.1. <A >7.3.1. <A
HREF="samba-bdc.html#AEN1158" HREF="samba-bdc.html#AEN1142"
>How does a Workstation find its domain controller?</A >How does a Workstation find its domain controller?</A
></DT ></DT
><DT ><DT
>8.3.2. <A >7.3.2. <A
HREF="samba-bdc.html#AEN1161" HREF="samba-bdc.html#AEN1145"
>When is the PDC needed?</A >When is the PDC needed?</A
></DT ></DT
></DL ></DL
></DD ></DD
><DT ><DT
>8.4. <A >7.4. <A
HREF="samba-bdc.html#AEN1164" HREF="samba-bdc.html#AEN1148"
>Can Samba be a Backup Domain Controller?</A >Can Samba be a Backup Domain Controller?</A
></DT ></DT
><DT ><DT
>8.5. <A >7.5. <A
HREF="samba-bdc.html#AEN1168" HREF="samba-bdc.html#AEN1152"
>How do I set up a Samba BDC?</A >How do I set up a Samba BDC?</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>8.5.1. <A >7.5.1. <A
HREF="samba-bdc.html#AEN1185" HREF="samba-bdc.html#AEN1169"
>How do I replicate the smbpasswd file?</A >How do I replicate the smbpasswd file?</A
></DT ></DT
></DL ></DL
@ -244,83 +241,83 @@ HREF="samba-bdc.html#AEN1185"
></DL ></DL
></DD ></DD
><DT ><DT
>9. <A >8. <A
HREF="ads.html" HREF="ads.html"
>Samba as a ADS domain member</A >Samba as a ADS domain member</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>9.1. <A >8.1. <A
HREF="ads.html#AEN1203" HREF="ads.html#AEN1187"
>Installing the required packages for Debian</A >Installing the required packages for Debian</A
></DT ></DT
><DT ><DT
>9.2. <A >8.2. <A
HREF="ads.html#AEN1209" HREF="ads.html#AEN1193"
>Installing the required packages for RedHat</A >Installing the required packages for RedHat</A
></DT ></DT
><DT ><DT
>9.3. <A >8.3. <A
HREF="ads.html#AEN1218" HREF="ads.html#AEN1202"
>Compile Samba</A >Compile Samba</A
></DT ></DT
><DT ><DT
>9.4. <A >8.4. <A
HREF="ads.html#AEN1230" HREF="ads.html#AEN1217"
>Setup your /etc/krb5.conf</A >Setup your /etc/krb5.conf</A
></DT ></DT
><DT ><DT
>9.5. <A >8.5. <A
HREF="ads.html#AEN1240" HREF="ads.html#AEN1227"
>Create the computer account</A >Create the computer account</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>9.5.1. <A >8.5.1. <A
HREF="ads.html#AEN1244" HREF="ads.html#AEN1231"
>Possible errors</A >Possible errors</A
></DT ></DT
></DL ></DL
></DD ></DD
><DT ><DT
>9.6. <A >8.6. <A
HREF="ads.html#AEN1256" HREF="ads.html#AEN1243"
>Test your server setup</A >Test your server setup</A
></DT ></DT
><DT ><DT
>9.7. <A >8.7. <A
HREF="ads.html#AEN1261" HREF="ads.html#AEN1248"
>Testing with smbclient</A >Testing with smbclient</A
></DT ></DT
><DT ><DT
>9.8. <A >8.8. <A
HREF="ads.html#AEN1264" HREF="ads.html#AEN1251"
>Notes</A >Notes</A
></DT ></DT
></DL ></DL
></DD ></DD
><DT ><DT
>10. <A >9. <A
HREF="domain-security.html" HREF="domain-security.html"
>Samba as a NT4 domain member</A >Samba as a NT4 domain member</A
></DT ></DT
><DD ><DD
><DL ><DL
><DT ><DT
>10.1. <A >9.1. <A
HREF="domain-security.html#AEN1286" HREF="domain-security.html#AEN1273"
>Joining an NT Domain with Samba 2.2</A >Joining an NT Domain with Samba 2.2</A
></DT ></DT
><DT ><DT
>10.2. <A >9.2. <A
HREF="domain-security.html#AEN1350" HREF="domain-security.html#AEN1337"
>Samba and Windows 2000 Domains</A >Samba and Windows 2000 Domains</A
></DT ></DT
><DT ><DT
>10.3. <A >9.3. <A
HREF="domain-security.html#AEN1355" HREF="domain-security.html#AEN1342"
>Why is this better than security = server?</A >Why is this better than security = server?</A
></DT ></DT
></DL ></DL

View File

@ -5,7 +5,8 @@
>UNIX Permission Bits and Windows NT Access Control Lists</TITLE >UNIX Permission Bits and Windows NT Access Control Lists</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -73,17 +74,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="UNIX-PERMISSIONS" NAME="UNIX-PERMISSIONS">Chapter 11. UNIX Permission Bits and Windows NT Access Control Lists</H1
></A
>Chapter 12. UNIX Permission Bits and Windows NT Access Control Lists</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1618" NAME="AEN1605">11.1. Viewing and changing UNIX permissions using the NT
></A
>12.1. Viewing and changing UNIX permissions using the NT
security dialogs</H1 security dialogs</H1
><P ><P
>New in the Samba 2.0.4 release is the ability for Windows >New in the Samba 2.0.4 release is the ability for Windows
@ -120,9 +117,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1627" NAME="AEN1614">11.2. How to view file security on a Samba share</H1
></A
>12.2. How to view file security on a Samba share</H1
><P ><P
>From an NT 4.0 client, single-click with the right >From an NT 4.0 client, single-click with the right
mouse button on any file or directory in a Samba mounted mouse button on any file or directory in a Samba mounted
@ -190,9 +185,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1638" NAME="AEN1625">11.3. Viewing file ownership</H1
></A
>12.3. Viewing file ownership</H1
><P ><P
>Clicking on the <B >Clicking on the <B
CLASS="COMMAND" CLASS="COMMAND"
@ -284,9 +277,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1658" NAME="AEN1645">11.4. Viewing file or directory permissions</H1
></A
>12.4. Viewing file or directory permissions</H1
><P ><P
>The third button is the <B >The third button is the <B
CLASS="COMMAND" CLASS="COMMAND"
@ -346,9 +337,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1673" NAME="AEN1660">11.4.1. File Permissions</H2
></A
>12.4.1. File Permissions</H2
><P ><P
>The standard UNIX user/group/world triple and >The standard UNIX user/group/world triple and
the corresponding "read", "write", "execute" permissions the corresponding "read", "write", "execute" permissions
@ -408,9 +397,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN1687" NAME="AEN1674">11.4.2. Directory Permissions</H2
></A
>12.4.2. Directory Permissions</H2
><P ><P
>Directories on an NT NTFS file system have two >Directories on an NT NTFS file system have two
different sets of permissions. The first set of permissions different sets of permissions. The first set of permissions
@ -440,9 +427,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1694" NAME="AEN1681">11.5. Modifying file or directory permissions</H1
></A
>12.5. Modifying file or directory permissions</H1
><P ><P
>Modifying file and directory permissions is as simple >Modifying file and directory permissions is as simple
as changing the displayed permissions in the dialog box, and as changing the displayed permissions in the dialog box, and
@ -538,9 +523,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1716" NAME="AEN1703">11.6. Interaction with the standard Samba create mask
></A
>12.6. Interaction with the standard Samba create mask
parameters</H1 parameters</H1
><P ><P
>Note that with Samba 2.0.5 there are four new parameters >Note that with Samba 2.0.5 there are four new parameters
@ -815,9 +798,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN1780" NAME="AEN1767">11.7. Interaction with the standard Samba file attribute
></A
>12.7. Interaction with the standard Samba file attribute
mapping</H1 mapping</H1
><P ><P
>Samba maps some of the DOS attribute bits (such as "read >Samba maps some of the DOS attribute bits (such as "read

View File

@ -5,7 +5,8 @@
>Stackable VFS modules</TITLE >Stackable VFS modules</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,63 +73,58 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="VFS" NAME="VFS">Chapter 18. Stackable VFS modules</H1
></A
>Chapter 19. Stackable VFS modules</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2651" NAME="AEN2640">18.1. Introduction and configuration</H1
></A
>19.1. Introduction and configuration</H1
><P ><P
>Since samba 3.0, samba supports stackable VFS(Virtual File System) modules. >Since samba 3.0, samba supports stackable VFS(Virtual File System) modules.
Samba passes each request to access the unix file system thru the loaded VFS modules. Samba passes each request to access the unix file system thru the loaded VFS modules.
This chapter covers all the modules that come with the samba source and references to This chapter covers all the modules that come with the samba source and references to
some external modules.</P some external modules.</P
><P ><P
>You may have problems to compile these modules, as shared libraries are >You may have problems to compile these modules, as shared libraries are
compiled and linked in different ways on different systems. compiled and linked in different ways on different systems.
I currently tested them against GNU/linux and IRIX.</P They currently have been tested against GNU/linux and IRIX.</P
><P ><P
>To use the VFS modules, create a share similar to the one below. The >To use the VFS modules, create a share similar to the one below. The
important parameter is the <B important parameter is the <B
CLASS="COMMAND" CLASS="COMMAND"
>vfs object</B >vfs object</B
> parameter which must point to > parameter which must point to
the exact pathname of the shared library object. For example, to use audit.so: the exact pathname of the shared library objects. For example, to log all access
to files and use a recycle bin:
<PRE <PRE
CLASS="PROGRAMLISTING" CLASS="PROGRAMLISTING"
> [audit] > [audit]
comment = Audited /data directory comment = Audited /data directory
path = /data path = /data
vfs object = /path/to/audit.so vfs object = /path/to/audit.so /path/to/recycle.so
writeable = yes writeable = yes
browseable = yes</PRE browseable = yes</PRE
></P ></P
><P ><P
>The modules are used in the order they are specified.</P
><P
>Further documentation on writing VFS modules for Samba can be found in >Further documentation on writing VFS modules for Samba can be found in
docs directory of the Samba source distribution.</P the Samba Developers Guide.</P
></DIV ></DIV
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2659" NAME="AEN2649">18.2. Included modules</H1
></A
>19.2. Included modules</H1
><DIV ><DIV
CLASS="SECT2" CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2661" NAME="AEN2651">18.2.1. audit</H2
></A
>19.2.1. audit</H2
><P ><P
>A simple module to audit file access to the syslog >A simple module to audit file access to the syslog
facility. The following operations are logged: facility. The following operations are logged:
@ -164,9 +160,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2669" NAME="AEN2659">18.2.2. recycle</H2
></A
>19.2.2. recycle</H2
><P ><P
>A recycle-bin like modules. When used any unlink call >A recycle-bin like modules. When used any unlink call
will be intercepted and files moved to the recycle will be intercepted and files moved to the recycle
@ -235,9 +229,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2706" NAME="AEN2696">18.2.3. netatalk</H2
></A
>19.2.3. netatalk</H2
><P ><P
>A netatalk module, that will ease co-existence of samba and >A netatalk module, that will ease co-existence of samba and
netatalk file sharing services.</P netatalk file sharing services.</P
@ -268,9 +260,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2713" NAME="AEN2703">18.3. VFS modules available elsewhere</H1
></A
>19.3. VFS modules available elsewhere</H1
><P ><P
>This section contains a listing of various other VFS modules that >This section contains a listing of various other VFS modules that
have been posted but don't currently reside in the Samba CVS have been posted but don't currently reside in the Samba CVS
@ -284,9 +274,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2717" NAME="AEN2707">18.3.1. DatabaseFS</H2
></A
>19.3.1. DatabaseFS</H2
><P ><P
>URL: <A >URL: <A
HREF="http://www.css.tayloru.edu/~elorimer/databasefs/index.php" HREF="http://www.css.tayloru.edu/~elorimer/databasefs/index.php"
@ -318,9 +306,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2725" NAME="AEN2715">18.3.2. vscan</H2
></A
>19.3.2. vscan</H2
><P ><P
>URL: <A >URL: <A
HREF="http://www.openantivirus.org/" HREF="http://www.openantivirus.org/"

View File

@ -5,7 +5,8 @@
>Unified Logons between Windows NT and UNIX using Winbind</TITLE >Unified Logons between Windows NT and UNIX using Winbind</TITLE
><META ><META
NAME="GENERATOR" NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME" REL="HOME"
TITLE="SAMBA Project Documentation" TITLE="SAMBA Project Documentation"
HREF="samba-howto-collection.html"><LINK HREF="samba-howto-collection.html"><LINK
@ -72,17 +73,13 @@ WIDTH="100%"></DIV
CLASS="CHAPTER" CLASS="CHAPTER"
><H1 ><H1
><A ><A
NAME="WINBIND" NAME="WINBIND">Chapter 15. Unified Logons between Windows NT and UNIX using Winbind</H1
></A
>Chapter 16. Unified Logons between Windows NT and UNIX using Winbind</H1
><DIV ><DIV
CLASS="SECT1" CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2238" NAME="AEN2225">15.1. Abstract</H1
></A
>16.1. Abstract</H1
><P ><P
>Integration of UNIX and Microsoft Windows NT through >Integration of UNIX and Microsoft Windows NT through
a unified logon has been considered a "holy grail" in heterogeneous a unified logon has been considered a "holy grail" in heterogeneous
@ -107,9 +104,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2242" NAME="AEN2229">15.2. Introduction</H1
></A
>16.2. Introduction</H1
><P ><P
>It is well known that UNIX and Microsoft Windows NT have >It is well known that UNIX and Microsoft Windows NT have
different models for representing user and group information and different models for representing user and group information and
@ -161,9 +156,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2255" NAME="AEN2242">15.3. What Winbind Provides</H1
></A
>16.3. What Winbind Provides</H1
><P ><P
>Winbind unifies UNIX and Windows NT account management by >Winbind unifies UNIX and Windows NT account management by
allowing a UNIX box to become a full member of a NT domain. Once allowing a UNIX box to become a full member of a NT domain. Once
@ -203,9 +196,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2262" NAME="AEN2249">15.3.1. Target Uses</H2
></A
>16.3.1. Target Uses</H2
><P ><P
>Winbind is targeted at organizations that have an >Winbind is targeted at organizations that have an
existing NT based domain infrastructure into which they wish existing NT based domain infrastructure into which they wish
@ -227,9 +218,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2266" NAME="AEN2253">15.4. How Winbind Works</H1
></A
>16.4. How Winbind Works</H1
><P ><P
>The winbind system is designed around a client/server >The winbind system is designed around a client/server
architecture. A long running <B architecture. A long running <B
@ -247,9 +236,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2271" NAME="AEN2258">15.4.1. Microsoft Remote Procedure Calls</H2
></A
>16.4.1. Microsoft Remote Procedure Calls</H2
><P ><P
>Over the last two years, efforts have been underway >Over the last two years, efforts have been underway
by various Samba Team members to decode various aspects of by various Samba Team members to decode various aspects of
@ -273,9 +260,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2275" NAME="AEN2262">15.4.2. Name Service Switch</H2
></A
>16.4.2. Name Service Switch</H2
><P ><P
>The Name Service Switch, or NSS, is a feature that is >The Name Service Switch, or NSS, is a feature that is
present in many UNIX operating systems. It allows system present in many UNIX operating systems. It allows system
@ -353,9 +338,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2291" NAME="AEN2278">15.4.3. Pluggable Authentication Modules</H2
></A
>16.4.3. Pluggable Authentication Modules</H2
><P ><P
>Pluggable Authentication Modules, also known as PAM, >Pluggable Authentication Modules, also known as PAM,
is a system for abstracting authentication and authorization is a system for abstracting authentication and authorization
@ -402,9 +385,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2299" NAME="AEN2286">15.4.4. User and Group ID Allocation</H2
></A
>16.4.4. User and Group ID Allocation</H2
><P ><P
>When a user or group is created under Windows NT >When a user or group is created under Windows NT
is it allocated a numerical relative identifier (RID). This is is it allocated a numerical relative identifier (RID). This is
@ -428,9 +409,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2303" NAME="AEN2290">15.4.5. Result Caching</H2
></A
>16.4.5. Result Caching</H2
><P ><P
>An active system can generate a lot of user and group >An active system can generate a lot of user and group
name lookups. To reduce the network cost of these lookups winbind name lookups. To reduce the network cost of these lookups winbind
@ -451,9 +430,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2306" NAME="AEN2293">15.5. Installation and Configuration</H1
></A
>16.5. Installation and Configuration</H1
><P ><P
>Many thanks to John Trostel <A >Many thanks to John Trostel <A
HREF="mailto:jtrostel@snapserver.com" HREF="mailto:jtrostel@snapserver.com"
@ -478,9 +455,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2313" NAME="AEN2300">15.5.1. Introduction</H2
></A
>16.5.1. Introduction</H2
><P ><P
>This HOWTO describes the procedures used to get winbind up and >This HOWTO describes the procedures used to get winbind up and
running on my RedHat 7.1 system. Winbind is capable of providing access running on my RedHat 7.1 system. Winbind is capable of providing access
@ -537,9 +512,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2326" NAME="AEN2313">15.5.2. Requirements</H2
></A
>16.5.2. Requirements</H2
><P ><P
>If you have a samba configuration file that you are currently >If you have a samba configuration file that you are currently
using... <SPAN using... <SPAN
@ -607,9 +580,7 @@ CLASS="SECT2"
><H2 ><H2
CLASS="SECT2" CLASS="SECT2"
><A ><A
NAME="AEN2340" NAME="AEN2327">15.5.3. Testing Things Out</H2
></A
>16.5.3. Testing Things Out</H2
><P ><P
>Before starting, it is probably best to kill off all the SAMBA >Before starting, it is probably best to kill off all the SAMBA
related daemons running on your server. Kill off all <B related daemons running on your server. Kill off all <B
@ -652,9 +623,7 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN2351" NAME="AEN2338">15.5.3.1. Configure and compile SAMBA</H3
></A
>16.5.3.1. Configure and compile SAMBA</H3
><P ><P
>The configuration and compilation of SAMBA is pretty straightforward. >The configuration and compilation of SAMBA is pretty straightforward.
The first three steps may not be necessary depending upon The first three steps may not be necessary depending upon
@ -718,9 +687,7 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN2370" NAME="AEN2357">15.5.3.2. Configure <TT
></A
>16.5.3.2. Configure <TT
CLASS="FILENAME" CLASS="FILENAME"
>nsswitch.conf</TT >nsswitch.conf</TT
> and the > and the
@ -823,9 +790,7 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN2403" NAME="AEN2390">15.5.3.3. Configure smb.conf</H3
></A
>16.5.3.3. Configure smb.conf</H3
><P ><P
>Several parameters are needed in the smb.conf file to control >Several parameters are needed in the smb.conf file to control
the behavior of <B the behavior of <B
@ -898,9 +863,7 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN2419" NAME="AEN2406">15.5.3.4. Join the SAMBA server to the PDC domain</H3
></A
>16.5.3.4. Join the SAMBA server to the PDC domain</H3
><P ><P
>Enter the following command to make the SAMBA server join the >Enter the following command to make the SAMBA server join the
PDC domain, where <TT PDC domain, where <TT
@ -944,9 +907,7 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN2430" NAME="AEN2417">15.5.3.5. Start up the winbindd daemon and test it!</H3
></A
>16.5.3.5. Start up the winbindd daemon and test it!</H3
><P ><P
>Eventually, you will want to modify your smb startup script to >Eventually, you will want to modify your smb startup script to
automatically invoke the winbindd daemon when the other parts of automatically invoke the winbindd daemon when the other parts of
@ -1067,17 +1028,13 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN2466" NAME="AEN2453">15.5.3.6. Fix the init.d startup scripts</H3
></A
>16.5.3.6. Fix the init.d startup scripts</H3
><DIV ><DIV
CLASS="SECT4" CLASS="SECT4"
><H4 ><H4
CLASS="SECT4" CLASS="SECT4"
><A ><A
NAME="AEN2468" NAME="AEN2455">15.5.3.6.1. Linux</H4
></A
>16.5.3.6.1. Linux</H4
><P ><P
>The <B >The <B
CLASS="COMMAND" CLASS="COMMAND"
@ -1171,9 +1128,7 @@ CLASS="SECT4"
><H4 ><H4
CLASS="SECT4" CLASS="SECT4"
><A ><A
NAME="AEN2485" NAME="AEN2472">15.5.3.6.2. Solaris</H4
></A
>16.5.3.6.2. Solaris</H4
><P ><P
>On solaris, you need to modify the >On solaris, you need to modify the
<TT <TT
@ -1242,9 +1197,7 @@ CLASS="SECT4"
><H4 ><H4
CLASS="SECT4" CLASS="SECT4"
><A ><A
NAME="AEN2492" NAME="AEN2479">15.5.3.6.3. Restarting</H4
></A
>16.5.3.6.3. Restarting</H4
><P ><P
>If you restart the <B >If you restart the <B
CLASS="COMMAND" CLASS="COMMAND"
@ -1266,9 +1219,7 @@ CLASS="SECT3"
><H3 ><H3
CLASS="SECT3" CLASS="SECT3"
><A ><A
NAME="AEN2498" NAME="AEN2485">15.5.3.7. Configure Winbind and PAM</H3
></A
>16.5.3.7. Configure Winbind and PAM</H3
><P ><P
>If you have made it this far, you know that winbindd and samba are working >If you have made it this far, you know that winbindd and samba are working
together. If you want to use winbind to provide authentication for other together. If you want to use winbind to provide authentication for other
@ -1324,9 +1275,7 @@ CLASS="SECT4"
><H4 ><H4
CLASS="SECT4" CLASS="SECT4"
><A ><A
NAME="AEN2515" NAME="AEN2502">15.5.3.7.1. Linux/FreeBSD-specific PAM configuration</H4
></A
>16.5.3.7.1. Linux/FreeBSD-specific PAM configuration</H4
><P ><P
>The <TT >The <TT
CLASS="FILENAME" CLASS="FILENAME"
@ -1453,9 +1402,7 @@ CLASS="SECT4"
><H4 ><H4
CLASS="SECT4" CLASS="SECT4"
><A ><A
NAME="AEN2548" NAME="AEN2535">15.5.3.7.2. Solaris-specific configuration</H4
></A
>16.5.3.7.2. Solaris-specific configuration</H4
><P ><P
>The /etc/pam.conf needs to be changed. I changed this file so that my Domain >The /etc/pam.conf needs to be changed. I changed this file so that my Domain
users can logon both locally as well as telnet.The following are the changes users can logon both locally as well as telnet.The following are the changes
@ -1540,9 +1487,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2555" NAME="AEN2542">15.6. Limitations</H1
></A
>16.6. Limitations</H1
><P ><P
>Winbind has a number of limitations in its current >Winbind has a number of limitations in its current
released version that we hope to overcome in future released version that we hope to overcome in future
@ -1581,9 +1526,7 @@ CLASS="SECT1"
><H1 ><H1
CLASS="SECT1" CLASS="SECT1"
><A ><A
NAME="AEN2565" NAME="AEN2552">15.7. Conclusion</H1
></A
>16.7. Conclusion</H1
><P ><P
>The winbind system, through the use of the Name Service >The winbind system, through the use of the Name Service
Switch, Pluggable Authentication Modules, and appropriate Switch, Pluggable Authentication Modules, and appropriate

View File

@ -3,7 +3,7 @@
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
.\" Please send any bug reports, improvements, comments, patches, .\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng <steve@ggi-project.org>. .\" etc. to Steve Cheng <steve@ggi-project.org>.
.TH "FINDSMB" "1" "05 November 2002" "" "" .TH "FINDSMB" "1" "15 January 2003" "" ""
.SH NAME .SH NAME
findsmb \- list info about machines that respond to SMB name queries on a subnet findsmb \- list info about machines that respond to SMB name queries on a subnet
.SH SYNOPSIS .SH SYNOPSIS
@ -20,6 +20,14 @@ on a subnet that respond to SMB name query requests.
It uses \fB nmblookup(1)\fR to obtain this information. It uses \fB nmblookup(1)\fR to obtain this information.
.SH "OPTIONS" .SH "OPTIONS"
.TP .TP
\fB-r\fR
Controls whether \fBfindsmb\fR takes
bugs in Windows95 into account when trying to find a Netbios name
registered of the remote machine. This option is disabled by default
because it is specific to Windows 95 and Windows 95 machines only.
If set, \fBnmblookup\fR
will be called with -B option.
.TP
\fBsubnet broadcast address\fR \fBsubnet broadcast address\fR
Without this option, \fBfindsmb Without this option, \fBfindsmb
\fR will probe the subnet of the machine where \fR will probe the subnet of the machine where
@ -41,14 +49,16 @@ Machines that are running Windows, Windows 95 or Windows 98 will
not show any information about the operating system or server not show any information about the operating system or server
version. version.
.PP .PP
The command must be run on a system without \fBnmbd\fR running. The command with -r option
must be run on a system without \fBnmbd\fR running.
If \fBnmbd\fR is running on the system, you will If \fBnmbd\fR is running on the system, you will
only get the IP address and the DNS name of the machine. To only get the IP address and the DNS name of the machine. To
get proper responses from Windows 95 and Windows 98 machines, get proper responses from Windows 95 and Windows 98 machines,
the command must be run as root. the command must be run as root and with -r
option on a machine without \fBnmbd\fR running.
.PP .PP
For example, running \fBfindsmb\fR on a machine For example, running \fBfindsmb\fR without
without \fBnmbd\fR running would yield output similar -r option set would yield output similar
to the following to the following
.nf .nf

View File

@ -3,7 +3,7 @@
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
.\" Please send any bug reports, improvements, comments, patches, .\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng <steve@ggi-project.org>. .\" etc. to Steve Cheng <steve@ggi-project.org>.
.TH "SMB.CONF" "5" "29 December 2002" "" "" .TH "SMB.CONF" "5" "15 January 2003" "" ""
.SH NAME .SH NAME
smb.conf \- The configuration file for the Samba suite smb.conf \- The configuration file for the Samba suite
.SH "SYNOPSIS" .SH "SYNOPSIS"
@ -673,6 +673,12 @@ each parameter for details. Note that some are synonyms.
\fIldap filter\fR \fIldap filter\fR
.TP 0.2i .TP 0.2i
\(bu \(bu
\fIldap port\fR
.TP 0.2i
\(bu
\fIldap server\fR
.TP 0.2i
\(bu
\fIldap ssl\fR \fIldap ssl\fR
.TP 0.2i .TP 0.2i
\(bu \(bu
@ -3388,6 +3394,31 @@ objectclass. Note that this filter should only return one entry.
Default : \fBldap filter = (&(uid=%u)(objectclass=sambaAccount))\fR Default : \fBldap filter = (&(uid=%u)(objectclass=sambaAccount))\fR
.TP .TP
\fBldap port (G)\fR
This parameter is only available if Samba has been
configure to include the \fB--with-ldapsam\fR option
at compile time.
This option is used to control the tcp port number used to contact
the \fIldap server\fR.
The default is to use the stand LDAPS port 636.
See Also: ldap ssl
Default : \fBldap port = 636 ; if ldap ssl = on\fR
Default : \fBldap port = 389 ; if ldap ssl = off\fR
.TP
\fBldap server (G)\fR
This parameter is only available if Samba has been
configure to include the \fB--with-ldapsam\fR option
at compile time.
This parameter should contain the FQDN of the ldap directory
server which should be queried to locate user account information.
Default : \fBldap server = localhost\fR
.TP
\fBldap ssl (G)\fR \fBldap ssl (G)\fR
This option is used to define whether or not Samba should This option is used to define whether or not Samba should
use SSL when connecting to the ldap server use SSL when connecting to the ldap server
@ -4725,9 +4756,9 @@ This is a boolean option that controls whether
connections with usernames not in the \fIuser\fR connections with usernames not in the \fIuser\fR
list will be allowed. By default this option is disabled so that a list will be allowed. By default this option is disabled so that a
client can supply a username to be used by the server. Enabling client can supply a username to be used by the server. Enabling
this parameter will force the server to only user the login this parameter will force the server to only use the login
names from the \fIuser\fR list and is only really names from the \fIuser\fR list and is only really
useful in shave level useful in share level
security. security.
Note that this also means Samba won't try to deduce Note that this also means Samba won't try to deduce

View File

@ -3,7 +3,7 @@
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
.\" Please send any bug reports, improvements, comments, patches, .\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng <steve@ggi-project.org>. .\" etc. to Steve Cheng <steve@ggi-project.org>.
.TH "SMBD" "8" "03 January 2003" "" "" .TH "SMBD" "8" "15 January 2003" "" ""
.SH NAME .SH NAME
smbd \- server to provide SMB/CIFS services to clients smbd \- server to provide SMB/CIFS services to clients
.SH SYNOPSIS .SH SYNOPSIS
@ -84,7 +84,7 @@ server is executed on the command line of a shell. Setting this
parameter negates the implicit deamon mode when run from the parameter negates the implicit deamon mode when run from the
command line. \fBsmbd\fR also logs to standard command line. \fBsmbd\fR also logs to standard
output, as if the \fB-S\fR parameter had been output, as if the \fB-S\fR parameter had been
given. given.
.TP .TP
\fB-h\fR \fB-h\fR
Prints the help information (usage) Prints the help information (usage)