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

2009-10-06 Thread Michael Lueck

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?

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

Thanks,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2009-10-06 Thread John Drescher
On Tue, Oct 6, 2009 at 6:49 PM, Michael Lueck
mlu...@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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba