summaryrefslogtreecommitdiff
path: root/net/openldap21/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/openldap21/files')
-rw-r--r--net/openldap21/files/slapd.sh11
-rw-r--r--net/openldap21/files/slurpd.sh4
2 files changed, 7 insertions, 8 deletions
diff --git a/net/openldap21/files/slapd.sh b/net/openldap21/files/slapd.sh
index 0e3601b07e5c..e8f6ed6b018d 100644
--- a/net/openldap21/files/slapd.sh
+++ b/net/openldap21/files/slapd.sh
@@ -7,18 +7,18 @@ slapd_program=@@PREFIX@@/libexec/slapd
# Uncomment one of the following:
#
# IPv4 Only
-#slapd_args='-h ldap://0.0.0.0'
+#slapd_args='-u ldap -g ldap -h ldap://0.0.0.0'
#
# IPv6 and IPv4
-#slapd_ags='-h "ldap://[::] ldap://0.0.0.0"'
+#slapd_ags='-u ldap -g ldap -h "ldap://[::] ldap://0.0.0.0"'
#
# IPv6 Only
-#slapd_args='-h ldap://[::]'
+#slapd_args='-u ldap -g ldap -h ldap://[::]'
#
#
-slapd_args=
+slapd_args="-u ldap -g ldap"
-pidfile=/var/run/slapd.pid
+pidfile=/var/run/ldap/slapd.pid
case "$1" in
start)
@@ -31,7 +31,6 @@ start)
stop)
if [ -f $pidfile ]; then
kill `cat $pidfile`
- telnet localhost ldap </dev/null >/dev/null 2>&1
echo -n ' slapd'
rm $pidfile
else
diff --git a/net/openldap21/files/slurpd.sh b/net/openldap21/files/slurpd.sh
index 8c0685db2812..2d2e823d18cb 100644
--- a/net/openldap21/files/slurpd.sh
+++ b/net/openldap21/files/slurpd.sh
@@ -1,10 +1,10 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/net/openldap21/files/Attic/slurpd.sh,v 1.1 2003-02-24 04:27:22 edwin Exp $
+# $FreeBSD: /tmp/pcvs/ports/net/openldap21/files/Attic/slurpd.sh,v 1.2 2003-05-23 00:21:04 edwin Exp $
#
slurpd=@@PREFIX@@/libexec/slurpd
-pidfile=/var/run/slurpd.pid
+pidfile=/var/run/ldap/slurpd.pid
case "$1" in
start)