pkgsrc/net/samba/INSTALL
jlam 5a0ca2bacc Modify the package so that the message is only displayed if SAMBA_USE_LDAP
is not defined, as that is the only time when the smbpasswd file is
consulted.  Also don't create a the smbpasswd file from /etc/passwd, as
that generates a lot of bad users, e.g. root, daemon, operator, etc.
Instead, just create an empty smbpasswd file and rely on the admin to add
approved users to the smbpasswd file using "smbpasswd -a".
2002-02-05 05:14:46 +00:00

24 lines
621 B
Text

#!/bin/sh
#
# $NetBSD: INSTALL,v 1.4 2002/02/05 05:14:46 jlam Exp $
SAMBA_LOCKDIR="@SAMBA_LOCKDIR@"
SAMBA_PRIVATE="@SAMBA_PRIVATE@"
case ${STAGE} in
POST-INSTALL)
# Check for files in old "lock" directory.
if [ -e /var/run/samba ]
then
${CAT} << EOF
===========================================================================
The location of the Samba cache directory has moved to ${SAMBA_LOCKDIR}.
If you have any files under /var/run/samba, please move them into
${SAMBA_LOCKDIR} and restart the SMB and NMB servers.
===========================================================================
EOF
fi
;;
esac