[Samba] transfer users after samba upgrade to new server
bszk at uoguelph.ca
Thu May 10 09:55:31 MDT 2012
Thank you Dale.
Actually I did this by importing smbpasswd with
pdbedit -i smbpasswd:smbpasswd
And it works in the sense that my users can map a drive with their same
But I have something else to consider.
The old server was a domain master and so I have some win XP machines
that login to it and there is a netlogin.bat etc.
Given that all of the user password and machine passwords are now
imported I wonder if that will continue to work when I switch over.
If anyone has any insight on this I would appreciate it.
I will be performing a test switch over on Monday at noon
On 05/07/2012 02:35 PM, Dale Schroeder wrote:
> On 05/06/2012 10:14 AM, Bill Szkotnicki wrote:
>> I want to transfer all of my users from an older version of samba to
>> a new one here.
>> The old version is 3.0.28 and the file with user passwords
>> is /etc/samba/smbpasswd
>> and the new version is 3.6.5 and there does not seem to be that file
>> I think the user info is now in
>> My question is how to transport my users to my new system?
>> i.e. How to convert
>> /etc/samba/smbpasswd ------> /var/lib/samba/private/passdb.tdb
>> Any suggestions would be greatly appreciated.
> The smbpasswd backend is still available; it's just no longer the
> default. You must explicitly state "passdb backend = smbpasswd" in
> To convert, copy the smbpasswd file from the old machine to the new
> one, then follow the example in the Samba HowTo under "Account
> Import/Export" found at
> Good luck.
More information about the samba