/[smeserver]/rpms/e-smith-samba/sme7/e-smith-samba-2.0.0-fixwarnings.patch
ViewVC logotype

Annotation of /rpms/e-smith-samba/sme7/e-smith-samba-2.0.0-fixwarnings.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 2 13:58:27 2009 UTC (15 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-2_0_0-5_el4_sme, e-smith-samba-2_0_0-6_el4_sme, e-smith-samba-2_0_0-7_el4_sme, e-smith-samba-2_0_0-8_el4_sme, e-smith-samba-2_0_0-9_el4_sme, e-smith-samba-2_0_0-10_el4_sme, e-smith-samba-2_0_0-11_el4_sme, e-smith-samba-2_0_0-12_el4_sme, HEAD
Fix warnings in template expansion

1 slords 1.1 --- e-smith-samba-2.0.0/root/etc/e-smith/templates/etc/smb.conf/11remoteAnnounce.fixwarnings 2009-06-02 07:46:56.000000000 -0600
2     +++ e-smith-samba-2.0.0/root/etc/e-smith/templates/etc/smb.conf/11remoteAnnounce 2009-06-02 07:48:58.000000000 -0600
3     @@ -1,7 +1,7 @@
4     {
5     # Cause this host to announce itself to local subnets here
6     # ; remote announce = 192.168.1.255 192.168.2.44
7     - return "" if $SMB_WINSServer eq $LocalIP;
8     + return "" unless defined $SMB_WINSServer and $SMB_WINSServer ne $LocalIP;
9    
10     return "remote announce = $SMB_WINSServer";
11     }
12     --- e-smith-samba-2.0.0/root/etc/e-smith/templates/etc/smb.conf/11remoteBrowseSync.fixwarnings 2009-06-02 07:46:56.000000000 -0600
13     +++ e-smith-samba-2.0.0/root/etc/e-smith/templates/etc/smb.conf/11remoteBrowseSync 2009-06-02 07:49:13.000000000 -0600
14     @@ -3,7 +3,7 @@
15     # request announcement to, or browse list sync from:
16     # a specific host or from / to a whole subnet (see below)
17     # ; remote browse sync = 192.168.3.25 192.168.5.255
18     - return "" if $SMB_WINSServer eq $LocalIP;
19     + return "" unless defined $SMB_WINSServer and $SMB_WINSServer ne $LocalIP;
20    
21     return "remote browse sync = $SMB_WINSServer";
22     }
23     --- e-smith-samba-2.0.0/root/etc/e-smith/templates/etc/smb.conf/11winsServer.fixwarnings 2009-06-02 07:46:56.000000000 -0600
24     +++ e-smith-samba-2.0.0/root/etc/e-smith/templates/etc/smb.conf/11winsServer 2009-06-02 07:51:05.000000000 -0600
25     @@ -6,8 +6,8 @@
26     # WINS Support - Tells the NMBD component of Samba to enable its WINS Server
27     # WINS Server - Tells the NMBD components of Samba to be a WINS Client
28     #------------------------------------------------------------------
29     - return "wins support = yes" if $SMB_WINSServer eq $LocalIP;
30     + return "wins support = yes" if defined $SMB_WINSServer and $SMB_WINSServer eq $LocalIP;
31    
32     $OUT .= "wins support = no\n";
33     - $OUT .= "wins server = $SMB_WINSServer";
34     + $OUT .= "wins server = $SMB_WINSServer" if defined $SMB_WINSServer;
35     }

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