Windows 10 – Linux Samba Access Error

After installing the RTM Version of Windows 10 on my system I recognized that my Samba shares from my Ubuntu (14.04 LTS) server are not accessable anymore. I was looking around the internet for hours, tried registry hacks and various network security settings until I found a solution. It is very simple and doesn’t need any changes on the Windows system.

First here ist the error message I got from connect to my Linux Server from the Explorer:

\\Remote-Server is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

The account is not authorized to log in from this station.

Solution:
The solution is based on the error message code that I got from using the net use * \\Remote-Server command from the Windows system. It seems to be that Windows needs a domain user on the Linux system, so I created a local user that had the same username that I have in the Windows system. Here are the steps.

Linux

>> useradd winuseraccount@outlook.com
>> passwd winuseraccount@outlook.com
>> usermod -G users winuseraccount@outlook.com [the group users is configured in Samba as valid access group]
>> service samba restart

Windows
Add the network share to your system.

Open the Control Panel – User Accounts – Windows Account Information – Add new Windows Account Information like:

Internet- or Network address:     \\Remove-Server
Username:                                  winuseraccount@outlook.com
Password:                                   userpassword

Now you can try it out by opening the Explorer and entering \\Remote-Server in your address bar. For me it worked on my desktop and my tablet.