[Samba] How to bulk add machine accounts during PDC hardware refresh?

John Drescher drescherjm at gmail.com
Mon Oct 5 10:38:44 MDT 2009


On Mon, Oct 5, 2009 at 12:32 PM, Michael Lueck
<mlueck at lueckdatasystems.com> wrote:
> Greetings-
>
> I have not found discussed / documented what to do with machine accounts
> when moving a Samba PDC to new hardware.
>
> I have seen that uid/gid numbers must match between the old/new system. I am
> thinking to use adduser to accomplish that, then make the numbers on the new
> server match, using a text editor.
>
> After that, can I simply enter the machine account entries by hand with a
> text editor?
>

I would not remove the old entries. If you are using ldap replicate
the openldap first. If you are using tdbsam copy the /var/lib/samba
folder.

-- 
John M. Drescher


More information about the samba mailing list