Why do I have to create a new user to log in to my SMB Share

  • Primarily for my own learning, but I am deeply confused why I had to create a second user just for SMB sharing.


    On OMV

    • I connected 2 fully wiped 4 TB HDDs
    • Made a mirror in the Multiple devices menu
    • Mounted a file system (XFS)
    • Created a shared folder
    • Gave read-write to my primary user in OMV
    • Enabled SMB/CIFS
    • Created the share

    On Windows, on a wired network, where I had been happily ssh-ing into the same server all day

    • Went to add a network location (map network drive wouldn't work)
    • used \\SERVERIPADDRESS\\SHAREDFOLDERNAME (nothing else would work)
    • Tried to log in with the main normal user that I've been using to log in to OMV. It looks like it's in the relevant groups. 1000% sure I used the right password. Windows said invalid credentials
    • Went back to OMV, created some random user, gave it read/write to the shared folder and put it in a few random groups, repeated the steps above, and it would.

    I know everything is supposed to be locked down and only 1 user can do 1 thing and files aren't supposed to be seen and all that, but I am genuinely confused why this didn't work, whether or not this was the 'right' way of doing this.


    Apologies for the frustration. Thank you in advance.

  • Tried to log in with the main normal user that I've been using to log in to OMV.

    If by tis you mean the admin user that is used to configure omv, this is not a normal user and only has access to the omv dashboard. For file access via smb you need a normal user that is part of the users group.

    Asrock B450M, AMD 5600G, 64GB RAM, 6 x 4TB RAID 5 array, 2 x 10TB RAID 1 array, 100GB SSD for OS, 1TB SSD for docker and VMs, 1TB external SSD for fsarchiver OS and docker data daily backups

    • Official Post

    This is how SMB works. You need the same user on the remote system (your OMV NAS) that you are using on Windows to access the SMB share. This is not necessary when you configure the SMB share with "Allow Guest" on the OMV side.

    Thou shalt not make a machine in the likeness of a human mind.

  • If by tis you mean the admin user that is used to configure omv, this is not a normal user and only has access to the omv dashboard. For file access via smb you need a normal user that is part of the users group.

    Good question; no I didn't use that admin account; I made another one first. Same username as my Windows login; just different password. I'm 99% sure it was part of the user's group


    This is how SMB works. You need the same user on the remote system (your OMV NAS) that you are using on Windows to access the SMB share. This is not necessary when you configure the SMB share with "Allow Guest" on the OMV side.

    That's what I was trying to do, and it wasn't working. so I had to do a different user


    I did have allow guests configured

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!