Changes

Jump to navigation Jump to search
1,363 bytes added ,  12:45, 2 December 2020
m
Line 2: Line 2:     
== Background ==
 
== Background ==
 +
Windows 8.1 reached the end of Mainstream Support on [https://docs.microsoft.com/en-gb/lifecycle/faq/windows#windows-81 January 9, 2018]; unless you purchase extended support, the only Microsoft-supported Windows version now is Windows 10. We strongly recommend you do not use versions of Windows unsupported by Microsoft.
 +
 
Windows 8 was released in december 2012. Due to changes in the way that trust relationships are established with domain controllers, older versions of Samba (need at least 3.6.6) do not allow Windows 8 clients to log in once joined to a domain. see [[bugzilla:7172]]
 
Windows 8 was released in december 2012. Due to changes in the way that trust relationships are established with domain controllers, older versions of Samba (need at least 3.6.6) do not allow Windows 8 clients to log in once joined to a domain. see [[bugzilla:7172]]
    
== Join a SME Server 8.0 Domain with Win8 ==
 
== Join a SME Server 8.0 Domain with Win8 ==
Previously you needed to edit your Win8 registry to facilitate the joining of a SME Server Domain, however this can more easily be achieved by importing win8samba.reg fix by using either a usb key or by the network with http.
+
Previously you needed to edit your Win8 registry to facilitate the joining of a SME Server Domain, however this can more easily be achieved by importing win8samba.reg fix by using either a usb key or by the network with http.  
 +
 
 +
{{Note box|msg=The win8samba.reg is not yet in the smeupdates repository, you can see the [[bugzilla:7172]] if you can not find it in you server-resources.}}
 +
At least you need :
 +
[root@sme8dev ~]# rpm -qa e-smith-samba
 +
e-smith-samba-2.2.0-58.el5.sme
    
*Save the Win8 registry patch (win8samba.reg) from https://your-server-ip/server-resources/regedit/ with your favourite web browser.
 
*Save the Win8 registry patch (win8samba.reg) from https://your-server-ip/server-resources/regedit/ with your favourite web browser.
Line 43: Line 50:  
===Microsoft Account or Local account===
 
===Microsoft Account or Local account===
   −
{{Note box|Keep in mind that when using Windows 8 in a SME Server domain environment, you will not be able to use a Microsoft account to sign into a SME Server Domain. Indeed your Microsoft account is not recognized by the server after the login and you have to give your password for each network share you want to reach on the SME Server}}
+
{{Note box|When you are using Windows 8 in a SME Server domain environment, you will not be able to use a Microsoft account to sign into a SME Server Domain. Indeed your Microsoft account is not recognized by the server after the login and you have to give your password for each network share you want to reach on the SME Server}}
    
There are two types of Windows 8 User accounts to choose from:
 
There are two types of Windows 8 User accounts to choose from:
Line 65: Line 72:       −
If you are not worried about being instantly and directly connected to the Cloud or the Windows Store and are not interested in having your settings synced between multiple Windows 8 systems, then you may want to sign in to Windows 8 using a Local account. This Local Account is mandatory if you want to use all the services that an SME Server Domain can give you.<br />
+
If you are not worried about being instantly and directly connected to the Cloud or the Windows Store and are not interested in having your settings synced between multiple Windows 8 systems, then you may want to sign in to Windows 8 using a Local account. This Local Account is mandatory if you want to use all the services that an SME Server Domain can give to you.<br />
   −
Now, keep in mind that when you use a Local account, you will still be able to access everything in the Windows Store or SkyDrive, but accessing them will require that you first sign in with your Microsoft account credentials. For example, the first time that you attempt to access SkyDrive, you'll have to enter your Microsoft account credentials. After you do so for the first time, your credentials will be saved. Once your credentials are saved, you will be able to access the service just as if you were using a Microsoft account.
+
Now, be aware that when you use a Local account, you will still be able to access everything in the Windows Store or SkyDrive, but accessing them will require that you first sign in with your Microsoft account credentials. For example, the first time that you attempt to access SkyDrive, you'll have to enter your Microsoft account credentials. After you do so for the first time, your credentials will be saved. Once your credentials are saved, you will be able to access the service just as if you were using a Microsoft account.
    
<gallery>
 
<gallery>
Line 85: Line 92:  
{{Tip box|To change a Microsoft Account to a Local Account, Go to the Top right corner of your Desktop, select "settings" and then "Change Pc settings", select the link "Switch to local account", give the user password and select "next". Enter your user values in the local account field and press "Next". The new local account will be added}}
 
{{Tip box|To change a Microsoft Account to a Local Account, Go to the Top right corner of your Desktop, select "settings" and then "Change Pc settings", select the link "Switch to local account", give the user password and select "next". Enter your user values in the local account field and press "Next". The new local account will be added}}
   −
== Slow login with win8 to sme8 domain ==
+
==Setting up network drives==
 +
In  order to have logon script working you must add the following Keys in registry
 +
 
 +
Windows Registry Editor Version 5.00
 +
 +
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkProvider\HardenedPaths]
 +
"\\\\*\\netlogon"="RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0"
 +
 
 +
 
 +
If you are using SME Server as a domain controller and the workstations have joined the domain
 +
you can automate drive mapping and syncronise the PC time with the netlogon.bat file
 +
 
 +
Note: [[:SME_Server:Documentation:Administration_Manual:Chapter13#Workgroup |Chapter 13]] has a method for admin to edit the netlogon.bat file without using the command line. You can consider also the [[SME_Server:Documentation:Administration_Manual:Chapter7|chapter 7]] on Configuring the Computers on Your Network
   −
With certain networks you may have an issue with a slow login to the SME Server domain due to a timeout issue on the network. In this case you should install a second patch (in first you have to install the win8samba.reg). The history of this patch can be found at [[bugzilla:7332]]
+
nano -w /home/e-smith/files/samba/netlogon/netlogon.bat
The version of package needed e-smith-samba-2.2.0-57.el5.sme is in smeupdates-testing but will shortly be by default in smeupdates so in the first instance verify your package version
     −
  rpm -qa e-smith-samba
+
  REM To set the time when clients logon to the domain:
  e-smith-samba-2.2.0-57.el5.sme
+
  net time \\servername /set /yes
 +
REM To map a home directory to drive h:
 +
net use h: /home /persistent:no
 +
net use j: \\servername\ibay1 /persistent:no
 +
net use p: \\servername\ibay2 /persistent:no
 +
if exist Z: net use Z: /del /yes
   −
You need at least this version as above, otherwise try this
+
and reset file to dos format
 +
unix2dos /home/e-smith/files/samba/netlogon/netlogon.bat
   −
yum update --enablerepo=smeupdates-testing e-smith-samba
+
== Slow login with win8 to sme8 domain ==
signal-event post-upgrade; signal-event reboot
      +
With certain networks you may have an issue with a slow login to the SME Server domain due to a timeout issue on the network. In this case you should install a second patch (in first you have to install the win8samba.reg).
    
This is what you need to find in your server-ressources
 
This is what you need to find in your server-ressources

Navigation menu