[Pkg-samba-maint] Bug#506292: samba: segfault to add user with smbpasswd

Steve Langasek vorlon at debian.org
Fri Nov 21 13:02:51 UTC 2008


On Fri, Nov 21, 2008 at 12:44:32AM -0200, Flamarion Jorge wrote:
> Steve Langasek escreveu:
> > On Thu, Nov 20, 2008 at 08:09:42AM -0200, Flamarion Jorge wrote:

> >> After the last upgrade in many packages, samba does not work correctly.
> >> When i try add a user into samba with command smbpasswd i receive this
> >> message:

> >> root at arvore:/etc/samba# smbpasswd -a flamarion
> >> Failed to open /etc/samba//private/secrets.tdb
> >> Failed to open /etc/samba//private/secrets.tdb

> > This is not where secrets.tdb is supposed to be located on Debian.  Either
> > we have a misapplied patch in 3.2.4, or this is not the Debian version of
> > smbpasswd.

> It's Debian version friend.

I've reviewed the state of the source in 3.2.4-1, and don't see any evidence
that the patch has been misapplied; nor do I see any references to
/etc/samba/private in an inspection of the binary; nor can I reproduce this
failure.

Please provide the output of these two commands, so we can confirm that the
smbpasswd binary you're using is really the one provided by the package.

# which smbpasswd
# debsums -s samba-common

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-samba-maint mailing list