|
157.
|
|
|
Make sure a user has rights to read the files in <filename>/var/lib/samba</filename>. For example, to allow users in the <emphasis>admin</emphasis> group to <application>scp</application> the files, enter:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1051(para)
|
|
158.
|
|
|
sudo chgrp -R admin /var/lib/samba
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1059(command)
|
|
159.
|
|
|
Next, sync the user accounts, using <application>scp</application> to copy the <filename>/var/lib/samba</filename> directory from the PDC:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:1003(para)
|
|
160.
|
|
|
sudo scp -r username@pdc:/var/lib/samba /var/lib
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1071(command)
|
|
161.
|
|
|
Replace <emphasis>username</emphasis> with a valid username and <emphasis>pdc</emphasis> with the hostname or IP Address of the actual PDC.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:1013(para)
|
|
162.
|
|
|
Finally, restart <application>samba</application>:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1085(para)
|
|
163.
|
|
|
Test that the Backup Domain controller is working by stopping the Samba daemon on the PDC, then trying to login to a Windows client joined to the domain.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:1033(para)
|
|
164.
|
|
|
If the <emphasis>logon home</emphasis> option has been configured as a directory on the PDC, and the PDC becomes unavailable, access to the user's <emphasis>Home</emphasis> drive will also be unavailable. For this reason, it is best to configure the <emphasis>logon home</emphasis> to reside on a separate file server from the PDC and BDC.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:1038(para)
|
|
165.
|
|
|
<ulink url="http://samba.org/samba/docs/man/Samba-HOWTO-Collection/samba-pdc.html"> Chapter 4</ulink> of the Samba HOWTO Collection explains setting up a Primary Domain Controller.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:1071(para)
|
|
166.
|
|
|
<ulink url="http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/samba-bdc.html"> Chapter 5</ulink> of the Samba HOWTO Collection explains setting up a Backup Domain Controller.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:1079(para)
|