[Samba] [URGENT! PLZ HELP!] Problems when moving a Samba
installation from one Linux box to another
nerijus at users.sourceforge.net
Tue Oct 7 20:47:11 GMT 2003
On Tue, 07 Oct 2003 16:59:29 -0300 "Paulo Bernardo Lindoso (Yahoo)" <lindoso_paulo at yahoo.com.br> wrote:
> Running through all files, I realised that I recreated all user and
> computer accounts in /etc/passwd but the UserIDs obviously won't match
> the migrated "smbpasswd": for instance, user "haydee" has userid 514 in
> /etc/passwd and userid 1007 in /etc/samba/smbpasswd....
You should have copied users and groups from old server's passwd,
group, gshadow and shadow files to new (just copy whole lines).
So please delete all your recreated users and do this.
P.S. Please do not use URGENT, it usually has opposite effect.
More information about the samba