9 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
be7af0589c Merge branch 'master' of ssh://git.koozali.org:2222/smeserver/smeserver-ldap 2024-11-12 11:52:50 -05:00
e3b4cce5cc * Tue Nov 12 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-10.sme
- send ldap logs to dedicated rsyslog file [SME: 12771]
2024-11-12 11:50:44 -05:00
92e0eb862f Update README with specific Bugzilla links with status options 2024-10-27 14:28:48 +00:00
77923c2461 Update readme bugzilla link to show all outstanding bugs 2024-10-27 12:12:07 +00:00
aa58f53e33 * Sun Sep 22 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-9.sme
- el8 workaround to avoid noise with /var/run /run path [SME: 12619]
  /etc/tmpfiles.d/slapd.conf to remove when fixed upstream
2024-09-22 17:43:42 -04:00
7 changed files with 35 additions and 15 deletions

1
.gitignore vendored
View File

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

View File

@@ -6,7 +6,14 @@ SMEServer Koozali developed git repo for smeserver-ldap smeserver
<br />https://wiki.koozali.org/
## Bugzilla
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-ldap&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)\
Show list of outstanding bugs:
[All](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=NEEDINFO&bug_status=IN_PROGRESS&bug_status=RESOLVED&bug_status=VERIFIED&cf_package=smeserver-ldap&classification=SME+Server&list_id=105756&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
[Confirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=CONFIRMED&cf_package=smeserver-ldap&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
[Unconfirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&cf_package=smeserver-ldap&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
[Need info](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=NEEDINFO&cf_package=smeserver-ldap&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
[In progress](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=IN_PROGRESS&cf_package=smeserver-ldap&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
[Resolved](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=RESOLVED&cf_package=smeserver-ldap&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
[Verified](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=VERIFIED&cf_package=smeserver-ldap&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
And a list of outstanding Legacy bugs: (e-smith-ldap) [here](https://bugs.koozali.org/buglist.cgi?component=e-smith-ldap&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
## Description

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

@@ -1,4 +1,6 @@
#ldap
:programname, isequal, "slapd" /var/log/ldap/ldap.log
& stop
:programname, isequal, "ldap" /var/log/ldap/ldap.log
& stop

View File

@@ -0,0 +1,3 @@
# openldap runtime directory for slapd.arg and slapd.pid
d /run/openldap 0755 ldap ldap -

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 8
%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,19 @@ 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]
* Sun Sep 22 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-9.sme
- el8 workaround to avoid noise with /var/run /run path [SME: 12619]
/etc/tmpfiles.d/slapd.conf to remove when fixed upstream
* Tue Aug 13 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-8.sme
- ldif-fix filter string accepting only ascii [SME: 12720]
- fix logrotate does not fill new log [SME: 12673]