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
|
|
|
#
|
2009-09-24 11:30:24 +00:00
|
|
|
# slapd This shell script takes care of starting and stopping
|
2007-11-21 12:12:15 +00:00
|
|
|
# ldap servers (slapd).
|
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
|
|
|
#
|
2004-11-02 15:42:16 +00:00
|
|
|
# chkconfig: - 27 73
|
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
|
|
|
# description: LDAP stands for Lightweight Directory Access Protocol, used \
|
|
|
|
# for implementing the industry standard directory services.
|
|
|
|
# processname: slapd
|
|
|
|
# config: /etc/openldap/slapd.conf
|
2009-09-16 14:06:36 +00:00
|
|
|
# pidfile: /var/run/slapd.pid
|
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
|
|
|
|
2008-01-28 11:45:46 +00:00
|
|
|
### BEGIN INIT INFO
|
2009-09-16 14:06:36 +00:00
|
|
|
# Provides: slapd
|
2008-01-28 11:45:46 +00:00
|
|
|
# Required-Start: $network $local_fs
|
|
|
|
# Required-Stop: $network $local_fs
|
|
|
|
# Should-Start:
|
|
|
|
# Should-Stop:
|
|
|
|
# Default-Start:
|
|
|
|
# Default-Stop:
|
|
|
|
# Short-Description: starts and stopd OpenLDAP server daemon
|
|
|
|
# Description: LDAP stands for Lightweight Directory Access Protocol, used
|
|
|
|
# for implementing the industry standard directory services.
|
|
|
|
### END INIT INFO
|
|
|
|
|
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
|
|
|
# Source function library.
|
|
|
|
. /etc/init.d/functions
|
|
|
|
|
2007-09-17 12:26:02 +00:00
|
|
|
# Define default values of options allowed in /etc/sysconfig/ldap
|
|
|
|
SLAPD_LDAP="yes"
|
|
|
|
SLAPD_LDAPI="no"
|
|
|
|
SLAPD_LDAPS="no"
|
2009-06-09 11:43:35 +00:00
|
|
|
SLAPD_URLS=""
|
2008-10-13 10:16:30 +00:00
|
|
|
SLAPD_SHUTDOWN_TIMEOUT=3
|
2007-11-21 12:12:15 +00:00
|
|
|
# OPTIONS, SLAPD_OPTIONS and KTB5_KTNAME are not defined
|
2007-09-17 12:26:02 +00:00
|
|
|
|
|
|
|
# Source an auxiliary options file if we have one
|
2004-09-09 09:28:35 +00:00
|
|
|
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
|
2004-09-09 09:42:43 +00:00
|
|
|
slaptest=/usr/sbin/slaptest
|
2009-09-16 14:06:36 +00:00
|
|
|
lockfile=/var/lock/subsys/slapd
|
2009-09-24 11:30:24 +00:00
|
|
|
configdir=/etc/openldap/slapd.d/
|
2009-11-16 13:06:35 +00:00
|
|
|
configfile=/etc/openldap/slapd.conf
|
2009-09-16 14:06:36 +00:00
|
|
|
pidfile=/var/run/slapd.pid
|
|
|
|
slapd_pidfile=/var/run/openldap/slapd.pid
|
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=0
|
|
|
|
|
2005-02-01 00:19:35 +00:00
|
|
|
#
|
|
|
|
# Pass commands given in $2 and later to "test" run as user given in $1.
|
|
|
|
#
|
|
|
|
function testasuser() {
|
|
|
|
local user= cmd=
|
|
|
|
user="$1"
|
|
|
|
shift
|
|
|
|
cmd="$@"
|
|
|
|
if test x"$user" != x ; then
|
2005-05-19 21:23:17 +00:00
|
|
|
if test x"$cmd" != x ; then
|
|
|
|
/sbin/runuser -f -m -s /bin/sh -c "test $cmd" -- "$user"
|
|
|
|
else
|
|
|
|
false
|
|
|
|
fi
|
2005-02-01 00:19:35 +00:00
|
|
|
else
|
2005-05-19 21:23:17 +00:00
|
|
|
false
|
2005-02-01 00:19:35 +00:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
#
|
|
|
|
# Check for read-access errors for the user given in $1 for a service named $2.
|
|
|
|
# If $3 is specified, the command is run if "klist" can't be found.
|
|
|
|
#
|
|
|
|
function checkkeytab() {
|
|
|
|
local user= service= klist= default=
|
|
|
|
user="$1"
|
|
|
|
service="$2"
|
|
|
|
default="${3:-false}"
|
|
|
|
if test -x /usr/kerberos/bin/klist ; then
|
2005-05-19 21:23:17 +00:00
|
|
|
klist=/usr/kerberos/bin/klist
|
2005-02-01 00:19:35 +00:00
|
|
|
elif test -x /usr/bin/klist ; then
|
2005-05-19 21:23:17 +00:00
|
|
|
klist=/usr/bin/klist
|
2005-02-01 00:19:35 +00:00
|
|
|
fi
|
|
|
|
KRB5_KTNAME="${KRB5_KTNAME:-/etc/krb5.keytab}"
|
2005-04-27 00:07:44 +00:00
|
|
|
export KRB5_KTNAME
|
2005-02-01 00:19:35 +00:00
|
|
|
if test -s "$KRB5_KTNAME" ; then
|
2005-05-19 21:23:17 +00:00
|
|
|
if test x"$klist" != x ; then
|
2005-08-05 17:51:39 +00:00
|
|
|
if LANG=C $klist -k "$KRB5_KTNAME" | tail -n 4 | awk '{print $2}' | grep -q ^"$service"/ ; then
|
2005-05-19 21:23:17 +00:00
|
|
|
if ! testasuser "$user" -r ${KRB5_KTNAME:-/etc/krb5.keytab} ; then
|
|
|
|
true
|
|
|
|
else
|
|
|
|
false
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
false
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
$default
|
|
|
|
fi
|
2005-02-01 00:19:35 +00:00
|
|
|
else
|
2005-05-19 21:23:17 +00:00
|
|
|
false
|
2005-02-01 00:19:35 +00:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
function configtest() {
|
|
|
|
local user= ldapuid= dbdir= file=
|
2005-05-19 21:23:17 +00:00
|
|
|
# Check for simple-but-common errors.
|
2004-09-09 09:39:50 +00:00
|
|
|
user=ldap
|
2005-04-27 00:10:58 +00:00
|
|
|
prog=`basename ${slapd}`
|
2004-09-09 09:39:50 +00:00
|
|
|
ldapuid=`id -u $user`
|
|
|
|
# Unaccessible database files.
|
2007-11-21 12:12:15 +00:00
|
|
|
slaptestflags=""
|
2009-09-24 11:30:24 +00:00
|
|
|
dbdirs=""
|
2009-11-16 13:06:35 +00:00
|
|
|
if [ -d $configdir ]; then
|
|
|
|
for configfile in `ls -1 $configdir/cn\=config/olcDatabase*`; do
|
|
|
|
dbdirs=$dbdirs"
|
|
|
|
"`LANG=C egrep '^olcDbDirectory[[:space:]]*:[[:space:]]+[[:print:]]+$' $configfile | sed 's,^olcDbDirectory: ,,'`
|
|
|
|
done
|
|
|
|
elif [ -f $configfile ]; then
|
|
|
|
dbdirs=`LANG=C egrep '^directory[[:space:]]+' $configfile | sed 's,^directory[[:space:]]*,,'`
|
|
|
|
else
|
|
|
|
exit 6
|
|
|
|
fi
|
2009-09-24 11:30:24 +00:00
|
|
|
for dbdir in $dbdirs; do
|
2009-11-16 13:06:35 +00:00
|
|
|
if [ ! -d $dbdir ]; then
|
|
|
|
exit 6
|
|
|
|
fi
|
2007-05-24 10:13:18 +00:00
|
|
|
for file in `find ${dbdir}/ -not -uid $ldapuid -and \( -name "*.dbb" -or -name "*.gdbm" -or -name "*.bdb" -or -name "__db.*" -or -name "log.*" -or -name alock \)` ; do
|
2004-09-09 09:39:50 +00:00
|
|
|
echo -n $"$file is not owned by \"$user\"" ; warning ; echo
|
|
|
|
done
|
2005-05-19 17:22:14 +00:00
|
|
|
if ! test -s ${dbdir}/id2entry.dbb ; then
|
2005-05-19 21:23:17 +00:00
|
|
|
if ! test -s ${dbdir}/id2entry.gdbm ; then
|
|
|
|
if ! test -s ${dbdir}/id2entry.bdb ; then
|
2007-11-21 12:12:15 +00:00
|
|
|
slaptestflags="-u"
|
2005-05-19 17:22:14 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
2004-09-09 09:39:50 +00:00
|
|
|
done
|
2005-02-01 00:19:35 +00:00
|
|
|
# Unaccessible keytab with an "ldap" key.
|
|
|
|
if checkkeytab $user ldap ; then
|
|
|
|
file=${KRB5_KTNAME:-/etc/krb5.keytab}
|
|
|
|
echo -n $"$file is not readable by \"$user\"" ; warning ; echo
|
2004-09-09 09:42:43 +00:00
|
|
|
fi
|
2005-02-01 00:19:35 +00:00
|
|
|
# Unaccessible TLS configuration files.
|
2009-11-16 13:06:35 +00:00
|
|
|
if [ -d $configdir ]; then
|
|
|
|
tlsconfigs=`LANG=C egrep '^olc(TLSCACertificateFile|TLSCertificateFile|TLSCertificateKeyFile)[[:space:]]*:[[:space:]]' $configdir/cn\=config.ldif | awk '{print $2}'`
|
|
|
|
elif [ -f $configfile ]; then
|
|
|
|
tlsconfigs=`LANG=C egrep '^(TLSCACertificateFile|TLSCertificateFile|TLSCertificateKeyFile)[[:space:]]+' $configfile | awk '{print $2}'`
|
|
|
|
fi
|
2005-02-01 00:19:35 +00:00
|
|
|
for file in $tlsconfigs ; do
|
|
|
|
if ! testasuser $user -r $file ; then
|
|
|
|
echo -n $"$file is not readable by \"$user\"" ; warning ; echo
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
# Check the configuration file.
|
2007-04-24 09:12:34 +00:00
|
|
|
slaptestout=`/sbin/runuser -m -s "$slaptest" -- "$user" $slaptestflags 2>&1`
|
|
|
|
slaptestexit=$?
|
2008-01-14 10:10:51 +00:00
|
|
|
# slaptestout=`echo $slaptestout 2>/dev/null | grep -v "config file testing succeeded"`
|
2007-04-24 09:12:34 +00:00
|
|
|
# print warning if slaptest passed but reports some problems
|
2008-01-14 10:10:51 +00:00
|
|
|
if test $slaptestexit == 0 ; then
|
|
|
|
if echo "$slaptestout" | grep -v "config file testing succeeded" >/dev/null ; then
|
|
|
|
echo -n $"Checking configuration files for $prog: " ; warning ; echo
|
|
|
|
echo "$slaptestout"
|
|
|
|
fi
|
2007-04-24 09:12:34 +00:00
|
|
|
fi
|
|
|
|
# report error if configuration file is wrong
|
|
|
|
if test $slaptestexit != 0 ; then
|
|
|
|
echo -n $"Checking configuration files for $prog: " ; failure ; echo
|
|
|
|
echo "$slaptestout"
|
2006-02-13 16:11:17 +00:00
|
|
|
if /sbin/runuser -m -s "$slaptest" -- "$user" "-u" > /dev/null 2> /dev/null ; then
|
2009-09-24 11:30:24 +00:00
|
|
|
#dirs=`LANG=C egrep '^directory[[:space:]]+[[:print:]]+$' $configfile | awk '{print $2}'`
|
|
|
|
for directory in $dbdirs ; do
|
2005-05-04 23:37:57 +00:00
|
|
|
if test -r $directory/__db.001 ; then
|
|
|
|
echo -n $"stale lock files may be present in $directory" ; warning ; echo
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
2008-01-28 11:45:46 +00:00
|
|
|
exit 6
|
2005-05-04 23:37:57 +00:00
|
|
|
fi
|
2005-02-01 00:19:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function start() {
|
2008-01-28 11:45:46 +00:00
|
|
|
[ -x $slapd ] || exit 5
|
2009-09-16 14:06:36 +00:00
|
|
|
[ `id -u` -eq 0 ] || exit 4
|
2005-02-01 00:19:35 +00:00
|
|
|
configtest
|
2005-05-19 21:23:17 +00:00
|
|
|
# Define a couple of local variables which we'll need. Maybe.
|
2005-02-01 00:19:35 +00:00
|
|
|
user=ldap
|
2004-09-09 09:28:57 +00:00
|
|
|
prog=`basename ${slapd}`
|
2009-06-09 11:43:35 +00:00
|
|
|
harg="$SLAPD_URLS"
|
2007-09-18 10:41:07 +00:00
|
|
|
if test x$SLAPD_LDAP = xyes ; then
|
2009-06-09 11:43:35 +00:00
|
|
|
harg="$harg ldap:///"
|
2007-09-17 12:26:02 +00:00
|
|
|
fi
|
|
|
|
if test x$SLAPD_LDAPS = xyes ; then
|
2005-05-19 21:23:17 +00:00
|
|
|
harg="$harg ldaps:///"
|
|
|
|
fi
|
|
|
|
if test x$SLAPD_LDAPI = xyes ; then
|
|
|
|
harg="$harg ldapi:///"
|
2004-09-09 09:28:35 +00:00
|
|
|
fi
|
2005-05-19 21:23:17 +00:00
|
|
|
# Start daemons.
|
|
|
|
echo -n $"Starting $prog: "
|
2008-01-28 12:12:02 +00:00
|
|
|
daemon --pidfile=$pidfile --check=$prog ${slapd} -h "\"$harg\"" -u ${user} $OPTIONS $SLAPD_OPTIONS
|
2005-05-19 21:23:17 +00:00
|
|
|
RETVAL=$?
|
2009-09-16 14:06:36 +00:00
|
|
|
if [ $RETVAL -eq 0 ]; then
|
|
|
|
touch $lockfile
|
|
|
|
ln $slapd_pidfile $pidfile
|
|
|
|
fi
|
2008-01-14 10:10:51 +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
|
|
|
return $RETVAL
|
|
|
|
}
|
|
|
|
|
|
|
|
function stop() {
|
2005-05-19 21:23:17 +00:00
|
|
|
# Stop daemons.
|
2004-09-09 09:28:57 +00:00
|
|
|
prog=`basename ${slapd}`
|
2009-09-16 14:06:36 +00:00
|
|
|
[ `id -u` -eq 0 ] || exit 4
|
2004-09-09 09:28:57 +00:00
|
|
|
echo -n $"Stopping $prog: "
|
2009-09-16 14:06:36 +00:00
|
|
|
|
|
|
|
# This will remove pid and args files from /var/run/openldap
|
|
|
|
killproc -p $slapd_pidfile -d $SLAPD_SHUTDOWN_TIMEOUT ${slapd}
|
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=$?
|
2009-09-16 14:06:36 +00:00
|
|
|
|
|
|
|
# Now we want to remove lock file and hardlink of pid file
|
|
|
|
[ $RETVAL -eq 0 ] && rm -f $pidfile $lockfile
|
2008-01-14 10:10:51 +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
|
|
|
return $RETVAL
|
|
|
|
}
|
|
|
|
|
|
|
|
# See how we were called.
|
|
|
|
case "$1" in
|
2005-02-01 00:19:35 +00:00
|
|
|
configtest)
|
2005-05-19 21:23:17 +00:00
|
|
|
configtest
|
|
|
|
;;
|
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
|
|
|
start)
|
2009-11-16 13:06:35 +00:00
|
|
|
msg=`status -p $pidfile ${slapd} > /dev/null 2>&1`
|
2007-06-25 09:18:53 +00:00
|
|
|
RETVAL=$?
|
2009-11-16 13:06:35 +00:00
|
|
|
if [ "$RETVAL" != "0" ]; then
|
|
|
|
echo $msg
|
|
|
|
RETVAL=1
|
|
|
|
else
|
|
|
|
start
|
|
|
|
RETVAL=$?
|
|
|
|
fi
|
2005-05-19 21:23:17 +00:00
|
|
|
;;
|
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
|
|
|
stop)
|
2009-11-16 13:06:35 +00:00
|
|
|
msg=`status -p $pidfile ${slapd} > /dev/null 2>&1`
|
2007-06-25 09:18:53 +00:00
|
|
|
RETVAL=$?
|
2009-11-16 13:06:35 +00:00
|
|
|
if [ "$RETVAL" = "0" ]; then
|
|
|
|
echo $msg
|
|
|
|
RETVAL=7
|
|
|
|
else
|
|
|
|
stop
|
|
|
|
RETVAL=$?
|
|
|
|
fi
|
2005-05-19 21:23:17 +00:00
|
|
|
;;
|
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
|
|
|
status)
|
2008-01-28 12:12:02 +00:00
|
|
|
status -p $pidfile ${slapd}
|
2007-06-25 09:18:53 +00:00
|
|
|
RETVAL=$?
|
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
|
|
|
;;
|
2008-01-28 11:45:46 +00:00
|
|
|
restart|force-reload)
|
2009-11-16 13:06:35 +00:00
|
|
|
status -p $pidfile ${slapd} > /dev/null 2>&1 || exit 7
|
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
|
|
|
stop
|
|
|
|
start
|
2007-06-25 09:18:53 +00:00
|
|
|
RETVAL=$?
|
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
|
|
|
;;
|
2008-01-28 11:45:46 +00:00
|
|
|
condrestart|try-restart)
|
2009-11-16 13:06:35 +00:00
|
|
|
status -p $pidfile ${slapd} > /dev/null 2>&1 || exit 0
|
2009-09-16 14:06:36 +00:00
|
|
|
stop
|
|
|
|
start
|
|
|
|
;;
|
|
|
|
usage)
|
|
|
|
echo $"Usage: $0 {start|stop|restart|status|condrestart|configtest|usage}"
|
|
|
|
RETVAL=0
|
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
|
|
|
;;
|
|
|
|
*)
|
2009-09-16 14:06:36 +00:00
|
|
|
echo $"Usage: $0 {start|stop|restart|status|condrestart|configtest|usage}"
|
|
|
|
RETVAL=3
|
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
|
|
|
esac
|
|
|
|
|
|
|
|
exit $RETVAL
|