--- rpms/e-smith-samba/sme8/e-smith-samba-2.2.0.bz9028.W10_registry.patch 2015/09/04 12:11:36 1.1 +++ rpms/e-smith-samba/sme8/e-smith-samba-2.2.0.bz9028.W10_registry.patch 2015/09/16 18:52:07 1.4 @@ -1,7 +1,35 @@ -diff -Nur e-smith-samba-2.4.0.bz9028.old/root/home/e-smith/files/server-resources/regedit/win10samba.reg e-smith-samba-2.4.0.bz9028.new/root/home/e-smith/files/server-resources/regedit/win10samba.reg ---- e-smith-samba-2.4.0.bz9028.old/root/home/e-smith/files/server-resources/regedit/win10samba.reg 1970-01-01 01:00:00.000000000 +0100 -+++ e-smith-samba-2.4.0.bz9028.new/root/home/e-smith/files/server-resources/regedit/win10samba.reg 2015-08-25 19:20:32.360310816 +0200 -@@ -0,0 +1,8 @@ +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 +--- 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 ++++ 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 +@@ -37,7 +37,9 @@ + die "$user is not a user account\n" + unless ( grep /^$user$/, @users ); + +- my @dirs = ("/home/e-smith/files/samba/profiles/$user","/home/e-smith/files/samba/profiles/${user}.V2"); ++ my @dirs = ("/home/e-smith/files/samba/profiles/$user","/home/e-smith/files/samba/profiles/${user}.V2", ++ "/home/e-smith/files/samba/profiles/${user}.V3","/home/e-smith/files/samba/profiles/${user}.V4", ++ "/home/e-smith/files/samba/profiles/${user}.V5"); + + foreach my $dir (@dirs) + { +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 +--- 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 ++++ 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 +@@ -36,7 +36,9 @@ + exit (0); + } + +-my @dirs = ("/home/e-smith/files/samba/profiles/$account", "/home/e-smith/files/samba/profiles/$account.V2"); ++my @dirs = ("/home/e-smith/files/samba/profiles/$account","/home/e-smith/files/samba/profiles/$account.V2", ++ "/home/e-smith/files/samba/profiles/$account.V3","/home/e-smith/files/samba/profiles/$account.V4", ++ "/home/e-smith/files/samba/profiles/$account.V5"); + + foreach (@dirs) { + +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 +--- 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 ++++ 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 +@@ -0,0 +1,17 @@ +Windows Registry Editor Version 5.00 + +[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters] @@ -10,3 +38,12 @@ diff -Nur e-smith-samba-2.4.0.bz9028.old + +[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkProvider\HardenedPaths] +"\\\\*\\netlogon"="RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0" ++ ++[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ProfSvc\Parameters] ++“UseProfilePathExtensionVersion”=dword:00000001 ++ ++[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System] ++"SlowLinkDetectEnabled"=dword:00000000 ++"DeleteRoamingCache"=dword:00000001 ++"WaitForNetwork"=dword:00000000 ++"CompatibleRUPSecurity"=dword:00000001