/[smeserver]/rpms/e-smith-ldap/sme8/e-smith-ldap-5.2.0-pdbedit_lang_and_tz_independent.patch
ViewVC logotype

Contents of /rpms/e-smith-ldap/sme8/e-smith-ldap-5.2.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:52:01 2015 UTC (9 years, 3 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-ldap-5_2_0-81_el5_sme, HEAD
* Wed Feb 11 2015 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-81.sme
- Make pdbedit output independent from locale and timezone so it can be
  parsed [SME: 7473]

1 diff -Nur e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update-simple e-smith-ldap-5.2.0_bz7473/root/etc/e-smith/events/actions/ldap-update-simple
2 --- e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update-simple 2015-02-11 16:29:30.389000000 +0100
3 +++ e-smith-ldap-5.2.0_bz7473/root/etc/e-smith/events/actions/ldap-update-simple 2015-02-11 16:47:46.745000000 +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.2.0/root/var/service/ldap/ldif-fix e-smith-ldap-5.2.0_bz7473/root/var/service/ldap/ldif-fix
15 --- e-smith-ldap-5.2.0/root/var/service/ldap/ldif-fix 2015-02-11 16:29:30.414000000 +0100
16 +++ e-smith-ldap-5.2.0_bz7473/root/var/service/ldap/ldif-fix 2015-02-11 16:45:38.296000000 +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