Login Failed when trying to login to SMB Share Folder

  • Every time I try to Login to an SMB Share I created in OMV6 I get a login failed message. I have tried this on my Linux Desktop machine (Debian), on Windows 10, on Mac, and on my iPhone and it fails on all of them. I am able to SSH with the same user name. I am able to access any shared folder as long as its Guest Allowed but as soon as I select No in the Public settings, it will not let me log in with any user.


    I went to Storage > Shared Folders and created a shared folder with permissions to Everyone: read/write. Then I added it to shares in SMB/CIFS. Here is a screenshot of the settings I selected.

    Screenshot-from-2022-08-24-17-32-49.png


    I've also added a screenshot of the SMB/CIFS settings section.



    Here is the User Privileges to this share.
    Screenshot-from-2022-08-24-17-34-37.png


    Screenshot-from-2022-08-24-17-41-36.png


    The user is part of these groups.

    Screenshot-from-2022-08-24-17-43-22.png


    Here is a screenshot of the Login Box I get on my client PC. When I try to log in, it just reopens the log in box on Debian. On Mac, Windows, and iPhone it tells me that the login details are incorrect (they are not.)

    Screenshot-from-2022-08-24-17-49-27.png


    Any ideas what the issue can be?

  • Are the privileges of the sharedfolder correct? There is access for ‚personal‘ on your screenshot but not for ‚chris‘.


    If that’s not the issue, have you changed your users password via cli passwd? It is a mistake I did once. That way the password for samba is not being updated.


    Oh btw you should not use ACL unless lots of different user and group permissions have to be configured. For single user share, just set owner and group in the lower half of ACL screen with rwx permissions. Do nothing in the upper half (that is actually the ACL section). It should work but people often don’t really understand what they doing and screw things up.

  • Are the privileges of the sharedfolder correct? There is access for ‚personal‘ on your screenshot but not for ‚chris‘.


    If that’s not the issue, have you changed your users password via cli passwd? It is a mistake I did once. That way the password for samba is not being updated.


    Oh btw you should not use ACL unless lots of different user and group permissions have to be configured. For single user share, just set owner and group in the lower half of ACL screen with rwx permissions. Do nothing in the upper half (that is actually the ACL section). It should work but people often don’t really understand what they doing and screw things up.

    Thank you for your reply. Yes the privileges for shared folders are correct. personal is the name of the folder I am sharing, not the user. It is the user Chris who is getting those privileges to the personal folder.


    I went into the cli and changed the password through passwd just to double check. But that didn’t fix the issue. I’ve also tried to add other users with full access, and added it to the correct groups and that didn’t help.


    It’s an odd issue. Any further suggestion would be appreciated.


    Here’s a screenshot from my iPhone trying to login.

    BF315-DE8-2499-4-B72-884-D-2-D9-FFCAA72-A8.jpg

  • The issue has been fixed!!


    I went through the OMV gui, and changed the password through the user section for the user. That fixed it.


    That is weird that a password change through the CLI did nothing but through the gui it did.


    Regardless, I am glad I fixed the issue.


    Thank you for suggesting changing the password.

    • Official Post

    samba passwords and system passwords are different. If you use smbpasswd from the command line, then it will keep both in async. This is what the OMV web interface is doing.

    omv 7.4.14-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.2.16 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Bro love you, i have been looking for the solution for like 3 hours, and this one fixed it...

  • Yes, changing password fixed this issue.

Participate now!

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