1 |
unnilennium |
1.1 |
diff -Nur e-smith-samba-2.4.0.bz9038.old/root/etc/e-smith/events/actions/user-create-profiledir e-smith-samba-2.4.0.bz9038.new/root/etc/e-smith/events/actions/user-create-profiledir |
2 |
|
|
--- e-smith-samba-2.4.0.bz9038.old/root/etc/e-smith/events/actions/user-create-profiledir 2015-09-08 22:41:08.693196952 +0200 |
3 |
|
|
+++ e-smith-samba-2.4.0.bz9038.new/root/etc/e-smith/events/actions/user-create-profiledir 2015-09-08 22:50:17.089471258 +0200 |
4 |
|
|
@@ -37,7 +37,9 @@ |
5 |
|
|
die "$user is not a user account\n" |
6 |
|
|
unless ( grep /^$user$/, @users ); |
7 |
|
|
|
8 |
|
|
- my @dirs = ("/home/e-smith/files/samba/profiles/$user","/home/e-smith/files/samba/profiles/${user}.V2"); |
9 |
|
|
+ my @dirs = ("/home/e-smith/files/samba/profiles/$user","/home/e-smith/files/samba/profiles/${user}.V2", |
10 |
|
|
+ "/home/e-smith/files/samba/profiles/${user}.V3","/home/e-smith/files/samba/profiles/${user}.V4", |
11 |
|
|
+ "/home/e-smith/files/samba/profiles/${user}.V5"); |
12 |
|
|
|
13 |
|
|
foreach my $dir (@dirs) |
14 |
|
|
{ |
15 |
|
|
diff -Nur e-smith-samba-2.4.0.bz9038.old/root/etc/e-smith/events/actions/user-delete-profiledir e-smith-samba-2.4.0.bz9038.new/root/etc/e-smith/events/actions/user-delete-profiledir |
16 |
|
|
--- e-smith-samba-2.4.0.bz9038.old/root/etc/e-smith/events/actions/user-delete-profiledir 2015-09-08 22:41:08.693196952 +0200 |
17 |
|
|
+++ e-smith-samba-2.4.0.bz9038.new/root/etc/e-smith/events/actions/user-delete-profiledir 2015-09-08 22:51:12.512443477 +0200 |
18 |
|
|
@@ -36,7 +36,9 @@ |
19 |
|
|
exit (0); |
20 |
|
|
} |
21 |
|
|
|
22 |
|
|
-my @dirs = ("/home/e-smith/files/samba/profiles/$account", "/home/e-smith/files/samba/profiles/$account.V2"); |
23 |
|
|
+my @dirs = ("/home/e-smith/files/samba/profiles/$account","/home/e-smith/files/samba/profiles/$account.V2", |
24 |
|
|
+ "/home/e-smith/files/samba/profiles/$account.V3","/home/e-smith/files/samba/profiles/$account.V4", |
25 |
|
|
+ "/home/e-smith/files/samba/profiles/$account.V5"); |
26 |
|
|
|
27 |
|
|
foreach (@dirs) { |
28 |
|
|
|
29 |
|
|
diff -Nur e-smith-samba-2.4.0.bz9038.old/root/home/e-smith/files/server-resources/regedit/win10samba.reg e-smith-samba-2.4.0.bz9038.new/root/home/e-smith/files/server-resources/regedit/win10samba.reg |
30 |
|
|
--- e-smith-samba-2.4.0.bz9038.old/root/home/e-smith/files/server-resources/regedit/win10samba.reg 1970-01-01 01:00:00.000000000 +0100 |
31 |
|
|
+++ e-smith-samba-2.4.0.bz9038.new/root/home/e-smith/files/server-resources/regedit/win10samba.reg 2015-09-16 20:37:56.226165642 +0200 |
32 |
|
|
@@ -0,0 +1,17 @@ |
33 |
|
|
+Windows Registry Editor Version 5.00 |
34 |
|
|
+ |
35 |
|
|
+[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters] |
36 |
|
|
+"DNSNameResolutionRequired"=dword:00000000 |
37 |
|
|
+"DomainCompatibilityMode"=dword:00000001 |
38 |
|
|
+ |
39 |
|
|
+[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkProvider\HardenedPaths] |
40 |
|
|
+"\\\\*\\netlogon"="RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0" |
41 |
|
|
+ |
42 |
|
|
+[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ProfSvc\Parameters] |
43 |
|
|
+"UseProfilePathExtensionVersion"=dword:00000001 |
44 |
|
|
+ |
45 |
|
|
+[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System] |
46 |
|
|
+"SlowLinkDetectEnabled"=dword:00000000 |
47 |
|
|
+"DeleteRoamingCache"=dword:00000001 |
48 |
|
|
+"WaitForNetwork"=dword:00000000 |
49 |
|
|
+"CompatibleRUPSecurity"=dword:00000001 |