mirror of
https://github.com/samba-team/samba.git
synced 2024-12-29 11:21:54 +03:00
parent
a988cb55f1
commit
3fd392ae78
@ -61,7 +61,7 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
Starting with the configuration files for the server called
|
Starting with the configuration files for the server called
|
||||||
<constant>MASSIVE</constant> in Chapter 6, you now deal with the
|
<constant>MASSIVE</constant> in Chapter 5, you now deal with the
|
||||||
issues that are particular to large distributed networks. Your task
|
issues that are particular to large distributed networks. Your task
|
||||||
is simple &smbmdash; identify the challenges, consider the
|
is simple &smbmdash; identify the challenges, consider the
|
||||||
alternatives, and then design and implement a solution.</para>
|
alternatives, and then design and implement a solution.</para>
|
||||||
@ -1159,7 +1159,7 @@ index default sub
|
|||||||
<smbconfoption name="log level">1</smbconfoption>
|
<smbconfoption name="log level">1</smbconfoption>
|
||||||
<smbconfoption name="syslog">0</smbconfoption>
|
<smbconfoption name="syslog">0</smbconfoption>
|
||||||
<smbconfoption name="log file">/var/log/samba/%m</smbconfoption>
|
<smbconfoption name="log file">/var/log/samba/%m</smbconfoption>
|
||||||
<smbconfoption name="max log size">0</smbconfoption>
|
<smbconfoption name="max log size">50</smbconfoption>
|
||||||
<smbconfoption name="smb ports">139 445</smbconfoption>
|
<smbconfoption name="smb ports">139 445</smbconfoption>
|
||||||
<smbconfoption name="name resolve order">wins bcast hosts</smbconfoption>
|
<smbconfoption name="name resolve order">wins bcast hosts</smbconfoption>
|
||||||
<smbconfoption name="time server">Yes</smbconfoption>
|
<smbconfoption name="time server">Yes</smbconfoption>
|
||||||
|
@ -470,8 +470,6 @@
|
|||||||
<primary>NSS</primary>
|
<primary>NSS</primary>
|
||||||
</indexterm><indexterm>
|
</indexterm><indexterm>
|
||||||
<primary>compat</primary>
|
<primary>compat</primary>
|
||||||
</indexterm><indexterm>
|
|
||||||
<primary>compat</primary>
|
|
||||||
</indexterm><indexterm>
|
</indexterm><indexterm>
|
||||||
<primary>ldap</primary>
|
<primary>ldap</primary>
|
||||||
</indexterm><indexterm>
|
</indexterm><indexterm>
|
||||||
@ -801,8 +799,9 @@ ssl no
|
|||||||
<example id="ch9-sdmnss">
|
<example id="ch9-sdmnss">
|
||||||
<title>NSS using LDAP for Identity Resolution &smbmdash; File: <filename>/etc/nsswitch.conf</filename></title>
|
<title>NSS using LDAP for Identity Resolution &smbmdash; File: <filename>/etc/nsswitch.conf</filename></title>
|
||||||
<screen>
|
<screen>
|
||||||
passwd: compat ldap
|
passwd: files ldap
|
||||||
group: compat ldap
|
shadow: files ldap
|
||||||
|
group: files ldap
|
||||||
|
|
||||||
hosts: files dns wins
|
hosts: files dns wins
|
||||||
networks: files dns
|
networks: files dns
|
||||||
@ -918,7 +917,7 @@ aliases: files
|
|||||||
<primary>/etc/nsswitch.conf</primary>
|
<primary>/etc/nsswitch.conf</primary>
|
||||||
</indexterm>
|
</indexterm>
|
||||||
Edit the <filename>/etc/nsswitch.conf</filename> so it has the entries shown in
|
Edit the <filename>/etc/nsswitch.conf</filename> so it has the entries shown in
|
||||||
<link linkend="ch9-nsswbnd"/>.
|
<link linkend="ch9-sdmnss"/>.
|
||||||
</para></step>
|
</para></step>
|
||||||
|
|
||||||
<step><para><indexterm>
|
<step><para><indexterm>
|
||||||
@ -1064,31 +1063,6 @@ MEGANET2+PIOps:x:10005:
|
|||||||
<smbconfoption name="write list">root</smbconfoption>
|
<smbconfoption name="write list">root</smbconfoption>
|
||||||
</smbconfexample>
|
</smbconfexample>
|
||||||
|
|
||||||
<example id="ch9-nsswbnd">
|
|
||||||
<title>Name Service Switch Control File: <filename>/etc/nsswitch.conf</filename></title>
|
|
||||||
<screen>
|
|
||||||
# /etc/nsswitch.conf
|
|
||||||
|
|
||||||
passwd: compat winbind
|
|
||||||
group: compat winbind
|
|
||||||
|
|
||||||
hosts: files dns wins
|
|
||||||
networks: files dns
|
|
||||||
|
|
||||||
services: files
|
|
||||||
protocols: files
|
|
||||||
rpc: files
|
|
||||||
ethers: files
|
|
||||||
netmasks: files
|
|
||||||
netgroup: files
|
|
||||||
publickey: files
|
|
||||||
|
|
||||||
bootparams: files
|
|
||||||
automount: files
|
|
||||||
aliases: files
|
|
||||||
</screen>
|
|
||||||
</example>
|
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="dcwonss">
|
<sect2 id="dcwonss">
|
||||||
@ -1370,7 +1344,7 @@ massive:/usr/sbin # smbd -b | grep LDAP
|
|||||||
</para></step>
|
</para></step>
|
||||||
|
|
||||||
<step><para>
|
<step><para>
|
||||||
Edit or create the NSS control file so it has the contents shown in <link linkend="ch9-nsswbnd"/>.
|
Edit or create the NSS control file so it has the contents shown in <link linkend="ch9-sdmnss"/>.
|
||||||
</para></step>
|
</para></step>
|
||||||
|
|
||||||
<step><para><indexterm>
|
<step><para><indexterm>
|
||||||
@ -1981,10 +1955,11 @@ administrator:x:1000:1013:Administrator:/home/BE/administrator:/bin/bash
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The following example is for an ADS style domain:
|
The example in <link linkend="sbeunxa"/> is for an ADS style domain.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<example id="sbeunxa">
|
||||||
|
<title>Typical ADS Style Domain &smb.conf; File</title>
|
||||||
<screen>
|
<screen>
|
||||||
# Global parameters
|
# Global parameters
|
||||||
[global]
|
[global]
|
||||||
@ -2003,7 +1978,8 @@ administrator:x:1000:1013:Administrator:/home/BE/administrator:/bin/bash
|
|||||||
template shell = /bin/bash
|
template shell = /bin/bash
|
||||||
winbind use default domain = Yes
|
winbind use default domain = Yes
|
||||||
</screen>
|
</screen>
|
||||||
</para>
|
</example>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<indexterm><primary>realm</primary></indexterm>
|
<indexterm><primary>realm</primary></indexterm>
|
||||||
In the case of an NT4 or Samba-3 style Domain the <parameter>realm</parameter> is not used and the
|
In the case of an NT4 or Samba-3 style Domain the <parameter>realm</parameter> is not used and the
|
||||||
|
@ -1561,7 +1561,7 @@ access to dn.base=""
|
|||||||
by self write
|
by self write
|
||||||
by * auth
|
by * auth
|
||||||
|
|
||||||
access to attr=userPassword
|
access to attr=userPassword,sambaLMPassword,sambaNTPassword
|
||||||
by self write
|
by self write
|
||||||
by * auth
|
by * auth
|
||||||
|
|
||||||
@ -2966,7 +2966,7 @@ Joined domain MEGANET2.
|
|||||||
|
|
||||||
Sharename Type Comment
|
Sharename Type Comment
|
||||||
--------- ---- -------
|
--------- ---- -------
|
||||||
IPC$ IPC IPC Service (Samba 3.0.1)
|
IPC$ IPC IPC Service (Samba 3.0.15)
|
||||||
accounts Disk Accounting Files
|
accounts Disk Accounting Files
|
||||||
service Disk Financial Services Files
|
service Disk Financial Services Files
|
||||||
pidata Disk Property Insurance Files
|
pidata Disk Property Insurance Files
|
||||||
@ -2974,11 +2974,11 @@ Joined domain MEGANET2.
|
|||||||
netlogon Disk Network Logon Service
|
netlogon Disk Network Logon Service
|
||||||
profiles Disk Profile Share
|
profiles Disk Profile Share
|
||||||
profdata Disk Profile Data Share
|
profdata Disk Profile Data Share
|
||||||
ADMIN$ IPC IPC Service (Samba 3.0.1)
|
ADMIN$ IPC IPC Service (Samba 3.0.15)
|
||||||
|
|
||||||
Server Comment
|
Server Comment
|
||||||
--------- -------
|
--------- -------
|
||||||
MASSIVE Samba 3.0.1
|
MASSIVE Samba 3.0.15
|
||||||
|
|
||||||
Workgroup Master
|
Workgroup Master
|
||||||
--------- -------
|
--------- -------
|
||||||
@ -3152,12 +3152,12 @@ application/octet-stream
|
|||||||
to 1 and back to 5 before the NSS LDAP resolver functions. Follow these
|
to 1 and back to 5 before the NSS LDAP resolver functions. Follow these
|
||||||
commands:
|
commands:
|
||||||
<screen>
|
<screen>
|
||||||
&rootprompt; init 1
|
&rootprompt; telinit 1
|
||||||
</screen>
|
</screen>
|
||||||
After the run level has been achieved, you are prompted to provide the
|
After the run level has been achieved, you are prompted to provide the
|
||||||
<constant>root</constant> password. Log on, and then execute:
|
<constant>root</constant> password. Log on, and then execute:
|
||||||
<screen>
|
<screen>
|
||||||
&rootprompt; init 5
|
&rootprompt; telinit 5
|
||||||
</screen>
|
</screen>
|
||||||
When the normal logon prompt appears, log into the system as
|
When the normal logon prompt appears, log into the system as
|
||||||
<constant>root</constant>
|
<constant>root</constant>
|
||||||
@ -3654,8 +3654,7 @@ structuralObjectClass: organizationalUnit
|
|||||||
NT/200x/XP client logs onto the network, it tries to obtain the file
|
NT/200x/XP client logs onto the network, it tries to obtain the file
|
||||||
<filename>logon.bat</filename>
|
<filename>logon.bat</filename>
|
||||||
from the fully qualified path <filename>/var/lib/samba/netlogon/scripts</filename>. This fully
|
from the fully qualified path <filename>/var/lib/samba/netlogon/scripts</filename>. This fully
|
||||||
qualified path should, therefore, exist whether you install the
|
qualified path should, therefore, exist where you install the <filename>logon.bat</filename>.
|
||||||
<filename>logon.bat</filename>.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
Reference in New Issue
Block a user