There are two main errors that you can see:
- Unauthenticated Guest Access
- Invalid Protocol
See the below sections for instructions on how to resolve these errors.
Error message: “Unauthenticated Guest Access”
You may see an error such as, particularly when attempting to update IMS events in mXrap:
Error checking Source file:
status: You can’t access this shared folder because your organization’s security policies block unauthenticated guest access. These policies help protect your PC from unsafe or malicious devices on the network…
or perhaps a Windows pop-up error message with some obscure error numbers like 0x80004005 or 0x80070035.
This is due to a change in Windows 10 default security settings, and there are two ways of resolving the issue:
- The IMS (Linux) server can be reconfigured to work with these new restrictions (requires IMS to assist, or a local IT admin with Linux experience).
- The security settings of the Windows client can be reduced.
Procedure to Adjust Linux Server Settings
- You can ask IMS to make this adjustment, or, ONLY do this if you are an experienced Linux admin.
- Use SSH to log into your site IMS server.
- Edit /etc/samba/smb.conf,
sudo vim /etc/samba/smb.conf
and in the [global] section:
- Add “client min protocol = SMB2”
- Ensure this line does not exist, or is commented out with the #
# map to guest = bad user
- Restart the samba service, ie:
sudo systemctl restart smbd
- Back on the Windows client, use Windows Explorer (NOT Internet Explorer) to go to:
- It should pop up a Username/Password dialog box. Enter:
Username: \ims (remember to add the \ slash before ims)
- You should now be able to see the files on the server.
If not, then you may need to talk to IMS about upgrading the “samba software” on the Linux server so that it supports SMBv2.
It can be frustrating to diagnose authentication issues because Windows caches the credentials and will keep reusing the last user/pass that “worked”, ie the unauthenticated-guest-access login.
To clear the client credentials on the client, open the command line
net use \\ip.address /delete
Reduce the Windows Client Security Settings
There are a couple of problems with adjusting the IMS server configuration (as per the above section). It requires Linux expertise, and it requires all the users to enter the special password.
Instead, you can reduce the security of the Windows client computers, at least temporarily, until the server can be adjusted.
For more information about this setting and how to change it, see the following blog post and the referenced Microsoft Support article:
If you do not have administrator privileges on your local computer then you may need your IT department to make this change for you.
Error message: “Invalid Protocol”
This would be related to SMBv1 – its no longer installed by default with the new Windows.
IT can either enable SMBv1, or follow the procedure for adjusting the server in the previous section – the “client min protocol = SMB2” is the key parameter for this particular error.