openldap/ldap.init

120 lines
2.6 KiB
Plaintext
Raw Normal View History

auto-import changelog data from openldap-2.0.7-14.src.rpm * Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment * Thu Feb 08 2001 Nalin Dahyabhai <nalin@redhat.com> - back out pidfile patches, which interact weirdly with Linux threads - mark non-standard schema as such by moving them to a different directory * Mon Feb 05 2001 Nalin Dahyabhai <nalin@redhat.com> - update to MigrationTools 36, adds netgroup support * Mon Jan 29 2001 Nalin Dahyabhai <nalin@redhat.com> - fix thinko in that last patch * Thu Jan 25 2001 Nalin Dahyabhai <nalin@redhat.com> - try to work around some buffering problems * Tue Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize the init script * Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize the init script * Fri Jan 12 2001 Nalin Dahyabhai <nalin@redhat.com> - move the RFCs to the base package (#21701) - update to MigrationTools 34 * Wed Jan 10 2001 Nalin Dahyabhai <nalin@redhat.com> - add support for additional OPTIONS, SLAPD_OPTIONS, and SLURPD_OPTIONS in a /etc/sysconfig/ldap file (#23549) * Fri Dec 29 2000 Nalin Dahyabhai <nalin@redhat.com> - change automount object OID from 1.3.6.1.1.1.2.9 to 1.3.6.1.1.1.2.13, per mail from the ldap-nis mailing list * Tue Dec 05 2000 Nalin Dahyabhai <nalin@redhat.com> - force -fPIC so that shared libraries don't fall over * Mon Dec 04 2000 Nalin Dahyabhai <nalin@redhat.com> - add Norbert Klasen's patch (via Del) to fix searches using ldaps URLs (OpenLDAP ITS #889) - add "-h ldaps:///" to server init when TLS is enabled, in order to support ldaps in addition to the regular STARTTLS (suggested by Del) * Mon Nov 27 2000 Nalin Dahyabhai <nalin@redhat.com> - correct mismatched-dn-cn bug in migrate_automount.pl * Mon Nov 20 2000 Nalin Dahyabhai <nalin@redhat.com> - update to the correct OIDs for automount and automountInformation - add notes on upgrading * Tue Nov 07 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 2.0.7 - drop chdir patch (went mainstream) * Thu Nov 02 2000 Nalin Dahyabhai <nalin@redhat.com> - change automount object classes from auxiliary to structural * Tue Oct 31 2000 Nalin Dahyabhai <nalin@redhat.com> - update to Migration Tools 27 - change the sense of the last simple patch * Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com> - reorganize the patch list to separate MigrationTools and OpenLDAP patches - switch to Luke Howard's rfc822MailMember schema instead of the aliases.schema - configure slapd to run as the non-root user "ldap" (#19370) - chdir() before chroot() (we don't use chroot, though) (#19369) - disable saving of the pid file because the parent thread which saves it and the child thread which listens have different pids
2004-09-09 09:28:35 +00:00
#!/bin/bash
auto-import changelog data from openldap-1.2.11-15.src.rpm * Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com> - remove that pesky default password - change "Copyright:" to "License:" * Sun Aug 13 2000 Nalin Dahyabhai <nalin@redhat.com> - adjust permissions in files lists - move libexecdir from /usr/sbin to /usr/sbin * Fri Aug 11 2000 Nalin Dahyabhai <nalin@redhat.com> - add migrate_automount.pl to the migration scripts set * Tue Aug 08 2000 Nalin Dahyabhai <nalin@redhat.com> - build a semistatic slurpd with threads, everything else without - disable reverse lookups, per email on OpenLDAP mailing lists - make sure the execute bits are set on the shared libraries * Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com> - change logging facility used from local4 to daemon (#11047) * Thu Jul 27 2000 Nalin Dahyabhai <nalin@redhat.com> - split off clients and servers to shrink down the package and remove the base package's dependency on Perl - make certain that the binaries have sane permissions * Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com> - move the init script back * Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak the init script to only source /etc/sysconfig/network if it's found * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild * Mon Jul 10 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to gdbm; I'm getting off the db merry-go-round - tweak the init script some more - add instdir to @INC in migration scripts * Thu Jul 06 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak init script to return error codes properly - change initscripts dependency to one on /etc/init.d * Tue Jul 04 2000 Nalin Dahyabhai <nalin@redhat.com> - prereq initscripts - make migration scripts use mktemp * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com> - do condrestart in post and stop in preun - move init script to /etc/init.d * Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.11 - add condrestart logic to init script - munge migration scripts so that you don't have to be /usr/share/openldap/migration to run them - add code to create pid files in /var/run * Mon Jun 05 2000 Nalin Dahyabhai <nalin@redhat.com> - FHS tweaks - fix for compiling with libdb2 * Thu May 04 2000 Bill Nottingham <notting@redhat.com> - minor tweak so it builds on ia64 * Wed May 03 2000 Nalin Dahyabhai <nalin@redhat.com> - more minimalistic fix for bug #11111 after consultation with OpenLDAP team - backport replacement for the ldapuser patch * Tue May 02 2000 Nalin Dahyabhai <nalin@redhat.com> - fix segfaults from queries with commas in them in in.xfingerd (bug #11111) * Tue Apr 25 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.10 - add revamped version of patch from kos@bastard.net to allow execution as any non-root user - remove test suite from %build because of weirdness in the build system * Wed Apr 12 2000 Nalin Dahyabhai <nalin@redhat.com> - move the defaults for databases and whatnot to /var/lib/ldap (bug #10714) - fix some possible string-handling problems * Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - start earlier, stop later. * Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com> - auto rebuild in new environment (release 4) * Tue Feb 01 2000 Nalin Dahyabhai <nalin@redhat.com> - add -D_REENTRANT to make threaded stuff more stable, even though it looks like the sources define it, too - mark *.ph files in migration tools as config files * Fri Jan 21 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.9 * Mon Sep 13 1999 Bill Nottingham <notting@redhat.com> - strip files * Sat Sep 11 1999 Bill Nottingham <notting@redhat.com> - update to 1.2.7 - fix some bugs from bugzilla (#4885, #4887, #4888, #4967) - take include files out of base package * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com> - missing ;; in init script reload) (#4734). * Tue Aug 24 1999 Cristian Gafton <gafton@redhat.com> - move stuff from /usr/libexec to /usr/sbin - relocate config dirs to /etc/openldap * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging * Wed Aug 11 1999 Cristian Gafton <gafton@redhat.com> - add the migration tools to the package * Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com> - upgrade to 1.2.6 - add rc.d script - split -devel package * Sun Feb 07 1999 Preston Brown <pbrown@redhat.com> - upgrade to latest stable (1.1.4), it now uses configure macro. * Fri Jan 15 1999 Bill Nottingham <notting@redhat.com> - build on arm, glibc2.1 * Wed Oct 28 1998 Preston Brown <pbrown@redhat.com> - initial cut. - patches for signal handling on the alpha
2004-09-09 09:28:22 +00:00
#
# ldap This shell script takes care of starting and stopping
# ldap servers (slapd and slurpd).
#
# chkconfig: - 39 61
# description: LDAP stands for Lightweight Directory Access Protocol, used \
# for implementing the industry standard directory services.
# processname: slapd
# config: /etc/openldap/slapd.conf
# pidfile: /var/run/slapd.pid
# Source function library.
. /etc/init.d/functions
# Source networking configuration and check that networking is up.
if [ -r /etc/sysconfig/network ] ; then
. /etc/sysconfig/network
[ ${NETWORKING} = "no" ] && exit 0
fi
auto-import changelog data from openldap-2.0.7-14.src.rpm * Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment * Thu Feb 08 2001 Nalin Dahyabhai <nalin@redhat.com> - back out pidfile patches, which interact weirdly with Linux threads - mark non-standard schema as such by moving them to a different directory * Mon Feb 05 2001 Nalin Dahyabhai <nalin@redhat.com> - update to MigrationTools 36, adds netgroup support * Mon Jan 29 2001 Nalin Dahyabhai <nalin@redhat.com> - fix thinko in that last patch * Thu Jan 25 2001 Nalin Dahyabhai <nalin@redhat.com> - try to work around some buffering problems * Tue Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize the init script * Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize the init script * Fri Jan 12 2001 Nalin Dahyabhai <nalin@redhat.com> - move the RFCs to the base package (#21701) - update to MigrationTools 34 * Wed Jan 10 2001 Nalin Dahyabhai <nalin@redhat.com> - add support for additional OPTIONS, SLAPD_OPTIONS, and SLURPD_OPTIONS in a /etc/sysconfig/ldap file (#23549) * Fri Dec 29 2000 Nalin Dahyabhai <nalin@redhat.com> - change automount object OID from 1.3.6.1.1.1.2.9 to 1.3.6.1.1.1.2.13, per mail from the ldap-nis mailing list * Tue Dec 05 2000 Nalin Dahyabhai <nalin@redhat.com> - force -fPIC so that shared libraries don't fall over * Mon Dec 04 2000 Nalin Dahyabhai <nalin@redhat.com> - add Norbert Klasen's patch (via Del) to fix searches using ldaps URLs (OpenLDAP ITS #889) - add "-h ldaps:///" to server init when TLS is enabled, in order to support ldaps in addition to the regular STARTTLS (suggested by Del) * Mon Nov 27 2000 Nalin Dahyabhai <nalin@redhat.com> - correct mismatched-dn-cn bug in migrate_automount.pl * Mon Nov 20 2000 Nalin Dahyabhai <nalin@redhat.com> - update to the correct OIDs for automount and automountInformation - add notes on upgrading * Tue Nov 07 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 2.0.7 - drop chdir patch (went mainstream) * Thu Nov 02 2000 Nalin Dahyabhai <nalin@redhat.com> - change automount object classes from auxiliary to structural * Tue Oct 31 2000 Nalin Dahyabhai <nalin@redhat.com> - update to Migration Tools 27 - change the sense of the last simple patch * Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com> - reorganize the patch list to separate MigrationTools and OpenLDAP patches - switch to Luke Howard's rfc822MailMember schema instead of the aliases.schema - configure slapd to run as the non-root user "ldap" (#19370) - chdir() before chroot() (we don't use chroot, though) (#19369) - disable saving of the pid file because the parent thread which saves it and the child thread which listens have different pids
2004-09-09 09:28:35 +00:00
# Source an auxiliary options file if we have one, and pick up OPTIONS,
# SLAPD_OPTIONS, and SLURPD_OPTIONS.
if [ -r /etc/sysconfig/ldap ] ; then
. /etc/sysconfig/ldap
fi
auto-import changelog data from openldap-1.2.11-15.src.rpm * Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com> - remove that pesky default password - change "Copyright:" to "License:" * Sun Aug 13 2000 Nalin Dahyabhai <nalin@redhat.com> - adjust permissions in files lists - move libexecdir from /usr/sbin to /usr/sbin * Fri Aug 11 2000 Nalin Dahyabhai <nalin@redhat.com> - add migrate_automount.pl to the migration scripts set * Tue Aug 08 2000 Nalin Dahyabhai <nalin@redhat.com> - build a semistatic slurpd with threads, everything else without - disable reverse lookups, per email on OpenLDAP mailing lists - make sure the execute bits are set on the shared libraries * Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com> - change logging facility used from local4 to daemon (#11047) * Thu Jul 27 2000 Nalin Dahyabhai <nalin@redhat.com> - split off clients and servers to shrink down the package and remove the base package's dependency on Perl - make certain that the binaries have sane permissions * Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com> - move the init script back * Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak the init script to only source /etc/sysconfig/network if it's found * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild * Mon Jul 10 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to gdbm; I'm getting off the db merry-go-round - tweak the init script some more - add instdir to @INC in migration scripts * Thu Jul 06 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak init script to return error codes properly - change initscripts dependency to one on /etc/init.d * Tue Jul 04 2000 Nalin Dahyabhai <nalin@redhat.com> - prereq initscripts - make migration scripts use mktemp * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com> - do condrestart in post and stop in preun - move init script to /etc/init.d * Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.11 - add condrestart logic to init script - munge migration scripts so that you don't have to be /usr/share/openldap/migration to run them - add code to create pid files in /var/run * Mon Jun 05 2000 Nalin Dahyabhai <nalin@redhat.com> - FHS tweaks - fix for compiling with libdb2 * Thu May 04 2000 Bill Nottingham <notting@redhat.com> - minor tweak so it builds on ia64 * Wed May 03 2000 Nalin Dahyabhai <nalin@redhat.com> - more minimalistic fix for bug #11111 after consultation with OpenLDAP team - backport replacement for the ldapuser patch * Tue May 02 2000 Nalin Dahyabhai <nalin@redhat.com> - fix segfaults from queries with commas in them in in.xfingerd (bug #11111) * Tue Apr 25 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.10 - add revamped version of patch from kos@bastard.net to allow execution as any non-root user - remove test suite from %build because of weirdness in the build system * Wed Apr 12 2000 Nalin Dahyabhai <nalin@redhat.com> - move the defaults for databases and whatnot to /var/lib/ldap (bug #10714) - fix some possible string-handling problems * Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - start earlier, stop later. * Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com> - auto rebuild in new environment (release 4) * Tue Feb 01 2000 Nalin Dahyabhai <nalin@redhat.com> - add -D_REENTRANT to make threaded stuff more stable, even though it looks like the sources define it, too - mark *.ph files in migration tools as config files * Fri Jan 21 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.9 * Mon Sep 13 1999 Bill Nottingham <notting@redhat.com> - strip files * Sat Sep 11 1999 Bill Nottingham <notting@redhat.com> - update to 1.2.7 - fix some bugs from bugzilla (#4885, #4887, #4888, #4967) - take include files out of base package * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com> - missing ;; in init script reload) (#4734). * Tue Aug 24 1999 Cristian Gafton <gafton@redhat.com> - move stuff from /usr/libexec to /usr/sbin - relocate config dirs to /etc/openldap * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging * Wed Aug 11 1999 Cristian Gafton <gafton@redhat.com> - add the migration tools to the package * Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com> - upgrade to 1.2.6 - add rc.d script - split -devel package * Sun Feb 07 1999 Preston Brown <pbrown@redhat.com> - upgrade to latest stable (1.1.4), it now uses configure macro. * Fri Jan 15 1999 Bill Nottingham <notting@redhat.com> - build on arm, glibc2.1 * Wed Oct 28 1998 Preston Brown <pbrown@redhat.com> - initial cut. - patches for signal handling on the alpha
2004-09-09 09:28:22 +00:00
slapd=/usr/sbin/slapd
slurpd=/usr/sbin/slurpd
[ -x ${slapd} ] || exit 0
[ -x ${slurpd} ] || exit 0
RETVAL=0
function start() {
# Start daemons.
prog=`basename ${slapd}`
echo -n $"Starting $prog: "
auto-import changelog data from openldap-2.0.7-14.src.rpm * Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment * Thu Feb 08 2001 Nalin Dahyabhai <nalin@redhat.com> - back out pidfile patches, which interact weirdly with Linux threads - mark non-standard schema as such by moving them to a different directory * Mon Feb 05 2001 Nalin Dahyabhai <nalin@redhat.com> - update to MigrationTools 36, adds netgroup support * Mon Jan 29 2001 Nalin Dahyabhai <nalin@redhat.com> - fix thinko in that last patch * Thu Jan 25 2001 Nalin Dahyabhai <nalin@redhat.com> - try to work around some buffering problems * Tue Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize the init script * Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize the init script * Fri Jan 12 2001 Nalin Dahyabhai <nalin@redhat.com> - move the RFCs to the base package (#21701) - update to MigrationTools 34 * Wed Jan 10 2001 Nalin Dahyabhai <nalin@redhat.com> - add support for additional OPTIONS, SLAPD_OPTIONS, and SLURPD_OPTIONS in a /etc/sysconfig/ldap file (#23549) * Fri Dec 29 2000 Nalin Dahyabhai <nalin@redhat.com> - change automount object OID from 1.3.6.1.1.1.2.9 to 1.3.6.1.1.1.2.13, per mail from the ldap-nis mailing list * Tue Dec 05 2000 Nalin Dahyabhai <nalin@redhat.com> - force -fPIC so that shared libraries don't fall over * Mon Dec 04 2000 Nalin Dahyabhai <nalin@redhat.com> - add Norbert Klasen's patch (via Del) to fix searches using ldaps URLs (OpenLDAP ITS #889) - add "-h ldaps:///" to server init when TLS is enabled, in order to support ldaps in addition to the regular STARTTLS (suggested by Del) * Mon Nov 27 2000 Nalin Dahyabhai <nalin@redhat.com> - correct mismatched-dn-cn bug in migrate_automount.pl * Mon Nov 20 2000 Nalin Dahyabhai <nalin@redhat.com> - update to the correct OIDs for automount and automountInformation - add notes on upgrading * Tue Nov 07 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 2.0.7 - drop chdir patch (went mainstream) * Thu Nov 02 2000 Nalin Dahyabhai <nalin@redhat.com> - change automount object classes from auxiliary to structural * Tue Oct 31 2000 Nalin Dahyabhai <nalin@redhat.com> - update to Migration Tools 27 - change the sense of the last simple patch * Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com> - reorganize the patch list to separate MigrationTools and OpenLDAP patches - switch to Luke Howard's rfc822MailMember schema instead of the aliases.schema - configure slapd to run as the non-root user "ldap" (#19370) - chdir() before chroot() (we don't use chroot, though) (#19369) - disable saving of the pid file because the parent thread which saves it and the child thread which listens have different pids
2004-09-09 09:28:35 +00:00
if grep -q ^TLS /etc/openldap/slapd.conf ; then
daemon ${slapd} -u ldap -h '"ldap:/// ldaps:///"' $OPTIONS $SLAPD_OPTIONS
RETVAL=$?
else
daemon ${slapd} -u ldap $OPTIONS $SLAPD_OPTIONS
RETVAL=$?
fi
auto-import changelog data from openldap-1.2.11-15.src.rpm * Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com> - remove that pesky default password - change "Copyright:" to "License:" * Sun Aug 13 2000 Nalin Dahyabhai <nalin@redhat.com> - adjust permissions in files lists - move libexecdir from /usr/sbin to /usr/sbin * Fri Aug 11 2000 Nalin Dahyabhai <nalin@redhat.com> - add migrate_automount.pl to the migration scripts set * Tue Aug 08 2000 Nalin Dahyabhai <nalin@redhat.com> - build a semistatic slurpd with threads, everything else without - disable reverse lookups, per email on OpenLDAP mailing lists - make sure the execute bits are set on the shared libraries * Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com> - change logging facility used from local4 to daemon (#11047) * Thu Jul 27 2000 Nalin Dahyabhai <nalin@redhat.com> - split off clients and servers to shrink down the package and remove the base package's dependency on Perl - make certain that the binaries have sane permissions * Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com> - move the init script back * Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak the init script to only source /etc/sysconfig/network if it's found * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild * Mon Jul 10 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to gdbm; I'm getting off the db merry-go-round - tweak the init script some more - add instdir to @INC in migration scripts * Thu Jul 06 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak init script to return error codes properly - change initscripts dependency to one on /etc/init.d * Tue Jul 04 2000 Nalin Dahyabhai <nalin@redhat.com> - prereq initscripts - make migration scripts use mktemp * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com> - do condrestart in post and stop in preun - move init script to /etc/init.d * Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.11 - add condrestart logic to init script - munge migration scripts so that you don't have to be /usr/share/openldap/migration to run them - add code to create pid files in /var/run * Mon Jun 05 2000 Nalin Dahyabhai <nalin@redhat.com> - FHS tweaks - fix for compiling with libdb2 * Thu May 04 2000 Bill Nottingham <notting@redhat.com> - minor tweak so it builds on ia64 * Wed May 03 2000 Nalin Dahyabhai <nalin@redhat.com> - more minimalistic fix for bug #11111 after consultation with OpenLDAP team - backport replacement for the ldapuser patch * Tue May 02 2000 Nalin Dahyabhai <nalin@redhat.com> - fix segfaults from queries with commas in them in in.xfingerd (bug #11111) * Tue Apr 25 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.10 - add revamped version of patch from kos@bastard.net to allow execution as any non-root user - remove test suite from %build because of weirdness in the build system * Wed Apr 12 2000 Nalin Dahyabhai <nalin@redhat.com> - move the defaults for databases and whatnot to /var/lib/ldap (bug #10714) - fix some possible string-handling problems * Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - start earlier, stop later. * Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com> - auto rebuild in new environment (release 4) * Tue Feb 01 2000 Nalin Dahyabhai <nalin@redhat.com> - add -D_REENTRANT to make threaded stuff more stable, even though it looks like the sources define it, too - mark *.ph files in migration tools as config files * Fri Jan 21 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.9 * Mon Sep 13 1999 Bill Nottingham <notting@redhat.com> - strip files * Sat Sep 11 1999 Bill Nottingham <notting@redhat.com> - update to 1.2.7 - fix some bugs from bugzilla (#4885, #4887, #4888, #4967) - take include files out of base package * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com> - missing ;; in init script reload) (#4734). * Tue Aug 24 1999 Cristian Gafton <gafton@redhat.com> - move stuff from /usr/libexec to /usr/sbin - relocate config dirs to /etc/openldap * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging * Wed Aug 11 1999 Cristian Gafton <gafton@redhat.com> - add the migration tools to the package * Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com> - upgrade to 1.2.6 - add rc.d script - split -devel package * Sun Feb 07 1999 Preston Brown <pbrown@redhat.com> - upgrade to latest stable (1.1.4), it now uses configure macro. * Fri Jan 15 1999 Bill Nottingham <notting@redhat.com> - build on arm, glibc2.1 * Wed Oct 28 1998 Preston Brown <pbrown@redhat.com> - initial cut. - patches for signal handling on the alpha
2004-09-09 09:28:22 +00:00
echo
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
auto-import changelog data from openldap-1.2.11-15.src.rpm * Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com> - remove that pesky default password - change "Copyright:" to "License:" * Sun Aug 13 2000 Nalin Dahyabhai <nalin@redhat.com> - adjust permissions in files lists - move libexecdir from /usr/sbin to /usr/sbin * Fri Aug 11 2000 Nalin Dahyabhai <nalin@redhat.com> - add migrate_automount.pl to the migration scripts set * Tue Aug 08 2000 Nalin Dahyabhai <nalin@redhat.com> - build a semistatic slurpd with threads, everything else without - disable reverse lookups, per email on OpenLDAP mailing lists - make sure the execute bits are set on the shared libraries * Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com> - change logging facility used from local4 to daemon (#11047) * Thu Jul 27 2000 Nalin Dahyabhai <nalin@redhat.com> - split off clients and servers to shrink down the package and remove the base package's dependency on Perl - make certain that the binaries have sane permissions * Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com> - move the init script back * Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak the init script to only source /etc/sysconfig/network if it's found * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild * Mon Jul 10 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to gdbm; I'm getting off the db merry-go-round - tweak the init script some more - add instdir to @INC in migration scripts * Thu Jul 06 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak init script to return error codes properly - change initscripts dependency to one on /etc/init.d * Tue Jul 04 2000 Nalin Dahyabhai <nalin@redhat.com> - prereq initscripts - make migration scripts use mktemp * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com> - do condrestart in post and stop in preun - move init script to /etc/init.d * Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.11 - add condrestart logic to init script - munge migration scripts so that you don't have to be /usr/share/openldap/migration to run them - add code to create pid files in /var/run * Mon Jun 05 2000 Nalin Dahyabhai <nalin@redhat.com> - FHS tweaks - fix for compiling with libdb2 * Thu May 04 2000 Bill Nottingham <notting@redhat.com> - minor tweak so it builds on ia64 * Wed May 03 2000 Nalin Dahyabhai <nalin@redhat.com> - more minimalistic fix for bug #11111 after consultation with OpenLDAP team - backport replacement for the ldapuser patch * Tue May 02 2000 Nalin Dahyabhai <nalin@redhat.com> - fix segfaults from queries with commas in them in in.xfingerd (bug #11111) * Tue Apr 25 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.10 - add revamped version of patch from kos@bastard.net to allow execution as any non-root user - remove test suite from %build because of weirdness in the build system * Wed Apr 12 2000 Nalin Dahyabhai <nalin@redhat.com> - move the defaults for databases and whatnot to /var/lib/ldap (bug #10714) - fix some possible string-handling problems * Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - start earlier, stop later. * Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com> - auto rebuild in new environment (release 4) * Tue Feb 01 2000 Nalin Dahyabhai <nalin@redhat.com> - add -D_REENTRANT to make threaded stuff more stable, even though it looks like the sources define it, too - mark *.ph files in migration tools as config files * Fri Jan 21 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.9 * Mon Sep 13 1999 Bill Nottingham <notting@redhat.com> - strip files * Sat Sep 11 1999 Bill Nottingham <notting@redhat.com> - update to 1.2.7 - fix some bugs from bugzilla (#4885, #4887, #4888, #4967) - take include files out of base package * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com> - missing ;; in init script reload) (#4734). * Tue Aug 24 1999 Cristian Gafton <gafton@redhat.com> - move stuff from /usr/libexec to /usr/sbin - relocate config dirs to /etc/openldap * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging * Wed Aug 11 1999 Cristian Gafton <gafton@redhat.com> - add the migration tools to the package * Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com> - upgrade to 1.2.6 - add rc.d script - split -devel package * Sun Feb 07 1999 Preston Brown <pbrown@redhat.com> - upgrade to latest stable (1.1.4), it now uses configure macro. * Fri Jan 15 1999 Bill Nottingham <notting@redhat.com> - build on arm, glibc2.1 * Wed Oct 28 1998 Preston Brown <pbrown@redhat.com> - initial cut. - patches for signal handling on the alpha
2004-09-09 09:28:22 +00:00
fi
fi
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/ldap
return $RETVAL
}
function stop() {
# Stop daemons.
prog=`basename ${slapd}`
echo -n $"Stopping $prog: "
auto-import changelog data from openldap-1.2.11-15.src.rpm * Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com> - remove that pesky default password - change "Copyright:" to "License:" * Sun Aug 13 2000 Nalin Dahyabhai <nalin@redhat.com> - adjust permissions in files lists - move libexecdir from /usr/sbin to /usr/sbin * Fri Aug 11 2000 Nalin Dahyabhai <nalin@redhat.com> - add migrate_automount.pl to the migration scripts set * Tue Aug 08 2000 Nalin Dahyabhai <nalin@redhat.com> - build a semistatic slurpd with threads, everything else without - disable reverse lookups, per email on OpenLDAP mailing lists - make sure the execute bits are set on the shared libraries * Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com> - change logging facility used from local4 to daemon (#11047) * Thu Jul 27 2000 Nalin Dahyabhai <nalin@redhat.com> - split off clients and servers to shrink down the package and remove the base package's dependency on Perl - make certain that the binaries have sane permissions * Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com> - move the init script back * Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak the init script to only source /etc/sysconfig/network if it's found * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild * Mon Jul 10 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to gdbm; I'm getting off the db merry-go-round - tweak the init script some more - add instdir to @INC in migration scripts * Thu Jul 06 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak init script to return error codes properly - change initscripts dependency to one on /etc/init.d * Tue Jul 04 2000 Nalin Dahyabhai <nalin@redhat.com> - prereq initscripts - make migration scripts use mktemp * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com> - do condrestart in post and stop in preun - move init script to /etc/init.d * Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.11 - add condrestart logic to init script - munge migration scripts so that you don't have to be /usr/share/openldap/migration to run them - add code to create pid files in /var/run * Mon Jun 05 2000 Nalin Dahyabhai <nalin@redhat.com> - FHS tweaks - fix for compiling with libdb2 * Thu May 04 2000 Bill Nottingham <notting@redhat.com> - minor tweak so it builds on ia64 * Wed May 03 2000 Nalin Dahyabhai <nalin@redhat.com> - more minimalistic fix for bug #11111 after consultation with OpenLDAP team - backport replacement for the ldapuser patch * Tue May 02 2000 Nalin Dahyabhai <nalin@redhat.com> - fix segfaults from queries with commas in them in in.xfingerd (bug #11111) * Tue Apr 25 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.10 - add revamped version of patch from kos@bastard.net to allow execution as any non-root user - remove test suite from %build because of weirdness in the build system * Wed Apr 12 2000 Nalin Dahyabhai <nalin@redhat.com> - move the defaults for databases and whatnot to /var/lib/ldap (bug #10714) - fix some possible string-handling problems * Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - start earlier, stop later. * Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com> - auto rebuild in new environment (release 4) * Tue Feb 01 2000 Nalin Dahyabhai <nalin@redhat.com> - add -D_REENTRANT to make threaded stuff more stable, even though it looks like the sources define it, too - mark *.ph files in migration tools as config files * Fri Jan 21 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.9 * Mon Sep 13 1999 Bill Nottingham <notting@redhat.com> - strip files * Sat Sep 11 1999 Bill Nottingham <notting@redhat.com> - update to 1.2.7 - fix some bugs from bugzilla (#4885, #4887, #4888, #4967) - take include files out of base package * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com> - missing ;; in init script reload) (#4734). * Tue Aug 24 1999 Cristian Gafton <gafton@redhat.com> - move stuff from /usr/libexec to /usr/sbin - relocate config dirs to /etc/openldap * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging * Wed Aug 11 1999 Cristian Gafton <gafton@redhat.com> - add the migration tools to the package * Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com> - upgrade to 1.2.6 - add rc.d script - split -devel package * Sun Feb 07 1999 Preston Brown <pbrown@redhat.com> - upgrade to latest stable (1.1.4), it now uses configure macro. * Fri Jan 15 1999 Bill Nottingham <notting@redhat.com> - build on arm, glibc2.1 * Wed Oct 28 1998 Preston Brown <pbrown@redhat.com> - initial cut. - patches for signal handling on the alpha
2004-09-09 09:28:22 +00:00
killproc ${slapd}
RETVAL=$?
auto-import changelog data from openldap-2.0.7-14.src.rpm * Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment * Thu Feb 08 2001 Nalin Dahyabhai <nalin@redhat.com> - back out pidfile patches, which interact weirdly with Linux threads - mark non-standard schema as such by moving them to a different directory * Mon Feb 05 2001 Nalin Dahyabhai <nalin@redhat.com> - update to MigrationTools 36, adds netgroup support * Mon Jan 29 2001 Nalin Dahyabhai <nalin@redhat.com> - fix thinko in that last patch * Thu Jan 25 2001 Nalin Dahyabhai <nalin@redhat.com> - try to work around some buffering problems * Tue Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize the init script * Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize the init script * Fri Jan 12 2001 Nalin Dahyabhai <nalin@redhat.com> - move the RFCs to the base package (#21701) - update to MigrationTools 34 * Wed Jan 10 2001 Nalin Dahyabhai <nalin@redhat.com> - add support for additional OPTIONS, SLAPD_OPTIONS, and SLURPD_OPTIONS in a /etc/sysconfig/ldap file (#23549) * Fri Dec 29 2000 Nalin Dahyabhai <nalin@redhat.com> - change automount object OID from 1.3.6.1.1.1.2.9 to 1.3.6.1.1.1.2.13, per mail from the ldap-nis mailing list * Tue Dec 05 2000 Nalin Dahyabhai <nalin@redhat.com> - force -fPIC so that shared libraries don't fall over * Mon Dec 04 2000 Nalin Dahyabhai <nalin@redhat.com> - add Norbert Klasen's patch (via Del) to fix searches using ldaps URLs (OpenLDAP ITS #889) - add "-h ldaps:///" to server init when TLS is enabled, in order to support ldaps in addition to the regular STARTTLS (suggested by Del) * Mon Nov 27 2000 Nalin Dahyabhai <nalin@redhat.com> - correct mismatched-dn-cn bug in migrate_automount.pl * Mon Nov 20 2000 Nalin Dahyabhai <nalin@redhat.com> - update to the correct OIDs for automount and automountInformation - add notes on upgrading * Tue Nov 07 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 2.0.7 - drop chdir patch (went mainstream) * Thu Nov 02 2000 Nalin Dahyabhai <nalin@redhat.com> - change automount object classes from auxiliary to structural * Tue Oct 31 2000 Nalin Dahyabhai <nalin@redhat.com> - update to Migration Tools 27 - change the sense of the last simple patch * Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com> - reorganize the patch list to separate MigrationTools and OpenLDAP patches - switch to Luke Howard's rfc822MailMember schema instead of the aliases.schema - configure slapd to run as the non-root user "ldap" (#19370) - chdir() before chroot() (we don't use chroot, though) (#19369) - disable saving of the pid file because the parent thread which saves it and the child thread which listens have different pids
2004-09-09 09:28:35 +00:00
echo
auto-import changelog data from openldap-1.2.11-15.src.rpm * Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com> - remove that pesky default password - change "Copyright:" to "License:" * Sun Aug 13 2000 Nalin Dahyabhai <nalin@redhat.com> - adjust permissions in files lists - move libexecdir from /usr/sbin to /usr/sbin * Fri Aug 11 2000 Nalin Dahyabhai <nalin@redhat.com> - add migrate_automount.pl to the migration scripts set * Tue Aug 08 2000 Nalin Dahyabhai <nalin@redhat.com> - build a semistatic slurpd with threads, everything else without - disable reverse lookups, per email on OpenLDAP mailing lists - make sure the execute bits are set on the shared libraries * Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com> - change logging facility used from local4 to daemon (#11047) * Thu Jul 27 2000 Nalin Dahyabhai <nalin@redhat.com> - split off clients and servers to shrink down the package and remove the base package's dependency on Perl - make certain that the binaries have sane permissions * Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com> - move the init script back * Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak the init script to only source /etc/sysconfig/network if it's found * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild * Mon Jul 10 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to gdbm; I'm getting off the db merry-go-round - tweak the init script some more - add instdir to @INC in migration scripts * Thu Jul 06 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak init script to return error codes properly - change initscripts dependency to one on /etc/init.d * Tue Jul 04 2000 Nalin Dahyabhai <nalin@redhat.com> - prereq initscripts - make migration scripts use mktemp * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com> - do condrestart in post and stop in preun - move init script to /etc/init.d * Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.11 - add condrestart logic to init script - munge migration scripts so that you don't have to be /usr/share/openldap/migration to run them - add code to create pid files in /var/run * Mon Jun 05 2000 Nalin Dahyabhai <nalin@redhat.com> - FHS tweaks - fix for compiling with libdb2 * Thu May 04 2000 Bill Nottingham <notting@redhat.com> - minor tweak so it builds on ia64 * Wed May 03 2000 Nalin Dahyabhai <nalin@redhat.com> - more minimalistic fix for bug #11111 after consultation with OpenLDAP team - backport replacement for the ldapuser patch * Tue May 02 2000 Nalin Dahyabhai <nalin@redhat.com> - fix segfaults from queries with commas in them in in.xfingerd (bug #11111) * Tue Apr 25 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.10 - add revamped version of patch from kos@bastard.net to allow execution as any non-root user - remove test suite from %build because of weirdness in the build system * Wed Apr 12 2000 Nalin Dahyabhai <nalin@redhat.com> - move the defaults for databases and whatnot to /var/lib/ldap (bug #10714) - fix some possible string-handling problems * Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - start earlier, stop later. * Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com> - auto rebuild in new environment (release 4) * Tue Feb 01 2000 Nalin Dahyabhai <nalin@redhat.com> - add -D_REENTRANT to make threaded stuff more stable, even though it looks like the sources define it, too - mark *.ph files in migration tools as config files * Fri Jan 21 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.9 * Mon Sep 13 1999 Bill Nottingham <notting@redhat.com> - strip files * Sat Sep 11 1999 Bill Nottingham <notting@redhat.com> - update to 1.2.7 - fix some bugs from bugzilla (#4885, #4887, #4888, #4967) - take include files out of base package * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com> - missing ;; in init script reload) (#4734). * Tue Aug 24 1999 Cristian Gafton <gafton@redhat.com> - move stuff from /usr/libexec to /usr/sbin - relocate config dirs to /etc/openldap * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging * Wed Aug 11 1999 Cristian Gafton <gafton@redhat.com> - add the migration tools to the package * Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com> - upgrade to 1.2.6 - add rc.d script - split -devel package * Sun Feb 07 1999 Preston Brown <pbrown@redhat.com> - upgrade to latest stable (1.1.4), it now uses configure macro. * Fri Jan 15 1999 Bill Nottingham <notting@redhat.com> - build on arm, glibc2.1 * Wed Oct 28 1998 Preston Brown <pbrown@redhat.com> - initial cut. - patches for signal handling on the alpha
2004-09-09 09:28:22 +00:00
if [ $RETVAL -eq 0 ]; then
if grep -q "^replogfile" /etc/openldap/slapd.conf; then
prog=`basename ${slurpd}`
echo -n $"Stopping $prog: "
auto-import changelog data from openldap-1.2.11-15.src.rpm * Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com> - remove that pesky default password - change "Copyright:" to "License:" * Sun Aug 13 2000 Nalin Dahyabhai <nalin@redhat.com> - adjust permissions in files lists - move libexecdir from /usr/sbin to /usr/sbin * Fri Aug 11 2000 Nalin Dahyabhai <nalin@redhat.com> - add migrate_automount.pl to the migration scripts set * Tue Aug 08 2000 Nalin Dahyabhai <nalin@redhat.com> - build a semistatic slurpd with threads, everything else without - disable reverse lookups, per email on OpenLDAP mailing lists - make sure the execute bits are set on the shared libraries * Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com> - change logging facility used from local4 to daemon (#11047) * Thu Jul 27 2000 Nalin Dahyabhai <nalin@redhat.com> - split off clients and servers to shrink down the package and remove the base package's dependency on Perl - make certain that the binaries have sane permissions * Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com> - move the init script back * Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak the init script to only source /etc/sysconfig/network if it's found * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild * Mon Jul 10 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to gdbm; I'm getting off the db merry-go-round - tweak the init script some more - add instdir to @INC in migration scripts * Thu Jul 06 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak init script to return error codes properly - change initscripts dependency to one on /etc/init.d * Tue Jul 04 2000 Nalin Dahyabhai <nalin@redhat.com> - prereq initscripts - make migration scripts use mktemp * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com> - do condrestart in post and stop in preun - move init script to /etc/init.d * Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.11 - add condrestart logic to init script - munge migration scripts so that you don't have to be /usr/share/openldap/migration to run them - add code to create pid files in /var/run * Mon Jun 05 2000 Nalin Dahyabhai <nalin@redhat.com> - FHS tweaks - fix for compiling with libdb2 * Thu May 04 2000 Bill Nottingham <notting@redhat.com> - minor tweak so it builds on ia64 * Wed May 03 2000 Nalin Dahyabhai <nalin@redhat.com> - more minimalistic fix for bug #11111 after consultation with OpenLDAP team - backport replacement for the ldapuser patch * Tue May 02 2000 Nalin Dahyabhai <nalin@redhat.com> - fix segfaults from queries with commas in them in in.xfingerd (bug #11111) * Tue Apr 25 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.10 - add revamped version of patch from kos@bastard.net to allow execution as any non-root user - remove test suite from %build because of weirdness in the build system * Wed Apr 12 2000 Nalin Dahyabhai <nalin@redhat.com> - move the defaults for databases and whatnot to /var/lib/ldap (bug #10714) - fix some possible string-handling problems * Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - start earlier, stop later. * Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com> - auto rebuild in new environment (release 4) * Tue Feb 01 2000 Nalin Dahyabhai <nalin@redhat.com> - add -D_REENTRANT to make threaded stuff more stable, even though it looks like the sources define it, too - mark *.ph files in migration tools as config files * Fri Jan 21 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.9 * Mon Sep 13 1999 Bill Nottingham <notting@redhat.com> - strip files * Sat Sep 11 1999 Bill Nottingham <notting@redhat.com> - update to 1.2.7 - fix some bugs from bugzilla (#4885, #4887, #4888, #4967) - take include files out of base package * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com> - missing ;; in init script reload) (#4734). * Tue Aug 24 1999 Cristian Gafton <gafton@redhat.com> - move stuff from /usr/libexec to /usr/sbin - relocate config dirs to /etc/openldap * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging * Wed Aug 11 1999 Cristian Gafton <gafton@redhat.com> - add the migration tools to the package * Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com> - upgrade to 1.2.6 - add rc.d script - split -devel package * Sun Feb 07 1999 Preston Brown <pbrown@redhat.com> - upgrade to latest stable (1.1.4), it now uses configure macro. * Fri Jan 15 1999 Bill Nottingham <notting@redhat.com> - build on arm, glibc2.1 * Wed Oct 28 1998 Preston Brown <pbrown@redhat.com> - initial cut. - patches for signal handling on the alpha
2004-09-09 09:28:22 +00:00
killproc ${slurpd}
RETVAL=$?
auto-import changelog data from openldap-2.0.7-14.src.rpm * Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment * Thu Feb 08 2001 Nalin Dahyabhai <nalin@redhat.com> - back out pidfile patches, which interact weirdly with Linux threads - mark non-standard schema as such by moving them to a different directory * Mon Feb 05 2001 Nalin Dahyabhai <nalin@redhat.com> - update to MigrationTools 36, adds netgroup support * Mon Jan 29 2001 Nalin Dahyabhai <nalin@redhat.com> - fix thinko in that last patch * Thu Jan 25 2001 Nalin Dahyabhai <nalin@redhat.com> - try to work around some buffering problems * Tue Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize the init script * Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize the init script * Fri Jan 12 2001 Nalin Dahyabhai <nalin@redhat.com> - move the RFCs to the base package (#21701) - update to MigrationTools 34 * Wed Jan 10 2001 Nalin Dahyabhai <nalin@redhat.com> - add support for additional OPTIONS, SLAPD_OPTIONS, and SLURPD_OPTIONS in a /etc/sysconfig/ldap file (#23549) * Fri Dec 29 2000 Nalin Dahyabhai <nalin@redhat.com> - change automount object OID from 1.3.6.1.1.1.2.9 to 1.3.6.1.1.1.2.13, per mail from the ldap-nis mailing list * Tue Dec 05 2000 Nalin Dahyabhai <nalin@redhat.com> - force -fPIC so that shared libraries don't fall over * Mon Dec 04 2000 Nalin Dahyabhai <nalin@redhat.com> - add Norbert Klasen's patch (via Del) to fix searches using ldaps URLs (OpenLDAP ITS #889) - add "-h ldaps:///" to server init when TLS is enabled, in order to support ldaps in addition to the regular STARTTLS (suggested by Del) * Mon Nov 27 2000 Nalin Dahyabhai <nalin@redhat.com> - correct mismatched-dn-cn bug in migrate_automount.pl * Mon Nov 20 2000 Nalin Dahyabhai <nalin@redhat.com> - update to the correct OIDs for automount and automountInformation - add notes on upgrading * Tue Nov 07 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 2.0.7 - drop chdir patch (went mainstream) * Thu Nov 02 2000 Nalin Dahyabhai <nalin@redhat.com> - change automount object classes from auxiliary to structural * Tue Oct 31 2000 Nalin Dahyabhai <nalin@redhat.com> - update to Migration Tools 27 - change the sense of the last simple patch * Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com> - reorganize the patch list to separate MigrationTools and OpenLDAP patches - switch to Luke Howard's rfc822MailMember schema instead of the aliases.schema - configure slapd to run as the non-root user "ldap" (#19370) - chdir() before chroot() (we don't use chroot, though) (#19369) - disable saving of the pid file because the parent thread which saves it and the child thread which listens have different pids
2004-09-09 09:28:35 +00:00
echo
auto-import changelog data from openldap-1.2.11-15.src.rpm * Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com> - remove that pesky default password - change "Copyright:" to "License:" * Sun Aug 13 2000 Nalin Dahyabhai <nalin@redhat.com> - adjust permissions in files lists - move libexecdir from /usr/sbin to /usr/sbin * Fri Aug 11 2000 Nalin Dahyabhai <nalin@redhat.com> - add migrate_automount.pl to the migration scripts set * Tue Aug 08 2000 Nalin Dahyabhai <nalin@redhat.com> - build a semistatic slurpd with threads, everything else without - disable reverse lookups, per email on OpenLDAP mailing lists - make sure the execute bits are set on the shared libraries * Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com> - change logging facility used from local4 to daemon (#11047) * Thu Jul 27 2000 Nalin Dahyabhai <nalin@redhat.com> - split off clients and servers to shrink down the package and remove the base package's dependency on Perl - make certain that the binaries have sane permissions * Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com> - move the init script back * Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak the init script to only source /etc/sysconfig/network if it's found * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild * Mon Jul 10 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to gdbm; I'm getting off the db merry-go-round - tweak the init script some more - add instdir to @INC in migration scripts * Thu Jul 06 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak init script to return error codes properly - change initscripts dependency to one on /etc/init.d * Tue Jul 04 2000 Nalin Dahyabhai <nalin@redhat.com> - prereq initscripts - make migration scripts use mktemp * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com> - do condrestart in post and stop in preun - move init script to /etc/init.d * Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.11 - add condrestart logic to init script - munge migration scripts so that you don't have to be /usr/share/openldap/migration to run them - add code to create pid files in /var/run * Mon Jun 05 2000 Nalin Dahyabhai <nalin@redhat.com> - FHS tweaks - fix for compiling with libdb2 * Thu May 04 2000 Bill Nottingham <notting@redhat.com> - minor tweak so it builds on ia64 * Wed May 03 2000 Nalin Dahyabhai <nalin@redhat.com> - more minimalistic fix for bug #11111 after consultation with OpenLDAP team - backport replacement for the ldapuser patch * Tue May 02 2000 Nalin Dahyabhai <nalin@redhat.com> - fix segfaults from queries with commas in them in in.xfingerd (bug #11111) * Tue Apr 25 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.10 - add revamped version of patch from kos@bastard.net to allow execution as any non-root user - remove test suite from %build because of weirdness in the build system * Wed Apr 12 2000 Nalin Dahyabhai <nalin@redhat.com> - move the defaults for databases and whatnot to /var/lib/ldap (bug #10714) - fix some possible string-handling problems * Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - start earlier, stop later. * Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com> - auto rebuild in new environment (release 4) * Tue Feb 01 2000 Nalin Dahyabhai <nalin@redhat.com> - add -D_REENTRANT to make threaded stuff more stable, even though it looks like the sources define it, too - mark *.ph files in migration tools as config files * Fri Jan 21 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.9 * Mon Sep 13 1999 Bill Nottingham <notting@redhat.com> - strip files * Sat Sep 11 1999 Bill Nottingham <notting@redhat.com> - update to 1.2.7 - fix some bugs from bugzilla (#4885, #4887, #4888, #4967) - take include files out of base package * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com> - missing ;; in init script reload) (#4734). * Tue Aug 24 1999 Cristian Gafton <gafton@redhat.com> - move stuff from /usr/libexec to /usr/sbin - relocate config dirs to /etc/openldap * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging * Wed Aug 11 1999 Cristian Gafton <gafton@redhat.com> - add the migration tools to the package * Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com> - upgrade to 1.2.6 - add rc.d script - split -devel package * Sun Feb 07 1999 Preston Brown <pbrown@redhat.com> - upgrade to latest stable (1.1.4), it now uses configure macro. * Fri Jan 15 1999 Bill Nottingham <notting@redhat.com> - build on arm, glibc2.1 * Wed Oct 28 1998 Preston Brown <pbrown@redhat.com> - initial cut. - patches for signal handling on the alpha
2004-09-09 09:28:22 +00:00
fi
fi
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/ldap /var/run/slapd.args
return $RETVAL
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
status)
status ${slapd}
if grep -q "^replogfile" /etc/openldap/slapd.conf ; then
status ${slurpd}
fi
;;
restart)
stop
start
;;
reload)
killproc ${slapd} -HUP
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
if grep -q "^replogfile" /etc/openldap/slapd.conf; then
killproc ${slurpd} -HUP
RETVAL=$?
fi
fi
;;
auto-import changelog data from openldap-1.2.11-15.src.rpm * Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com> - remove that pesky default password - change "Copyright:" to "License:" * Sun Aug 13 2000 Nalin Dahyabhai <nalin@redhat.com> - adjust permissions in files lists - move libexecdir from /usr/sbin to /usr/sbin * Fri Aug 11 2000 Nalin Dahyabhai <nalin@redhat.com> - add migrate_automount.pl to the migration scripts set * Tue Aug 08 2000 Nalin Dahyabhai <nalin@redhat.com> - build a semistatic slurpd with threads, everything else without - disable reverse lookups, per email on OpenLDAP mailing lists - make sure the execute bits are set on the shared libraries * Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com> - change logging facility used from local4 to daemon (#11047) * Thu Jul 27 2000 Nalin Dahyabhai <nalin@redhat.com> - split off clients and servers to shrink down the package and remove the base package's dependency on Perl - make certain that the binaries have sane permissions * Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com> - move the init script back * Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak the init script to only source /etc/sysconfig/network if it's found * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild * Mon Jul 10 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to gdbm; I'm getting off the db merry-go-round - tweak the init script some more - add instdir to @INC in migration scripts * Thu Jul 06 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak init script to return error codes properly - change initscripts dependency to one on /etc/init.d * Tue Jul 04 2000 Nalin Dahyabhai <nalin@redhat.com> - prereq initscripts - make migration scripts use mktemp * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com> - do condrestart in post and stop in preun - move init script to /etc/init.d * Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.11 - add condrestart logic to init script - munge migration scripts so that you don't have to be /usr/share/openldap/migration to run them - add code to create pid files in /var/run * Mon Jun 05 2000 Nalin Dahyabhai <nalin@redhat.com> - FHS tweaks - fix for compiling with libdb2 * Thu May 04 2000 Bill Nottingham <notting@redhat.com> - minor tweak so it builds on ia64 * Wed May 03 2000 Nalin Dahyabhai <nalin@redhat.com> - more minimalistic fix for bug #11111 after consultation with OpenLDAP team - backport replacement for the ldapuser patch * Tue May 02 2000 Nalin Dahyabhai <nalin@redhat.com> - fix segfaults from queries with commas in them in in.xfingerd (bug #11111) * Tue Apr 25 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.10 - add revamped version of patch from kos@bastard.net to allow execution as any non-root user - remove test suite from %build because of weirdness in the build system * Wed Apr 12 2000 Nalin Dahyabhai <nalin@redhat.com> - move the defaults for databases and whatnot to /var/lib/ldap (bug #10714) - fix some possible string-handling problems * Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - start earlier, stop later. * Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com> - auto rebuild in new environment (release 4) * Tue Feb 01 2000 Nalin Dahyabhai <nalin@redhat.com> - add -D_REENTRANT to make threaded stuff more stable, even though it looks like the sources define it, too - mark *.ph files in migration tools as config files * Fri Jan 21 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.9 * Mon Sep 13 1999 Bill Nottingham <notting@redhat.com> - strip files * Sat Sep 11 1999 Bill Nottingham <notting@redhat.com> - update to 1.2.7 - fix some bugs from bugzilla (#4885, #4887, #4888, #4967) - take include files out of base package * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com> - missing ;; in init script reload) (#4734). * Tue Aug 24 1999 Cristian Gafton <gafton@redhat.com> - move stuff from /usr/libexec to /usr/sbin - relocate config dirs to /etc/openldap * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging * Wed Aug 11 1999 Cristian Gafton <gafton@redhat.com> - add the migration tools to the package * Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com> - upgrade to 1.2.6 - add rc.d script - split -devel package * Sun Feb 07 1999 Preston Brown <pbrown@redhat.com> - upgrade to latest stable (1.1.4), it now uses configure macro. * Fri Jan 15 1999 Bill Nottingham <notting@redhat.com> - build on arm, glibc2.1 * Wed Oct 28 1998 Preston Brown <pbrown@redhat.com> - initial cut. - patches for signal handling on the alpha
2004-09-09 09:28:22 +00:00
condrestart)
if [ -f /var/lock/subsys/ldap ] ; then
stop
start
fi
;;
*)
auto-import changelog data from openldap-2.0.7-14.src.rpm * Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment * Thu Feb 08 2001 Nalin Dahyabhai <nalin@redhat.com> - back out pidfile patches, which interact weirdly with Linux threads - mark non-standard schema as such by moving them to a different directory * Mon Feb 05 2001 Nalin Dahyabhai <nalin@redhat.com> - update to MigrationTools 36, adds netgroup support * Mon Jan 29 2001 Nalin Dahyabhai <nalin@redhat.com> - fix thinko in that last patch * Thu Jan 25 2001 Nalin Dahyabhai <nalin@redhat.com> - try to work around some buffering problems * Tue Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize the init script * Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize the init script * Fri Jan 12 2001 Nalin Dahyabhai <nalin@redhat.com> - move the RFCs to the base package (#21701) - update to MigrationTools 34 * Wed Jan 10 2001 Nalin Dahyabhai <nalin@redhat.com> - add support for additional OPTIONS, SLAPD_OPTIONS, and SLURPD_OPTIONS in a /etc/sysconfig/ldap file (#23549) * Fri Dec 29 2000 Nalin Dahyabhai <nalin@redhat.com> - change automount object OID from 1.3.6.1.1.1.2.9 to 1.3.6.1.1.1.2.13, per mail from the ldap-nis mailing list * Tue Dec 05 2000 Nalin Dahyabhai <nalin@redhat.com> - force -fPIC so that shared libraries don't fall over * Mon Dec 04 2000 Nalin Dahyabhai <nalin@redhat.com> - add Norbert Klasen's patch (via Del) to fix searches using ldaps URLs (OpenLDAP ITS #889) - add "-h ldaps:///" to server init when TLS is enabled, in order to support ldaps in addition to the regular STARTTLS (suggested by Del) * Mon Nov 27 2000 Nalin Dahyabhai <nalin@redhat.com> - correct mismatched-dn-cn bug in migrate_automount.pl * Mon Nov 20 2000 Nalin Dahyabhai <nalin@redhat.com> - update to the correct OIDs for automount and automountInformation - add notes on upgrading * Tue Nov 07 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 2.0.7 - drop chdir patch (went mainstream) * Thu Nov 02 2000 Nalin Dahyabhai <nalin@redhat.com> - change automount object classes from auxiliary to structural * Tue Oct 31 2000 Nalin Dahyabhai <nalin@redhat.com> - update to Migration Tools 27 - change the sense of the last simple patch * Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com> - reorganize the patch list to separate MigrationTools and OpenLDAP patches - switch to Luke Howard's rfc822MailMember schema instead of the aliases.schema - configure slapd to run as the non-root user "ldap" (#19370) - chdir() before chroot() (we don't use chroot, though) (#19369) - disable saving of the pid file because the parent thread which saves it and the child thread which listens have different pids
2004-09-09 09:28:35 +00:00
echo $"Usage: $0 {start|stop|restart|status|condrestart}"
auto-import changelog data from openldap-1.2.11-15.src.rpm * Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com> - remove that pesky default password - change "Copyright:" to "License:" * Sun Aug 13 2000 Nalin Dahyabhai <nalin@redhat.com> - adjust permissions in files lists - move libexecdir from /usr/sbin to /usr/sbin * Fri Aug 11 2000 Nalin Dahyabhai <nalin@redhat.com> - add migrate_automount.pl to the migration scripts set * Tue Aug 08 2000 Nalin Dahyabhai <nalin@redhat.com> - build a semistatic slurpd with threads, everything else without - disable reverse lookups, per email on OpenLDAP mailing lists - make sure the execute bits are set on the shared libraries * Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com> - change logging facility used from local4 to daemon (#11047) * Thu Jul 27 2000 Nalin Dahyabhai <nalin@redhat.com> - split off clients and servers to shrink down the package and remove the base package's dependency on Perl - make certain that the binaries have sane permissions * Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com> - move the init script back * Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak the init script to only source /etc/sysconfig/network if it's found * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild * Mon Jul 10 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to gdbm; I'm getting off the db merry-go-round - tweak the init script some more - add instdir to @INC in migration scripts * Thu Jul 06 2000 Nalin Dahyabhai <nalin@redhat.com> - tweak init script to return error codes properly - change initscripts dependency to one on /etc/init.d * Tue Jul 04 2000 Nalin Dahyabhai <nalin@redhat.com> - prereq initscripts - make migration scripts use mktemp * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com> - do condrestart in post and stop in preun - move init script to /etc/init.d * Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.11 - add condrestart logic to init script - munge migration scripts so that you don't have to be /usr/share/openldap/migration to run them - add code to create pid files in /var/run * Mon Jun 05 2000 Nalin Dahyabhai <nalin@redhat.com> - FHS tweaks - fix for compiling with libdb2 * Thu May 04 2000 Bill Nottingham <notting@redhat.com> - minor tweak so it builds on ia64 * Wed May 03 2000 Nalin Dahyabhai <nalin@redhat.com> - more minimalistic fix for bug #11111 after consultation with OpenLDAP team - backport replacement for the ldapuser patch * Tue May 02 2000 Nalin Dahyabhai <nalin@redhat.com> - fix segfaults from queries with commas in them in in.xfingerd (bug #11111) * Tue Apr 25 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.10 - add revamped version of patch from kos@bastard.net to allow execution as any non-root user - remove test suite from %build because of weirdness in the build system * Wed Apr 12 2000 Nalin Dahyabhai <nalin@redhat.com> - move the defaults for databases and whatnot to /var/lib/ldap (bug #10714) - fix some possible string-handling problems * Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - start earlier, stop later. * Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com> - auto rebuild in new environment (release 4) * Tue Feb 01 2000 Nalin Dahyabhai <nalin@redhat.com> - add -D_REENTRANT to make threaded stuff more stable, even though it looks like the sources define it, too - mark *.ph files in migration tools as config files * Fri Jan 21 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.9 * Mon Sep 13 1999 Bill Nottingham <notting@redhat.com> - strip files * Sat Sep 11 1999 Bill Nottingham <notting@redhat.com> - update to 1.2.7 - fix some bugs from bugzilla (#4885, #4887, #4888, #4967) - take include files out of base package * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com> - missing ;; in init script reload) (#4734). * Tue Aug 24 1999 Cristian Gafton <gafton@redhat.com> - move stuff from /usr/libexec to /usr/sbin - relocate config dirs to /etc/openldap * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging * Wed Aug 11 1999 Cristian Gafton <gafton@redhat.com> - add the migration tools to the package * Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com> - upgrade to 1.2.6 - add rc.d script - split -devel package * Sun Feb 07 1999 Preston Brown <pbrown@redhat.com> - upgrade to latest stable (1.1.4), it now uses configure macro. * Fri Jan 15 1999 Bill Nottingham <notting@redhat.com> - build on arm, glibc2.1 * Wed Oct 28 1998 Preston Brown <pbrown@redhat.com> - initial cut. - patches for signal handling on the alpha
2004-09-09 09:28:22 +00:00
RETVAL=1
esac
exit $RETVAL