/[smeserver]/rpms/e-smith-samba/sme9/e-smith-samba-2.4.0.bz9038.W10_registry.patch
ViewVC logotype

Contents of /rpms/e-smith-samba/sme9/e-smith-samba-2.4.0.bz9038.W10_registry.patch

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


Revision 1.2 - (show annotations) (download)
Wed Sep 9 19:53:24 2015 UTC (9 years, 2 months ago) by stephdl
Branch: MAIN
CVS Tags: e-smith-samba-2_4_0-18_el6_sme
Changes since 1.1: +35 -4 lines
* Wed Sep 9 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-18.sme
- Added e-smith-samba-2.4.0.bz9048.RoamingProfileForW8.patch
- Modified the registry file for roaming profile with W8 [SME: 9048]
- Roaming profiles follow Windows version (.V2,.V3,.V4,.V5) [SME: 9038]

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-08 22:48:34.644137287 +0200
32 @@ -0,0 +1,11 @@
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

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