On Tue, Oct 15, 2013 at 11:44:47PM -0700, Steve Langasek wrote:
> Control: tags -1 moreinfo
> 
> Hi Steve,
> 
> > For the benefit of anyone else who got stuck: I ran "smbpasswd -a" to 
> > create 
> > each user/passwd in the new password database.
> 
> What do you mean by "new password database"?  The tdbsam backend has been
> the default backend for years, and this hasn't changed in 4.0.  The file has
> moved location on the filesystem, but the maintainer scripts take care of
> moving the file on upgrade.  Were you using a non-default configuration for
> your samba password handling previously?

Good question.  Perhaps I was.  I set it up so long ago, I can't
remember what I did but I do know that it has generally worked across
upgrades over the years.  But not this one.

The old password file was /etc/samba/smbpasswd which seems to be ASCII while
the new one is in /var/lib:

steve@riemann{~}sudo file /etc/samba/smbpasswd /var/lib/samba/passdb.tdb
/etc/samba/smbpasswd:      ASCII text
/var/lib/samba/passdb.tdb: TDB database version 6, little-endian hash size 131 
bytes


If it helps: I had been using SWAT to configure samba.

Regards,
-Steve

P.S.  I was a little confused when swat disappeared on upgrade and had to 
resort to google.
A note in NEWS.Debian would have been appreciated.  Is there a replacement for 
it?

Attachment: signature.asc
Description: Digital signature

Reply via email to