summaryrefslogtreecommitdiff
path: root/net/openldap21/files
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-05-23 00:21:04 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-05-23 00:21:04 +0000
commit1f4703f53f61f542c1e3099c73f3bb9a29e39027 (patch)
tree6dfc45bad23f3da85d7349bc7ed3c0e6a06ff69f /net/openldap21/files
parentMake buildable on -current and unmark BROKEN. (diff)
[PATCH] update of port net/openldap21 to 2.1.20
OpenLDAP 2.1.20 is available. PR: ports/52568 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Notes
Notes: svn path=/head/; revision=81758
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)