[Samba] Move PDC to another server
John Drescher
drescherjm at gmail.com
Wed May 13 13:01:03 GMT 2009
On Wed, May 13, 2009 at 8:44 AM, Helmut Hullen <Hullen at t-online.de> wrote:
> Hallo, John,
>
> Du meintest am 13.05.09:
>
>>> Thanks for help, yes i moved them too. In fact i moved all
>>> /etc/samba/*
>
>> But the tdb files should not be in /etc/samba should they?
>
> Here (Slackware):
> "/etc/samba/smb.conf" sets the directory for the *.tdb files
>
> lock directory = /var/lock/samba
>
I have some in /var/lib/samba and /var/cache/samba on gentoo
jmd0 ~ # ls /var/lib/samba/
account_policy.tdb netlogon ntforms.tdb perfmon private
registry.tdb winbindd_idmap.tdb
group_mapping.ldb ntdrivers.tdb ntprinters.tdb printers profiles
share_info.tdb
jmd0 ~ # ls /var/cache/samba/
brlock.tdb gencache.tdb netsamlogon_cache.tdb sessionid.tdb
winbindd_privileged
browse.dat locking.tdb notify.tdb unexpected.tdb
connections.tdb messages.tdb printing winbindd_cache.tdb
jmd0 ~ # testparm -s -v | grep "lock directory"
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
lock directory = /var/cache/samba
John
More information about the samba
mailing list