[Samba] Moving a PDC

Dominik Rau dominik_rau at gmx.de
Thu Nov 26 06:07:12 MST 2009


Charles Marcus schrieb:
>> We're running a Debian Etch Server with Samba 3.0.24 as primary domain
>> controller for a XP dominated network. For various reasons, we're
>> migrating our server to a new machine running on Centos 5.4 (and Samba
>> 3.0.33). Additionally, I decided to get rid of our messy LDAP setup,
>> as it is quite a pain to use and IMHO overkill for our small software
>> shop (~15 machines / users), so I've set up the new system to work
>> with tdbsam instead.
>>     
>
> Wouldn't it be easier to simply convert your existing server from ldap
> to tdbsam, then you can just set up the new server with the SAME domain
> name, copy everything over to the new server, and flip a switch over the
> weekend and noone would no the difference?
>
> I wouldn't be able to tell you how to do the above, but if memory
> serves, I've seen mention of it and I don't think its difficult to do..

Hi Charles.

I'd love to do that, but I'm really lost - could you (or others) could 
give me some hints on how to achieve that? Especially _what_ to copy 
exactely? I guess I have to use pdbedit export from ldapsam to tdbsam 
and switch my Samba Server (on the old machine) to tdbsam. But after 
that? How do I have to move on? Do my uid/gid/ etc. have to match on 
both machines? Which files do I have to copy?

Thanks,
Dominik



More information about the samba mailing list