Steve Langasek wrote:
So basically, this is a duplicate of bug #307702.
Yes. I've no idea why I didn't notice that one. It even has the exact
same title.
Yes, they must come from the part of the postinst that's generating the
passdb.tdb file; nevertheless, I've been unable to reproduce the problem
here on a fresh install, even when looking specifically at the debconf
information included in the bug report.
On Tue, Feb 21, 2006 at 08:30:10AM +0100, Olaf van der Spek wrote:
Could you try to run manually, after the install:
getent passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd
pdbedit -i smbpasswd -e tdbsam
Then send here the content of /etc/samba/smbpasswd if these commands
output what you reported?
debian:/etc/samba# getent passwd | /usr/sbin/mksmbpasswd >
/etc/samba/smbpasswd
debian:/etc/samba# pdbedit -i smbpasswd -e tdbsam
Unable to modify passwd TDB! Error: Record exists occured while storing
the main record (USER_root)
Please remove the previously-generated /var/lib/samba/passdb.tdb before
running these commands. This is not the same warning reported before.
debian:/var/lib/samba# rm passdb.tdb
debian:/var/lib/samba# cd /etc/samba/
debian:/etc/samba# getent passwd | /usr/sbin/mksmbpasswd >
/etc/samba/smbpasswd
debian:/etc/samba# pdbedit -i smbpasswd -e tdbsam
TDBSAM version too old (0), trying to convert it.
TDBSAM converted successfully.
debian:/etc/samba#
A remove/purge/install doesn't reproduce the problem for me either.
--
Olaf van der Spek
http://xwis.net/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]