Hello, I'm trying to move my samba server to another box. I copied uniw and samba users, groups, machines, with the same ID I copied samba conf files I copied SID (with net setlocalsid and net setdomainsid) But i can't open a session on new PDC server :( Any idea, or tutorial to change my server without re-add all computer to domain ? Thanks for help. Regards _________________________________________________________________ T?l?phonez gratuitement ? tous vos proches avec Windows Live Messenger? !? T?l?chargez-le maintenant !? http://www.windowslive.fr/messenger/1.asp
did you move the .tdb files from the old server to the new one?
Thanks for help, yes i moved them too. In fact i moved all /etc/samba/* Regards,> Date: Tue, 12 May 2009 14:50:36 -0500 > From: awilliam@mdah.state.ms.us > To: mv239@hotmail.com > CC: samba@lists.samba.org > Subject: Re: [Samba] Move PDC to another server > > did you move the .tdb files from the old server to the new one? >_________________________________________________________________ D?couvrez toutes les possibilit?s de communication avec vos proches http://www.microsoft.com/windows/windowslive/default.aspx
On Wed, May 13, 2009 at 1:36 AM, Maxime V <mv239@hotmail.com> wrote:> > 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? John
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 Viele Gruesse! Helmut
On Wed, May 13, 2009 at 8:44 AM, Helmut Hullen <Hullen@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