4 Commits

Author SHA1 Message Date
7c80cd86e3 * Sun Jan 26 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-12.sme
- some scripts requires setuidgid from daemontools to run [SME: 12566]
2025-01-26 16:33:25 -05:00
e4b1d014bc * Sat Jan 18 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-11.sme
- use esmith::ssl to set ciphers and protocol [SME: 12824]
2025-01-18 15:45:29 -05:00
fa9114f3c5 Add *.bak to .gitignore 2024-11-12 19:20:02 +00:00
8cf9ced80d Deleting spurious *.spec.bak files 2024-11-12 19:19:59 +00:00
5 changed files with 15 additions and 1122 deletions

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@
*.log
*spec-20*
*.tar.xz
*.bak

View File

@@ -1 +0,0 @@
sme10

View File

@@ -1,15 +1,8 @@
TLSCipherSuite { $ldap{CipherSuite} || $modSSL{CipherSuite} || 'ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256:HIGH@STRENGTH:!SSLv2:!ADH:!aNULL:!MD5:!RC4' }
TLSProtocolMin { my $TLSProtocolMin = $ldap{TLSProtocolMin} || 'TLSv1.2';
if ( $TLSProtocolMin eq 'SSLv3' ){
$OUT = " 3.0";
} elsif ( $TLSProtocolMin eq 'TLSv1.0' || $TLSProtocolMin eq 'TLSv1' ){
$OUT = " 3.1";
} elsif ( $TLSProtocolMin eq 'TLSv1.1' ){
$OUT = " 3.2";
} elsif ( $TLSProtocolMin eq 'TLSv1.2' ){
$OUT = " 3.3";
}
{
use esmith::ssl;
$OUT = "TLSCipherSuite ". ( $ldap{CipherSuite} || $modSSL{CipherSuite} || $smeCiphers ) ."\n";
my $TLSProtocolMin = ( (exists $ldap{'TLSProtocolMin'} ) && (exists $existingSSLprotos{$ldap{'TLSProtocolMin'}} ) ) ? SSLprotoLDAP($ldap{'TLSProtocolMin'}) : SSLprotoLDAP();
$OUT .= "TLSProtocolMin ". $TLSProtocolMin ."\n";
}
TLSCACertificateFile /etc/openldap/ssl/slapd.pem
TLSCertificateFile /etc/openldap//ssl/slapd.pem

View File

@@ -4,7 +4,7 @@ Summary: smeserver server and gateway - LDAP module
%define name smeserver-ldap
Name: %{name}
%define version 11.0.0
%define release 10
%define release 12
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@@ -21,6 +21,8 @@ Requires: openldap-servers
Requires: perl(Net::LDAP)
Requires: libdb4-utils
Requires: smeserver-formmagick >= 1.4.0-9
# daemontools bins in use
Requires: /usr/bin/setuidgid
BuildRequires: smeserver-devtools >= 1.13.1-03
AutoReqProv: no
@@ -29,6 +31,12 @@ Provides: e-smith-ldap
smeserver server and gateway software - LDAP module.
%changelog
* Sun Jan 26 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-12.sme
- some scripts requires setuidgid from daemontools to run [SME: 12566]
* Sat Jan 18 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-11.sme
- use esmith::ssl to set ciphers and protocol [SME: 12824]
* Tue Nov 12 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-10.sme
- send ldap logs to dedicated rsyslog file [SME: 12771]

File diff suppressed because it is too large Load Diff