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 |