Private SMB share loading indefinitely on Windows


CarlF
Go to solution Solved by CarlF,

Recommended Posts

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. 

Screenshot_1.png

Edited by CarlF
Link to comment

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

Link to comment
  • 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 by CarlF
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.