--- rpms/e-smith-ldap/sme10/e-smith-ldap-5.6.0-bz11140-bz11099-bz11096-systemd-update.patch 2020/12/12 03:26:36 1.1 +++ rpms/e-smith-ldap/sme10/e-smith-ldap-5.6.0-bz11140-bz11099-bz11096-systemd-update.patch 2020/12/12 03:58:52 1.4 @@ -16,7 +16,7 @@ diff -Nur e-smith-ldap-5.6.0.old/createl + ldap-update + e-smith-ldap-update + )); -+} ++ + event_link("ldap-update-simple", "group-create", "95"); event_link("ldap-update-simple", "group-modify", "95"); @@ -685,7 +685,7 @@ diff -Nur e-smith-ldap-5.6.0.old/root/us +Documentation=file:///usr/share/doc/openldap-servers/guide.html + +[Service] -+Type=forking ++Type=simple +PIDFile=/var/run/openldap/slapd.pid +Environment="SLAPD_URLS=ldap:/// ldaps:/// ldapi:///" "SLAPD_OPTIONS=-4 -d 256 -s 0" +EnvironmentFile=/etc/sysconfig/slapd @@ -709,3 +709,19 @@ diff -Nur e-smith-ldap-5.6.0.old/root/us +ExecStart=/usr/bin/true +ExecStartPre= +PIDFile= +diff -Nur e-smith-ldap-5.6.0.old/root/etc/e-smith/events/actions/ldap-update e-smith-ldap-5.6.0/root/etc/e-smith/events/actions/ldap-update +--- e-smith-ldap-5.6.0.old/root/etc/e-smith/events/actions/ldap-update 2013-02-13 10:21:50.000000000 -0500 ++++ e-smith-ldap-5.6.0/root/etc/e-smith/events/actions/ldap-update 2020-12-11 22:34:37.897000000 -0500 +@@ -22,4 +22,4 @@ + # call us on 1 888 ESMITH 1 (US/Canada toll free) or +1 613 564 8000 + #---------------------------------------------------------------------- + +-/var/service/ldap/ldif-fix --update ++/sbin/e-smith/ldif-fix --update +diff -Nur e-smith-ldap-5.6.0.old/root/etc/e-smith/templates/etc/openldap/slapd.conf/12pid e-smith-ldap-5.6.0/root/etc/e-smith/templates/etc/openldap/slapd.conf/12pid +--- e-smith-ldap-5.6.0.old/root/etc/e-smith/templates/etc/openldap/slapd.conf/12pid 1969-12-31 19:00:00.000000000 -0500 ++++ e-smith-ldap-5.6.0/root/etc/e-smith/templates/etc/openldap/slapd.conf/12pid 2020-12-11 22:57:18.751000000 -0500 +@@ -0,0 +1,3 @@ ++ ++pidfile /var/run/openldap/slapd.pid ++