/[smeserver]/rpms/e-smith-samba/sme9/e-smith-samba-2.4.0-smbServerName.patch
ViewVC logotype

Contents of /rpms/e-smith-samba/sme9/e-smith-samba-2.4.0-smbServerName.patch

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


Revision 1.1 - (show annotations) (download)
Sat May 25 04:07:40 2013 UTC (11 years, 6 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-samba-2_4_0-7_el6_sme, e-smith-samba-2_4_0-9_el6_sme, e-smith-samba-2_4_0-21_el6_sme, e-smith-samba-2_4_0-12_el6_sme, e-smith-samba-2_4_0-26_el6_sme, e-smith-samba-2_4_0-25_el6_sme, e-smith-samba-2_4_0-24_el6_sme, e-smith-samba-2_4_0-15_el6_sme, e-smith-samba-2_4_0-8_el6_sme, e-smith-samba-2_4_0-17_el6_sme, e-smith-samba-2_4_0-18_el6_sme, e-smith-samba-2_4_0-16_el6_sme, e-smith-samba-2_4_0-14_el6_sme, e-smith-samba-2_4_0-27_el6_sme, e-smith-samba-2_4_0-19_el6_sme, e-smith-samba-2_4_0-13_el6_sme, e-smith-samba-2_4_0-10_el6_sme, e-smith-samba-2_4_0-11_el6_sme, e-smith-samba-2_4_0-20_el6_sme, e-smith-samba-2_4_0-22_el6_sme, e-smith-samba-2_4_0-23_el6_sme, HEAD
* Tue May 21 2013 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme
- Update default ServerName in 30smbServerName [SME: 7609]

1 diff -ruN e-smith-samba-2.4.0.old/root/etc/e-smith/db/configuration/migrate/30smbServerName e-smith-samba-2.4.0/root/etc/e-smith/db/configuration/migrate/30smbServerName
2 --- e-smith-samba-2.4.0.old/root/etc/e-smith/db/configuration/migrate/30smbServerName 2013-01-31 13:31:40.000000000 -0800
3 +++ e-smith-samba-2.4.0/root/etc/e-smith/db/configuration/migrate/30smbServerName 2013-05-21 21:47:17.000000000 -0700
4 @@ -1,8 +1,9 @@
5 {
6 +# Set ServerName to SystemName after inital configuration.
7 my $smb = $DB->get('smb') || return;
8 - my $srvName = $smb->prop('ServerName') || 'e-smith-server';
9 + my $srvName = $smb->prop('ServerName') || 'sme-server';
10 my $sysName = $DB->get('SystemName') || return;
11
12 - return unless $srvName =~ m#mitel-networks|mitel-networks-server|mitel-server|e-smith-server#;
13 + return unless $srvName =~ m#sme-server#;
14 $smb->set_prop('ServerName', $sysName->value);
15 }

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