[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to migrate smb accounts to new lenny system?



<rpjday@crashcourse.ca> wrote:
>
>  having finally made the switch from an old server running lenny to a
> new one (running at the same IP address), most functions seem to be
> working, but samba shares are failing -- people who used to be able to
> access shares from their windows systems now can't, and the log file
> reports that:
>
>  check_ntlm_password:  Authentication for user [fred] -> [fred]
> FAILED with error NT_STATUS_NO_SUCH_USER
>
>  i've reproduced all of the standard user/group files so normal
> logins work just fine.  i've also copied all of the samba config files
> that seemed relevant.  can someone give me a hint as to the file(s) i
> should have reproduced from the old system on the new one?  or must i
> run "smbpasswd" for each account on the new system, or something like
> that?  naturally, i'd like the users to not have to reconfigure
> anything on their ends.

If you have
passdb backend = tdbsam
in smb.conf, you will need to copy over
/var/lib/samba/passdb.tdb
in order to transfer the smbpasswd database.
(If you have machine accounts, you will also need secrets.tdb)


Reply to: