/[smeserver]/rpms/e-smith-samba/sme8/e-smith-samba-2.2.0-migratefix.patch
ViewVC logotype

Annotation of /rpms/e-smith-samba/sme8/e-smith-samba-2.2.0-migratefix.patch

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


Revision 1.1 - (hide annotations) (download)
Mon Nov 24 02:32:18 2008 UTC (15 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-2_2_0-12_el5_sme, e-smith-samba-2_2_0-4_el5_sme, e-smith-samba-2_2_0-47_el5_sme, e-smith-samba-2_2_0-19_el5_sme, e-smith-samba-2_2_0-52_el5_sme, e-smith-samba-2_2_0-13_el5_sme, e-smith-samba-2_2_0-15_el5_sme, e-smith-samba-2_2_0-49_el5_sme, e-smith-samba-2_2_0-23_el5_sme, e-smith-samba-2_2_0-24_el5_sme, e-smith-samba-2_2_0-14_el5_sme, e-smith-samba-2_2_0-40_el5_sme, e-smith-samba-2_2_0-5_el5_sme, e-smith-samba-2_2_0-43_el5_sme, e-smith-samba-2_2_0-44_el5_sme, e-smith-samba-2_2_0-63_el5_sme, e-smith-samba--, e-smith-samba-2_2_0-61_el5_sme, e-smith-samba-2_2_0-31_el5_sme, e-smith-samba-2_2_0-32_el5_sme, e-smith-samba-2_2_0-11_el5_sme, e-smith-samba-2_2_0-57_el5_sme, e-smith-samba-2_2_0-54_el5_sme, e-smith-samba-2_2_0-41_el5_sme, e-smith-samba-2_2_0-17_el5_sme, e-smith-samba-2_2_0-55_el5_sme, e-smith-samba-2_2_0-39_el5_sme, e-smith-samba-2_2_0-46_el5_sme, e-smith-samba-2_2_0-53_el5_sme, e-smith-samba-2_2_0-50_el5_sme, e-smith-samba-2_2_0-7_el5_sme, e-smith-samba-2_2_0-16_el5_sme, e-smith-samba-2_2_0-18_el5_sme, e-smith-samba-2_2_0-22_el5_sme, e-smith-samba-2_2_0-58_el5_sme, e-smith-samba-2_2_0-30_el5_sme, e-smith-samba-2_2_0-33_el5_sme, e-smith-samba-2_2_0-56_el5_sme, e-smith-samba-2_2_0-51_el5_sme, e-smith-samba-2_2_0-42_el5_sme, e-smith-samba-2_2_0-65_el5_sme, e-smith-samba-2_2_0-64_el5_sme, e-smith-samba-2_2_0-8_el5_sme, e-smith-samba-2_2_0-60_el5_sme, e-smith-samba-2_2_0-62_el5_sme, e-smith-samba-2_2_0-34_el5_sme, e-smith-samba-2_2_0-6_el5_sme, e-smith-samba-2_2_0-10_el5_sme, e-smith-samba-2_2_0-35_el5_sme, e-smith-samba-2_2_0-45_el5_sme, e-smith-samba-2_2_0-48_el5_sme, e-smith-samba-2_2_0-21_el5_sme, e-smith-samba-2_2_0-37_el5_sme, e-smith-samba-2_2_0-38_el5_sme, e-smith-samba-2_2_0-36_el5_sme, e-smith-samba-2_2_0-20_el5_sme, e-smith-samba-2_2_0-29_el5_sme, e-smith-samba-2_2_0-66_el5_sme, e-smith-samba-2_2_0-59_el5_sme, e-smith-samba-2_2_0-26_el5_sme, e-smith-samba-2_2_0-25_el5_sme, e-smith-samba-2_2_0-9_el5_sme, HEAD
Updates

1 slords 1.1 --- e-smith-samba-2.2.0/root/etc/e-smith/db/configuration/migrate/20smb.migratefix 2008-11-23 19:24:10.000000000 -0700
2     +++ e-smith-samba-2.2.0/root/etc/e-smith/db/configuration/migrate/20smb 2008-11-23 19:28:10.000000000 -0700
3     @@ -14,9 +14,9 @@
4     }
5     }
6    
7     - foreach my $prop (qw(DomainMaster SambaDomainMaster))
8     + foreach my $prop (qw(DomainMaster))
9     {
10     - my $old = $DB->get($prop);
11     + my $old = $DB->get("Samba$prop");
12     if (defined $old)
13     {
14     $new_props{ServerRole} = 'PDC' unless $old eq 'no';
15     @@ -24,6 +24,16 @@
16     }
17     }
18    
19     + foreach my $prop (qw(DomainMaster))
20     + {
21     + my $old = $smb->prop($prop);
22     + if (defined $old)
23     + {
24     + $new_props{ServerRole} = 'PDC' unless $old eq 'no';
25     + $smb->delete_prop($prop);
26     + }
27     + }
28     +
29     ###Migrage CharacterSet->DisplayCharSet
30     my $CharacterSet = $smb->prop('CharacterSet');
31     if ($CharacterSet)
32     --- e-smith-samba-2.2.0/root/etc/e-smith/db/configuration/migrate/30smbServerName.migratefix 2007-12-15 08:53:09.000000000 -0700
33     +++ e-smith-samba-2.2.0/root/etc/e-smith/db/configuration/migrate/30smbServerName 2008-11-23 19:27:43.000000000 -0700
34     @@ -3,6 +3,6 @@
35     my $srvName = $smb->prop('ServerName') || 'e-smith-server';
36     my $sysName = $DB->get('SystemName') || return;
37    
38     - return unless $srvName =~ m#(mitel-networks|e-smith)-server#;
39     + return unless $srvName =~ m#mitel-networks|mitel-networks-server|mitel-server|e-smith-server#;
40     $smb->set_prop('ServerName', $sysName->value);
41     }

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