|
119.
|
|
|
For more information on Samba and ACLs see the <ulink url="http://samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html#id397568">Samba ACLs page </ulink>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:728(para)
|
|
120.
|
|
|
Samba as a Domain Controller
|
|
|
|
El Samba com a controlador de dominis
|
|
Translated by
anna marti
|
|
Reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:744(title)
|
|
121.
|
|
|
Although it cannot act as an Active Directory Primary Domain Controller (PDC), a Samba server can be configured to appear as a Windows NT4-style domain controller. A major advantage of this configuration is the ability to centralize user and machine credentials. Samba can also use multiple backends to store the user information.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:746(para)
|
|
122.
|
|
|
Primary Domain Controller
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:753(title)
|
|
123.
|
|
|
This section covers configuring Samba as a Primary Domain Controller (PDC) using the default smbpasswd backend.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:755(para)
|
|
124.
|
|
|
First, install Samba, and <application>libpam-smbpass</application> to sync the user accounts, by entering the following in a terminal prompt:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:762(para)
|
|
125.
|
|
|
sudo apt-get install samba libpam-smbpass
|
|
|
|
sudo apt-get install samba libpam-smbpass
|
|
Translated by
anna marti
|
|
Reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:768(command) serverguide/C/windows-networking.xml:993(command)
|
|
126.
|
|
|
Next, configure Samba by editing <filename>/etc/samba/smb.conf</filename>. The <emphasis>security</emphasis> mode should be set to <emphasis role="italic">user</emphasis>, and the <emphasis>workgroup</emphasis> should relate to your organization:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:774(para)
|
|
127.
|
|
|
In the commented <quote>Domains</quote> section add or uncomment the following:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:789(para)
|
|
128.
|
|
|
domain logons = yes
logon path = \\%N\%U\profile
logon drive = H:
logon home = \\%N\%U
logon script = logon.cmd
add machine script = sudo /usr/sbin/useradd -N -g machines -c Machine -d /var/lib/samba -s /bin/false %u
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
domain logons = yes
logon path = \\%N\%U\profile
logon drive = H:
logon home = \\%N\%U
logon script = logon.cmd
add machine script = sudo /usr/sbin/useradd -N -g machines -c Machine -d /var/lib/samba -s /bin/false %u
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/windows-networking.xml:793(programlisting)
|