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

John Drescher drescherjm at gmail.com
Tue Oct 6 16:35:27 MDT 2009

> So what is the proper way to create the "machine accounts" for the Windows
> boxes?
> Shall I simply copy/paste the existing entries in passwd/shaow and smbpasswd
> and do not concern myself copying the password hash from non-login ID's on
> the new server (shadow file)?

I think the biggest question is do you really want to create a new
uid/gid for everything instead of just using the information from the
old server?

Every time I have created a new PDC (in the last decade) I have just
mirrored the LDAP and did not mess with new incompatible uids/gids


More information about the samba mailing list