parent
cdb3b7b46b
commit
7d73bcb03c
23
ldap.init
23
ldap.init
@ -156,9 +156,6 @@ function start() {
|
||||
if test x$SLAPD_LDAPI = xyes ; then
|
||||
harg="$harg ldapi:///"
|
||||
fi
|
||||
if test -z "$wrapper" ; then
|
||||
return 1
|
||||
fi
|
||||
# Start daemons.
|
||||
echo -n $"Starting $prog: "
|
||||
daemon --check=$prog ${slapd} -h "\"$harg\"" -u ${user} $OPTIONS $SLAPD_OPTIONS
|
||||
@ -167,10 +164,22 @@ function start() {
|
||||
if [ $RETVAL -eq 0 ]; then
|
||||
if grep -q "^replogfile" /etc/openldap/slapd.conf; then
|
||||
prog=`basename ${slurpd}`
|
||||
echo -n $"Starting $prog: "
|
||||
daemon ${slurpd} $OPTIONS $SLURPD_OPTIONS
|
||||
RETVAL=$?
|
||||
echo
|
||||
i=1;
|
||||
for replogfile in `grep "^replogfile" /etc/openldap/slapd.conf`
|
||||
do
|
||||
if [ "$replogfile" != "replogfile" ]
|
||||
then
|
||||
echo -n $"Starting $prog: "
|
||||
daemon ${slurpd} -r $replogfile -n $i
|
||||
# make the return value nozero if any of the slurpd failed
|
||||
RET=$?
|
||||
if [ $RET -ne 0 ] ; then
|
||||
RETVAL=$RET
|
||||
fi
|
||||
i=$[i+1]
|
||||
echo
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/ldap
|
||||
|
@ -736,6 +736,8 @@ fi
|
||||
(bz#201183)
|
||||
- sort the hosts by adders, preventing duplicities
|
||||
in migrate*nis*.pl (bz#201540)
|
||||
- start slupd for each replicated database (bz#210155)
|
||||
|
||||
|
||||
* Mon Apr 23 2007 Jan Safranek <jsafranek@redhat.com> 2.3.34-2%{?dist}
|
||||
- slapadd during package update is now quiet (bz#224581)
|
||||
|
Loading…
Reference in New Issue
Block a user