/[smeserver]/rpms/e-smith-ldap/sme9/e-smith-ldap-5.4.0-pdbedit_lang_and_tz_independent.patch
ViewVC logotype

Contents of /rpms/e-smith-ldap/sme9/e-smith-ldap-5.4.0-pdbedit_lang_and_tz_independent.patch

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


Revision 1.1 - (show annotations) (download)
Wed Feb 11 15:44:31 2015 UTC (9 years, 3 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-ldap-5_4_0-21_el6_sme, e-smith-ldap-5_4_0-20_el6_sme, e-smith-ldap-5_4_0-18_el6_sme, e-smith-ldap-5_4_0-19_el6_sme, e-smith-ldap-5_6_0-1_el7_sme, HEAD
* Wed Feb 11 2015 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-18.sme
- Make pdbedit output independent from locale and timezone so it can be
  parsed [SME: 8841]

1 diff -Nur e-smith-ldap-5.4.0/root/etc/e-smith/events/actions/ldap-update-simple e-smith-ldap-5.4.0_bz8841/root/etc/e-smith/events/actions/ldap-update-simple
2 --- e-smith-ldap-5.4.0/root/etc/e-smith/events/actions/ldap-update-simple 2013-02-13 16:21:50.000000000 +0100
3 +++ e-smith-ldap-5.4.0_bz8841/root/etc/e-smith/events/actions/ldap-update-simple 2015-02-11 16:40:24.425000000 +0100
4 @@ -10,6 +10,9 @@
5 use Net::LDAP;
6 use Date::Parse;
7
8 +$ENV{'LANG'} = 'C';
9 +$ENV{'TZ'} = '';
10 +
11 my $c = esmith::ConfigDB->open_ro;
12 my $a = esmith::AccountsDB->open_ro;
13
14 diff -Nur e-smith-ldap-5.4.0/root/var/service/ldap/ldif-fix e-smith-ldap-5.4.0_bz8841/root/var/service/ldap/ldif-fix
15 --- e-smith-ldap-5.4.0/root/var/service/ldap/ldif-fix 2013-02-13 16:21:50.000000000 +0100
16 +++ e-smith-ldap-5.4.0_bz8841/root/var/service/ldap/ldif-fix 2015-02-11 16:39:05.517000000 +0100
17 @@ -12,6 +12,7 @@
18
19 $ENV{'PATH'} = '/bin:/usr/bin:/sbin:/usr/sbin';
20 $ENV{'LANG'} = 'C';
21 +$ENV{'TZ'} = '';
22
23 sub dnsort {
24 my %type = ( add => 1, modrdn => 2, moddn => 2, modify => 3, delete => 4);

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