creating samba password file...
Sorry for creating a new thread, i had allready deleted the original
mail.
>From the /var/lib/dpkg/info/samba.postinst file:
------------------
# Generate a smbpasswd file?
db_get samba/generate_smbpasswd || true
GENERATE_SMBPASSWD="${RET}"
# Done with debconf now.
db_stop
if [ "${GENERATE_SMBPASSWD}" = "true" -a ! -e /etc/samba/smbpasswd ];
then
getent passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd
chmod 600 /etc/samba/smbpasswd
fi
-------------------------------
So it should be something like:
getent passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd
chmod 600 /etc/samba/smbpasswd
--
Mark Janssen -- maniac(at)maniac.nl -- GnuPG Key Id: 357D2178
Unix / Linux, Open-Source and Internet Consultant @ SyConOS IT
Maniac.nl Unix-God.Net|Org MarkJanssen.org|nl SyConOS.com|nl
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: