/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz11569.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz11569.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Apr 22 02:10:18 2021 UTC (3 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-base-5_8_0-99_el7_sme, e-smith-base-5_8_0-98_el7_sme, e-smith-base-5_8_0-97_el7_sme, e-smith-base-5_8_0-96_el7_sme, e-smith-base-5_8_0-95_el7_sme
* Wed Apr 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.8.0-95.sme
- fix openssl.conf not generated when openldap field are empty [SME: 11569]

1 jpp 1.1 diff -Nur --no-dereference e-smith-base-5.8.0.old/root/etc/e-smith/templates/etc/openssl.conf/05config e-smith-base-5.8.0/root/etc/e-smith/templates/etc/openssl.conf/05config
2     --- e-smith-base-5.8.0.old/root/etc/e-smith/templates/etc/openssl.conf/05config 2021-04-21 21:53:02.302000000 -0400
3     +++ e-smith-base-5.8.0/root/etc/e-smith/templates/etc/openssl.conf/05config 2021-04-21 22:07:28.948000000 -0400
4     @@ -8,9 +8,9 @@
5     our $commonName = $modSSL{CommonName} || $FQDN;
6     our $crt = "/home/e-smith/ssl.crt/$FQDN.crt";
7     our $key = "/home/e-smith/ssl.key/$FQDN.key";
8     - our $defaultCity = $ldap{defaultCity};
9     - our $defaultCompany = $ldap{defaultCompany};
10     - our $defaultDepartment = $ldap{defaultDepartment};
11     + our $defaultCity = $ldap{defaultCity} || '-';
12     + our $defaultCompany = $ldap{defaultCompany} || $commonName ;
13     + our $defaultDepartment = $ldap{defaultDepartment} || '-';
14     our $email = "admin\@$DomainName";
15     our @subjectAlt = `/sbin/e-smith/generate-subjectaltnames`;
16     chomp @subjectAlt;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed