Hi,
Can anyone address me to a script to start and stop openldap? I mean a script to use with chkconfig. What I found online is somehow obsolete, i.e. it refers to slurpd and slapd.conf, with no reference to slapd.d I installed rev. 2.4.33 from sources.
Thanks in advance, Francesco
2013/3/8 francesco.policastro@selex-es.com:
Hi,
Can anyone address me to a script to start and stop openldap? I mean a script to use with chkconfig. What I found online is somehow obsolete, i.e. it refers to slurpd and slapd.conf, with no reference to slapd.d I installed rev. 2.4.33 from sources.
See https://ltb-project.org/wiki/documentation/openldap-initscript
Download: https://ltb-project.org/wiki/download#init_script
Clément.
Clément,
thanks for your quick reply. I had already seen that, but it seems obsolete and I think that reworking on it and checking it works fine is a long job: the script is more than 1200 lines, while all other scripts on my linux servers are at most 500 lines long. I realize that it accepts 15 different commands, but I need much less, just the basic (i.e. start, stop, restart, status)
Bye, Francesco
On 03/08/2013 02:11 PM, francesco.policastro@selex-es.com wrote:
Clément,
thanks for your quick reply. I had already seen that, but it seems obsolete and I think that reworking on it and checking it works fine is a long job: the script is more than 1200 lines, while all other scripts on my linux servers are at most 500 lines long. I realize that it accepts 15 different commands, but I need much less, just the basic (i.e. start, stop, restart, status)
Have you looked at the init script that ships with the OpenLDAP RPM in CentOS6?
Regards, Patrick
Patrick,
I followed your suggestion and I can say that the script from openldap-servers RPM is good for me too. Thanks,
Francesco
openldap-technical@openldap.org