zeng Posted November 12 Posted November 12 (edited) Unraid versions: 7.0.0 & 6.12 Windowis versions:Windows 10 LTSC 21H2 Currently, I'm struggling with Unraid's SMB settings. I can only say that accessing SMB from Windows is not very user-friendly. How should I configure Unraid to prompt for a username and password when accessing \\192.168.8.5 (Unraid IP) from Windows? I don’t want to enable gpedit.msc's "Enable insecure guest logons" because I don't want to change the default settings in Windows. I also don't want others to see shared folder names when browsing through the Unraid IP on the local network. Final question: The SMB settings shown in the image are not giving me the result I want. How can I configure Unraid’s SMB to make it as convenient to access from Windows as traditional NAS (Synology) SMB? Edited November 12 by zeng Quote
Frank1940 Posted November 12 Posted November 12 (edited) See here for instruction to set up SMB to work with Unraid and Windows: https://forums.unraid.net/topic/110580-security-is-not-a-dirty-word-unraid-windows-1011-smb-setup/ Basically, this procedure is designed to allow Windows to implement all of the security features that Microsoft requires. The only one this procedure may not meet is the 'server signing' required in 24H2 release. Edited November 12 by Frank1940 wrong word Quote
zeng Posted November 15 Author Posted November 15 https://forums.unraid.net/topic/110580-security-is-not-a-dirty-word-unraid-windows-1011-smb-setup/ The link above does not solve my problem. I just want the SMB on Unraid to function like a traditional NAS system, where entering the IP address prompts for authentication. Why is it that on the same Windows system, Synology and other traditional NAS systems can prompt for authentication, but Unraid cannot? The issue should be related to the Unraid configuration. I suspect the problem lies in Unraid's Samba extra configuration. What parameters should I enter to make it behave like a traditional NAS syste Quote
Solution Frank1940 Posted November 15 Solution Posted November 15 Let me give you this resource: https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html You might want to look at the map to guest (G) parameter. Here is the current default setting for that parameter: You can try setting this parameter to 'never' and see if that does what you want. You can find all of the Samba configuration settings for your Unraid server with the following command: testparm -v (The list is long so you will have scroll up-and-down on your terminal screen.) Many times login problems are caused by the fact that Windows permits only one SMB login to each server. And there is no easy way to force a SMB logout from that server without rebooting the Windows client. (By the way, you might consider that the Windows credential manager is mini password manager for network connections. It always guarantees a server login with the specified credentials for that server.) Quote
zeng Posted November 16 Author Posted November 16 (edited) Thanks to @Frank1940 guidance, by configuring "map to guest = Never" in the "Samba extra configuration" my requirements have been fulfilled. Edited November 16 by zeng Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.