Kevin Kallsen
2006-Jul-17 20:48 UTC
[Samba] New Server: need to transfer PDC to new server
I have Samba 3.0.22 running as a PDC on a server. We recently bought a new server and I want to transfers the PDC settings to the new server and turn off the old server. What do I need to do? Thanks Kevin Kallsen
Adam Williams
2006-Jul-18 02:02 UTC
[Samba] New Server: need to transfer PDC to new server
move /etc/samba/* and all the .tdb files in /var/lib/samba and/or /var/cache/samba Kevin Kallsen wrote:> I have Samba 3.0.22 running as a PDC on a server. We recently bought a new > server and I want to transfers the PDC settings to the new server and turn > off the old server. What do I need to do? > > > > Thanks > > > > Kevin Kallsen > > > >
adrian sender
2006-Jul-18 23:38 UTC
[Samba] New Server: need to transfer PDC to new server
Kevin, You need to provide the list with more information, what backend database are you using - have you read the documentation available on the samba site? In any case you need to set the sid to be the same on the bdc as the pdc; net getlocalsid, then net setlocalsid sidnumberhere. If you are using ldap database, slapcat -v -l database.txt, go to your new server and add the database.txt with slapadd -v -l database.txt. Adrian Sender. From: Kevin Kallsen <kallsen@e101.com> To: <samba@lists.samba.org> Subject: [Samba] New Server: need to transfer PDC to new server Sent: Tuesday, 18 July 2006 6:17:12 AM I have Samba 3.0.22 running as a PDC on a server. We recently bought a new server and I want to transfers the PDC settings to the new server and turn off the old server. What do I need to do? Thanks Kevin Kallsen