Unable to Configure Beyond First User

    • OMV 4.x
    • Unable to Configure Beyond First User

      Hi there!

      I am new to OpenMediaVault, but there is so much help that install and (most) configuration was a breeze.

      The only problem I am having is with setting up users. Seems like it should be pretty intuitive: Access Rights Manager --> User --> Add. Then give them a name and password. This works flawlessly for only the first user I make. I create the first user in the GUI, login using that user credential on my computer, and away we go. If I delete that first user, and create another, I cannot use the new user to login.

      I have tried all the basics to solve this: removing users, rebooting, clean installs, etc. No luck.

      The strangest part is, if I make my first user, delete it, then add it back, everything works fine. But again, it only works for the very first user I create. After the first user, I only get an error which says I do not have permission to access.

      I cannot even manually map to the network drive.

      All help is appreciated!

      Thank you!

      Best,
      userstruggle
    • I cannot login through file explorer on Windows.

      I create a user and access the shared folder in file explorer (which requires the login). If I delete the user I created, then create a new one, I cannot login through file explorer to reach it.

      I am using SMB/CIFS. Do I have to add the user to a particular group?
    • So now I am getting an even stranger phenomenon.

      I created a new user. Logged in as the user from file explorer to access the shared file. Closed file explorer. Deleted the user from the OMV GUI. I then used file explorer to navigate back to the shared folder. It gave me access without a prompt to login. So now it seems completely unsecured...
    • userstruggle wrote:

      Do I have to add the user to a particular group?
      No. The user is automatically added to the users group. Are you giving the user privileges to the shared folder?

      userstruggle wrote:

      I created a new user. Logged in as the user from file explorer to access the shared file. Closed file explorer. Deleted the user from the OMV GUI. I then used file explorer to navigate back to the shared folder. It gave me access without a prompt to login. So now it seems completely unsecured...
      What options are you using when you create the smb share? Have you watched the videos here - Installation and Setup Videos - Beginning, Intermediate and Advanced? There is a file sharing setup video.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Yes. I am giving the user privileges to the shared folder. But if I create a new user (give it privileges), and delete the first user I created, then I cannot access the folder.

      Those videos are great! Unfortunately, his solution to "Access denied" is to allow Guests. But I want to configure users.

      So I have a configured user, with read/write permissions to my shared folder. If I navigate to the folder, and attempt to login, it says "access denied" just like in his video. Do I have to allow guests? Can security not be configured from the GUI?
    • No you shouldn't have to allow guests.

      What are the usernames in question?
      What is the output of cat /etc/samba/smb.conf?
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • For now I am just making fake usernames: the current one is "whatever"

      Here is the output.


      Source Code

      1. #======================= Global Settings =======================
      2. [global]
      3. workgroup = WORKGROUP
      4. server string = %h server
      5. dns proxy = no
      6. log level = 0
      7. syslog = 0
      8. log file = /var/log/samba/log.%m
      9. max log size = 1000
      10. syslog only = yes
      11. panic action = /usr/share/samba/panic-action %d
      12. encrypt passwords = true
      13. passdb backend = tdbsam
      14. obey pam restrictions = no
      15. unix password sync = no
      16. passwd program = /usr/bin/passwd %u
      17. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
      18. pam password change = yes
      19. socket options = TCP_NODELAY IPTOS_LOWDELAY
      20. guest account = nobody
      21. load printers = no
      22. disable spoolss = yes
      23. printing = bsd
      24. printcap name = /dev/null
      25. unix extensions = yes
      26. wide links = no
      27. create mask = 0777
      28. directory mask = 0777
      29. use sendfile = yes
      30. aio read size = 16384
      31. aio write size = 16384
      32. local master = yes
      33. time server = no
      34. wins support = no
      35. min receivefile size = 16384
      36. write cache size = 524288
      37. getwd cache = yes
      38. socket options = TCP_NODELAY IPTOS_LOWDELAY
      39. #======================= Share Definitions =======================
      40. [Projects]
      41. path = /srv/dev-disk-by-label-Elements/Projects
      42. guest ok = no
      43. read only = no
      44. browseable = yes
      45. inherit acls = yes
      46. inherit permissions = no
      47. ea support = no
      48. store dos attributes = no
      49. vfs objects =
      50. printable = no
      51. create mask = 0664
      52. force create mode = 0664
      53. directory mask = 0775
      54. force directory mode = 0775
      55. hide special files = yes
      56. follow symlinks = yes
      57. hide dot files = yes
      58. valid users = "whatever"
      59. invalid users =
      60. read list =
      61. write list = "whatever"
      Display All
    • Alright, another development. I decided to grant guest access just to get this up and running. When I do that, I can access the shared folder from my computer. However my coworker cannot.

      I double checked his connection to the same IP and workgroup. When he tried to reach it through file explorer, he was not even asked to login. He just got rejected...

      Not sure if that extra detail helps
    • I'm not sure. I haven't had a chance to try to replicate this. I use samba a lot with plenty of users and haven't run into this though. Did the folders have existing data in them before creating the share?
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • userstruggle wrote:

      There were no existing users. This was a clean install.
      Not existing users... Existing data on the drives?
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • userstruggle wrote:

      Everything is brand new.
      Can you list the order (not exact details) of how you setup everything including installation? I want to try to recreate but what I am doing is not recreating the issue.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Yep!

      Write OMV image to SD card
      Insert SD card and power up
      Login through the Web GUI
      Create a shared folder
      Turn on SMB/CIFS
      Add a "Shares" pointed to the created shared folder (with Guests set to No)
      Add a user
      Add another user
      Delete the first user
      Grant the second user access to the Shared folder

      From a windows machine, if I try to access the folder, it will ask me to login. When I put in the user name and password for the second user, it denies access.

      I tested this again (without doing a full install). I have several folder which I have set to public access. I created a new folder which did not have public access. I made a user, and granted the user access to the folder. When I tried to access ANY of my folders (even the ones without security) I was denied access. I deleted the user, deleted the folder with the security, and everything was fine and dandy again. Very very strange

      Thank you so much for your help!
    • I tried this and my second user was able to access the share. So, I created a third user and deleted the second user and was not able to access the share. Knowing windows, I figured it was caching the second users credentials when trying to connect. I rebooted the windows machine and was able to connect to the share with the third user. This tells me OMV is creating the right config.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • IT WORKS!!!

      I created a user then logged in to access the share.
      Deleted the user and attempted to access the share. It failed (which is good in this case).
      Created a new user and attempted to access the share. It failed (as expected).
      Restarted the computer and attempted to access the share. Logged in with the new credentials and SUCCESS!

      Thank you SO much ryecoaaron! Looks like your website is omv-extras.org. I will be making a donation.

      Thank you again!