summaryrefslogtreecommitdiff
path: root/net/samba/INSTALL
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2002-02-05 00:36:25 +0000
committertaca <taca@pkgsrc.org>2002-02-05 00:36:25 +0000
commit64194abfc36061ca08a06a2a75accfbbb513ef01 (patch)
tree4f6128b286293d46ce2c075b08e2bcf59f1d23ec /net/samba/INSTALL
parentbf2e995df22cb952e8b29c434655692f76090d71 (diff)
downloadpkgsrc-64194abfc36061ca08a06a2a75accfbbb513ef01.tar.gz
(1) Change Samba's "lockdir" from /var/run/samba to /var/db/samba.
(2) Add "piddir" as /var/run and "pidfile dir" and "pidfile directory" statement for smb.conf. (3) Some fix for password synchronization but it isn't tested much and it is almost useless under "encrypt passwords = yes" environment. Changes for INSTALL and part of Makefile are provided by "Johnny C. Lam" <jlam@netbsd.org> and (2) and (3) are got from FreeBSD ports. Bump revision to 1; samba-2.2.3nb1 now.
Diffstat (limited to 'net/samba/INSTALL')
-rw-r--r--net/samba/INSTALL17
1 files changed, 16 insertions, 1 deletions
diff --git a/net/samba/INSTALL b/net/samba/INSTALL
index cfcf2709cbf..d7fc2cf143c 100644
--- a/net/samba/INSTALL
+++ b/net/samba/INSTALL
@@ -1,7 +1,8 @@
#!/bin/sh
#
-# $NetBSD: INSTALL,v 1.2 2001/11/21 16:44:17 jlam Exp $
+# $NetBSD: INSTALL,v 1.3 2002/02/05 00:36:25 taca Exp $
+SAMBA_LOCKDIR="@SAMBA_LOCKDIR@"
SAMBA_PRIVATE="@SAMBA_PRIVATE@"
case ${STAGE} in
@@ -17,5 +18,19 @@ POST-INSTALL)
${CHMOD} 500 ${SAMBA_PRIVATE}
echo "done."
fi
+
+ # 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