|
120.
|
|
|
Primary Domain Controller
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:757(title)
|
|
121.
|
|
|
This section covers configuring Samba as a Primary Domain Controller (PDC) using the default smbpasswd backend.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:710(para)
|
|
122.
|
|
|
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
../docs/sharing/C/sharing.xml:718(para)
|
|
123.
|
|
|
sudo apt-get install samba libpam-smbpass
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:775(command) docs/sharing/C/sharing.xml:1019(command)
|
|
124.
|
|
|
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 the organization properly:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:730(para)
|
|
125.
|
|
|
In the commented <quote>Domains</quote> section, add or uncomment the following:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:797(para)
|
|
126.
|
|
|
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:750(programlisting)
|
|
127.
|
|
|
<emphasis>domain logons:</emphasis> provides the netlogon service causing Samba to act as a domain controller.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:761(para)
|
|
128.
|
|
|
<emphasis>logon path:</emphasis> places the user's Windows profile into their home directory. It is also possible to configure a <emphasis>[profiles]</emphasis> share placing all profiles under a single directory.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:767(para)
|
|
129.
|
|
|
<emphasis>logon drive:</emphasis> specifies the home directory local path.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:828(para)
|