February 24, 20233 yr A few days ago, I built an Unraid server and set up Jellyfin, the Arrs and a VPN. Now I am trying to set up SMB for transferring small files between the server and my PC, which are both on the same local network. However, I have been stuck for the past six hours. When I put the share in public mode, I can easily connect to it from my PC and transfer files between them, but when I turn on private mode and enter the user credentials that I created on the Unraid server, it just keeps loading indefinitely. It doesn't give me an error message; it just loads for about 10 minutes and then tells me that I have the name wrong. I have already tried several solutions but they haven't helped. this was the most promising solution that had no effect: 1. Press the Windows key + R shortcut to open the Run command window. 2. Type in gpedit.msc and press OK. 3. Select Computer Configuration -> Administrative Templates -> Network -> Lanman Workstation and double click Enable insecure guest logons and set it to Enabled. 4. Now attempt to access \\tower this is what i get when i do testparm -s root@Selver:~# testparm -s Load smb config files from /etc/samba/smb.conf lpcfg_do_global_parameter: WARNING: The "null passwords" option is deprecated Loaded services file OK. Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback) Server role: ROLE_STANDALONE # Global parameters [global] disable netbios = Yes disable spoolss = Yes load printers = No logging = syslog@0 map to guest = Bad User max open files = 40960 multicast dns register = No ntlm auth = ntlmv1-permitted null passwords = Yes passdb backend = smbpasswd printcap name = /dev/null security = USER server min protocol = SMB2 server multi channel support = No server string = Selleri Serveri Selver show add printer wizard = No smb1 unix extensions = No fruit:nfs_aces = No idmap config * : range = 3000-7999 idmap config * : backend = tdb acl allow execute always = Yes aio read size = 0 aio write size = 0 create mask = 0777 directory mask = 0777 hide dot files = No include = /etc/samba/smb-shares.conf invalid users = root map archive = No map readonly = yes use sendfile = Yes wide links = Yes [isos] comment = ISO images path = /mnt/user/isos valid users = cf vfs objects = catia fruit streams_xattr write list = cf fruit:encoding = native Any help would be appreciated. Edited February 24, 20233 yr by CarlF
February 26, 20233 yr I don't see any shares but 'isos'. Is the share you want to access setup correctly? Go to Settings->SMB and turn off 'Enhanced macOS interoperability:' and see if that helps. If you don't use a Mac to access the SMB shares, leave it off.
February 26, 20233 yr Author Sadly that did not help, i set up 2 public shares aswell that work perfectly, i was even able to map them. But when i try to use the exact same strategy on the private share it just stays on attempting to connect without any feedback. this is the new results from testparm -s root@Selver:~# testparm -s Load smb config files from /etc/samba/smb.conf lpcfg_do_global_parameter: WARNING: The "null passwords" option is deprecated Loaded services file OK. Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback) Server role: ROLE_STANDALONE # Global parameters [global] disable netbios = Yes disable spoolss = Yes load printers = No logging = syslog@0 map to guest = Bad User max open files = 40960 multicast dns register = No ntlm auth = ntlmv1-permitted null passwords = Yes passdb backend = smbpasswd printcap name = /dev/null security = USER server min protocol = SMB2 server multi channel support = No server string = Selleri Serveri Selver show add printer wizard = No smb1 unix extensions = No fruit:nfs_aces = No idmap config * : range = 3000-7999 idmap config * : backend = tdb acl allow execute always = Yes aio read size = 0 aio write size = 0 create mask = 0777 directory mask = 0777 hide dot files = No include = /etc/samba/smb-shares.conf invalid users = root map archive = No map readonly = yes use sendfile = Yes wide links = Yes [appdata] comment = application data guest ok = Yes path = /mnt/user/appdata read only = No [isos] comment = ISO images path = /mnt/user/isos valid users = cf write list = cf [media] comment = all my media guest ok = Yes path = /mnt/user/media read only = No
February 26, 20233 yr Those look fine. You need to check your Windows computer and delete any saved credentials and then try access again, You'll be asked for your credentials.
February 26, 20233 yr Author Okay, so i used "net use * /delete" in powershell and then i deleted all the windows credentials i had saved, still the same error.
February 26, 20233 yr Author also this is what i get when i press diagnose, i double checked that the user has read and write permissions and that the password is correct.
February 27, 20233 yr Author Solution I made another unraid account and instead of writing in the ip or server name i pressed browse, that seems to have fixed it for some reason... edit: another thing i noticed was that pressing browse wrote the server name in all caps instead of the way i had it set up in unraid. Edited February 27, 20233 yr by CarlF
February 27, 20233 yr 4 hours ago, CarlF said: edit: another thing i noticed was that pressing browse wrote the server name in all caps instead of the way i had it set up in unraid. Windows converts network names to caps.
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.