[Samba] migrating accounts and passwords

Rowland Penny rowlandpenny at googlemail.com
Mon Jan 19 12:13:55 MST 2015

On 19/01/15 17:31, Andrew Mark wrote:
> Hi all,
> I'm trying to migrate my users to new hardware.
> They're currently using Samba version 3.4.7-0.50 on Fedora 11
> I have a new F20 server set up with Samba version 4.1.14
> As you know, F11 had user accounts starting at uid 500 whereas F20 has 
> accounts starting at uid 1000
> I've already done usermod -u <NewUID> and groupmod -g <newGID> for the 
> Linux accounts to bump them up.
> How do I migrate Samba accounts and preserve UID/GID and passwords?
> When I look inside the file created by: pdbedit -e 
> smbpasswd:/root/migrate/smbpasswd.old, I see the old UIDs ?!
> How do I migrate Samba accounts while making the jump seamless for my 
> users?
> i.e. preserve UID/GID and most importantly, passwords.

Hi, can you post your smb.conf


More information about the samba mailing list