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

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

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


Revision 1.1 - (hide annotations) (download)
Mon Mar 18 04:09:16 2013 UTC (11 years, 2 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-samba-2_2_0-52_el5_sme, e-smith-samba-2_2_0-54_el5_sme, e-smith-samba-2_2_0-55_el5_sme, e-smith-samba-2_2_0-53_el5_sme
* Tue Feb 12 2013 Ian Wells <esmith@wellsi.com> 2.2.0-52.sme
- Add ability to configure waiting for network Win7 registry option [SME: 7332]

1 wellsi 1.1 diff -ruN e-smith-samba-2.2.0.old/createlinks e-smith-samba-2.2.0/createlinks
2     --- e-smith-samba-2.2.0.old/createlinks 2013-03-01 07:50:50.000000000 -0800
3     +++ e-smith-samba-2.2.0/createlinks 2013-03-17 20:43:34.000000000 -0700
4     @@ -23,7 +23,7 @@
5     }
6    
7     foreach my $file (qw(
8     - /etc/pam.d/samba
9     + /etc/pam.d/samba /home/e-smith/files/server-resources/regedit/win7samba.reg
10     ))
11     {
12     templates2events($file, qw(console-save bootstrap-console-save));
13     diff -ruN e-smith-samba-2.2.0.old/root/etc/e-smith/templates/home/e-smith/files/server-resources/regedit/win7samba.reg/LanManWorkstation e-smith-samba-2.2.0/root/etc/e-smith/templates/home/e-smith/files/server-resources/regedit/win7samba.reg/LanManWorkstation
14     --- e-smith-samba-2.2.0.old/root/etc/e-smith/templates/home/e-smith/files/server-resources/regedit/win7samba.reg/LanManWorkstation 1969-12-31 16:00:00.000000000 -0800
15     +++ e-smith-samba-2.2.0/root/etc/e-smith/templates/home/e-smith/files/server-resources/regedit/win7samba.reg/LanManWorkstation 2013-03-01 18:29:41.000000000 -0800
16     @@ -0,0 +1,3 @@
17     +[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters]
18     +"DNSNameResolutionRequired"=dword:00000000
19     +"DomainCompatibilityMode"=dword:00000001
20     diff -ruN e-smith-samba-2.2.0.old/root/etc/e-smith/templates/home/e-smith/files/server-resources/regedit/win7samba.reg/template-begin e-smith-samba-2.2.0/root/etc/e-smith/templates/home/e-smith/files/server-resources/regedit/win7samba.reg/template-begin
21     --- e-smith-samba-2.2.0.old/root/etc/e-smith/templates/home/e-smith/files/server-resources/regedit/win7samba.reg/template-begin 1969-12-31 16:00:00.000000000 -0800
22     +++ e-smith-samba-2.2.0/root/etc/e-smith/templates/home/e-smith/files/server-resources/regedit/win7samba.reg/template-begin 2013-03-01 18:29:31.000000000 -0800
23     @@ -0,0 +1,2 @@
24     +Windows Registry Editor Version 5.00
25     +
26     diff -ruN e-smith-samba-2.2.0.old/root/etc/e-smith/templates/home/e-smith/files/server-resources/regedit/win7samba.reg/WaitForNetwork e-smith-samba-2.2.0/root/etc/e-smith/templates/home/e-smith/files/server-resources/regedit/win7samba.reg/WaitForNetwork
27     --- e-smith-samba-2.2.0.old/root/etc/e-smith/templates/home/e-smith/files/server-resources/regedit/win7samba.reg/WaitForNetwork 1969-12-31 16:00:00.000000000 -0800
28     +++ e-smith-samba-2.2.0/root/etc/e-smith/templates/home/e-smith/files/server-resources/regedit/win7samba.reg/WaitForNetwork 2013-03-17 20:39:41.000000000 -0700
29     @@ -0,0 +1,13 @@
30     +{
31     +# $smb{'WaitForNetwork'} is not set by default, 'enabled' is also used to avoid 'WaitForNetwork'
32     +# 'disabled' sets "WaitForNetwork"=dword:00000000
33     +# Other values are possible, instance 60, sets "WaitForNetwork"=dword:00000060
34     +
35     + if (defined $smb{'WaitForNetwork'} && $smb{'WaitForNetwork'} && ($smb{'WaitForNetwork'} ne "enabled"))
36     + {
37     + $OUT = "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows\\System]\n";
38     + $OUT .= "\"WaitForNetwork\"=dword:";
39     + if ($smb{'WaitForNetwork'} eq "disabled") {$smb{'WaitForNetwork'} = "00000000";}
40     + $OUT .= $smb{'WaitForNetwork'};
41     + }
42     +}
43     diff -ruN e-smith-samba-2.2.0.old/root/home/e-smith/files/server-resources/regedit/win7samba.reg e-smith-samba-2.2.0/root/home/e-smith/files/server-resources/regedit/win7samba.reg
44     --- e-smith-samba-2.2.0.old/root/home/e-smith/files/server-resources/regedit/win7samba.reg 2013-03-01 07:50:50.000000000 -0800
45     +++ e-smith-samba-2.2.0/root/home/e-smith/files/server-resources/regedit/win7samba.reg 1969-12-31 16:00:00.000000000 -0800
46     @@ -1,5 +0,0 @@
47     -Windows Registry Editor Version 5.00
48     -
49     -[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters]
50     -"DNSNameResolutionRequired"=dword:00000000
51     -"DomainCompatibilityMode"=dword:00000001

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