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

Contents of /rpms/e-smith-samba/sme8/e-smith-samba-2.2.0-smbServerName.patch

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


Revision 1.1 - (show annotations) (download)
Mon Jan 13 16:53:11 2014 UTC (10 years, 10 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-samba-2_2_0-62_el5_sme, e-smith-samba-2_2_0-61_el5_sme, e-smith-samba-2_2_0-63_el5_sme, e-smith-samba-2_2_0-66_el5_sme, e-smith-samba-2_2_0-65_el5_sme, e-smith-samba-2_2_0-60_el5_sme, e-smith-samba-2_2_0-64_el5_sme, HEAD
Error occurred while calculating annotation data.
* Mon Jan 13 2014 Ian Wells <esmith@wellsi.com> 2.2.0-60.sme
- Update default ServerName in 30smbServerName,
  and change default Workgroup and Domain to sme-server [SME: 7482]

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