diff -urN smeserver-phpldapadmin-1.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin smeserver-phpldapadmin-1.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin
--- smeserver-phpldapadmin-1.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin 2022-07-26 14:00:55.852461246 +0300
+++ smeserver-phpldapadmin-1.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin 2022-07-26 14:02:52.211834695 +0300
@@ -4,14 +4,7 @@
SSLRequireSSL on
Options -Indexes
AllowOverride None
-
- order deny,allow
- deny from all
- allow from { (($phpldapadmin{access} || 'private' ) eq "public" ) ? "all" : "$localAccess $externalSSLAccess";}
-
-
Require { (($phpldapadmin{access} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess $externalSSLAccess";}
-
{
# we use the ldap auth now
# AuthName "phpLdapAdmin"
diff -Nur --no-dereference smeserver-phpldapadmin-1.6.0.old/createlinks smeserver-phpldapadmin-1.6.0/createlinks
--- smeserver-phpldapadmin-1.6.0.old/createlinks 2022-07-31 23:08:33.554000000 -0400
+++ smeserver-phpldapadmin-1.6.0/createlinks 2022-07-31 23:14:45.392000000 -0400
@@ -16,4 +16,6 @@
templates2events("/etc/httpd/conf/httpd.conf", $event);
}
+my $event="smeserver-phpldapadmin-update";
+safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/phpldapadmin/config.php/template-begin");