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

John Drescher drescherjm at gmail.com
Tue Oct 6 16:56:32 MDT 2009


On Tue, Oct 6, 2009 at 6:49 PM, Michael Lueck
<mlueck at lueckdatasystems.com> wrote:
> John Drescher wrote:
>>
>> I know. Just copy the files
>>
>> /etc/passwd /etc/group
>>
>> and  the folders
>>
>> /etc/samba
>> /var/lib/samba
>> /var/spool/samba
>> /var/cache/samba
>
> So do not mess with the password hashes for machine accounts in /etc/passwd
> since that hashed password has to match the password in smbpasswd?
>

I would not mess with this.

> If so, fffeeewww, now the task sounds doable! ;-)
>

I am saying it's much easier to copy the working server configuration
to a new server than try to recreate the setup. Unless you really want
to change the uids and gids.

John


More information about the samba mailing list