> On another system (unstable this time):
>
> # cd /var/lib/s
> -su: cd: /var/lib/s: No such file or directory
> # cd /var/lib/samba
> -su: cd: /var/lib/samba: No such file or directory
For the sake of it, can you check whether there is a
/etc/samba/smbpasswd file.
> (Reading database ... 34359 files and directories currently installed.)
> Unpacking samba (from .../samba_3.0.21b-1_i386.deb) ...
> Setting up samba (3.0.21b-1) ...
> Generating /etc/default/samba...
> TDBSAM version too old (0), trying to convert it.
> TDBSAM converted successfully.
These messages probably come from this piece of code in the postinst:
db_get samba/tdbsam || true
PDB_MIGRATE="${RET}"
# Done with debconf now.
db_stop
umask 066
# FIXME: disable if ldapsam support is enabled?
# FIXME: we don't want to pass these through the smbpasswd backend,
# some of the faking can cause us problems!
if [ "${GENERATE_SMBPASSWD}" = "true" -a ! -e /var/lib/samba/passdb.tdb -a ! -e
/etc/samba/smbpasswd ]; then
getent passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd
pdbedit -i smbpasswd -e tdbsam
rm /etc/samba/smbpasswd
fi
In your case, you probably answered "Yes" to the question about:
Template: samba/generate_smbpasswd
Type: boolean
Default: false
_Description: Create samba password database, /var/lib/samba/passdb.tdb?
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?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]