Samba Share not accepting username password Win10

    • OMV 4.x
    • Resolved
    • Samba Share not accepting username password Win10

      Hey all

      I have been researching and try all sorts of things and I just can't work it out

      I have rebuilt my server from Debian 8 and OMV3 to Debian 9 with OMV4 and been having non stop issues, for instance my bonded network technically isn't bonded as one of the adapters still picks up an IP address

      Anyway the reason I am making this post is previously I had a samba share that was only accessible by me and I can't for life of me remember how I got it to work previously as I had similar issue with OMV3

      I have the user set up in OMV with the same username and password as my Win10 1803 PC and it just asks me for credentials and either doesn't accept them with access denied or stats that I am already connecting with another username/password which isn't allowed

      Please can someone help, I would prefer to have OMV4, I don't want to have to go back to OMV3

      Thank you,
      Ash
      HP Proliant Microserver Gen8 | 10GB RAM | 4TB HDD | 3TB Mirrored HDD | OMV4 (fresh build, hopefully won't have to go back to 3)
    • There are some threads related to this in the SMB/CIFS section.

      However, this is what worked for me:
      bgstack15.wordpress.com/2017/1…ntlm-for-windows-clients/

      But I had to use 3, 4 or 5 as registry entry for the authentication level.

      docs.microsoft.com/en-us/windo…ager-authentication-level

      Edit: To test you can just add ntlm auth = yes to the extra options of the SMB/CIFS settings in the GUI of OMV.
      If that works you can add the registry entry on your windows clients, or just keep it like that.
      For me there was no need to restart after the modification. Worked right away.
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:
    • Still not working, I have a suspicion that it has to do with the second ethernet adapter still picking up an IP address when it shouldn't :(
      HP Proliant Microserver Gen8 | 10GB RAM | 4TB HDD | 3TB Mirrored HDD | OMV4 (fresh build, hopefully won't have to go back to 3)
    • managed to solve the bonding issue I was having, but still having an issue and now unable to even access a folder that is accessible to anyone :/
      HP Proliant Microserver Gen8 | 10GB RAM | 4TB HDD | 3TB Mirrored HDD | OMV4 (fresh build, hopefully won't have to go back to 3)
    • not sure how to fix this for anyone else, I was able to connect to it eventually with the above settings and added a server name entry in my host file to the IP address
      HP Proliant Microserver Gen8 | 10GB RAM | 4TB HDD | 3TB Mirrored HDD | OMV4 (fresh build, hopefully won't have to go back to 3)
    • Samba Share not accepting username password Win10

      I am going to keep it mind actually I fixed it with OMV-firstaid option 1, lost static address I put it back as the user guide page 37 but without the Google DNS entry still not sure if it is the right way to get static IP for the board.

      Beside I just placed an order to a Rockport 64 at ameridroid since they just received shipment.

      The post was edited 1 time, last by Nefertiti ().

    • Nefertiti wrote:

      Me too out of the blue got "enter network credentia"
      and192.168.2.150 OMV-SERVER is already listed in host
      I tried
      sudo smbpasswd -a username but no joy not sure what to do.
      So, "out of the blue" you lost a statically assigned IP address in OMV4? Did this event coincide with an update?


      Nefertiti wrote:

      I am going to keep it mind actually I fixed it with OMV-firstaid option 1, lost static address I put it back as the user guide page 37 but without the Google DNS entry still not sure if it is the right way to get static IP for the board.

      Can you get into shares now? (If you don't specify a DNS address OMV will, usually, pick it up from your router. If your router is set to DHCP, you're most likely using your ISP's DNS.)

      To the best of my knowledge, the Connect to OMV with Windows 10 How-To has worked every time. You may not be able to browse to OMV on the network, using windows explorer, but shortcuts and mapped drives work.

      Video Guides :!: New User Guide :!: Docker Guides :!: Pi-hole in Docker
      Good backup takes the "drama" out of computing.
      ____________________________________
      Primary: OMV 3.0.99, ThinkServer TS140, 12GB ECC, 32GB USB boot, 4TB+4TB zmirror, 3TB client backup.
      Backup: OMV 4.1.9, Acer RC-111, 4GB, 32GB USB boot, 3TB+3TB zmirror, 4TB Rsync'ed disk

      The post was edited 1 time, last by flmaxey: edit ().

    • flmaxey wrote:

      Nefertiti wrote:

      Me too out of the blue got "enter network credentia"
      and192.168.2.150 OMV-SERVER is already listed in host
      I tried
      sudo smbpasswd -a username but no joy not sure what to do.
      So, "out of the blue" you lost a statically assigned IP address in OMV4? Did this event coincide with an update?Not really this is just because OMV-firstaid reset my network
      root



      Nefertiti wrote:

      I am going to keep it mind actually I fixed it with OMV-firstaid option 1, lost static address I put it back as the user guide page 37 but without the Google DNS entry still not sure if it is the right way to get static IP for the board.
      Can you get into shares now? (If you don't specify a DNS address OMV will, usually, pick it up from your router. If your router is set to DHCP, you're most likely using your ISP's DNS.)

      To the best of my knowledge, the Connect to OMV with Windows 10 How-To has worked every time. You may not be able to browse to OMV on the network, using windows explorer, but shortcuts and mapped drives work.


      I am glad you replied, so maybe you can help me, no I cannot upgrade I am getting "failed to fetch" same to install plugin, beside my PIhole is working and even my revese proxy for nextcloud is functional and I am using an old installation upgraded to 4.112 I do not know why it could do it,
      Further more if I try a new fresh one forget it, I can fix the GUI not showing up with Firstaid but in this case the network is scr..w and even firstaid cannot fix it!!


      EDIT I just add google dns and I was able to install my plugin and my apt upgrade now just to figure out how to do a working fresh install but since it wont be on PI maybe I wont have all this issues.

      Source Code

      1. root@raspberrypi:~# apt upgrade
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. Calculating upgrade... Done
      6. The following packages will be upgraded:
      7. imagemagick-6-common libmagickcore-6.q16-3 libmagickwand-6.q16-3
      8. libraspberrypi-bin libraspberrypi0 libsnmp-base libsnmp30 libssh-gcrypt-4
      9. raspberrypi-bootloader raspberrypi-kernel
      10. 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      11. Need to get 44.1 MB of archives.
      12. After this operation, 2,048 B of additional disk space will be used.
      13. Do you want to continue? [Y/n] y
      14. Err:1 http://security.debian.org stretch/updates/main armhf imagemagick-6-common all 8:6.9.7.4+dfsg-11+deb9u6
      15. Temporary failure resolving 'security.debian.org'
      16. Err:2 http://security.debian.org stretch/updates/main armhf libmagickcore-6.q16-3 armhf 8:6.9.7.4+dfsg-11+deb9u6
      17. Temporary failure resolving 'security.debian.org'
      18. Err:3 http://security.debian.org stretch/updates/main armhf libmagickwand-6.q16-3 armhf 8:6.9.7.4+dfsg-11+deb9u6
      19. Temporary failure resolving 'security.debian.org'
      20. Err:4 http://security.debian.org stretch/updates/main armhf libsnmp-base all 5.7.3+dfsg-1.7+deb9u1
      21. Temporary failure resolving 'security.debian.org'
      22. Err:5 http://security.debian.org stretch/updates/main armhf libsnmp30 armhf 5.7.3+dfsg-1.7+deb9u1
      23. Temporary failure resolving 'security.debian.org'
      24. Err:6 http://security.debian.org stretch/updates/main armhf libssh-gcrypt-4 armhf 0.7.3-2+deb9u1
      25. Temporary failure resolving 'security.debian.org'
      26. Err:7 https://archive.raspberrypi.org/debian stretch/main armhf raspberrypi-kernel armhf 1.20180924-1
      27. Could not resolve host: archive.raspberrypi.org
      28. Err:8 https://archive.raspberrypi.org/debian stretch/main armhf libraspberrypi-bin armhf 1.20180924-1
      29. Could not resolve host: archive.raspberrypi.org
      30. Err:9 https://archive.raspberrypi.org/debian stretch/main armhf libraspberrypi0 armhf 1.20180924-1
      31. Could not resolve host: archive.raspberrypi.org
      32. Err:10 https://archive.raspberrypi.org/debian stretch/main armhf raspberrypi-bootloader armhf 1.20180924-1
      33. Could not resolve host: archive.raspberrypi.org
      34. E: Failed to fetch http://security.debian.org/pool/updates/main/i/imagemagick/imagemagick-6-common_6.9.7.4+dfsg-11+deb9u6_all.deb Temporary failure resolving 'security.debian.org'
      35. E: Failed to fetch http://security.debian.org/pool/updates/main/i/imagemagick/libmagickcore-6.q16-3_6.9.7.4+dfsg-11+deb9u6_armhf.deb Temporary failure resolving 'security.debian.org'
      36. E: Failed to fetch http://security.debian.org/pool/updates/main/i/imagemagick/libmagickwand-6.q16-3_6.9.7.4+dfsg-11+deb9u6_armhf.deb Temporary failure resolving 'security.debian.org'
      37. E: Failed to fetch http://security.debian.org/pool/updates/main/n/net-snmp/libsnmp-base_5.7.3+dfsg-1.7+deb9u1_all.deb Temporary failure resolving 'security.debian.org'
      38. E: Failed to fetch http://security.debian.org/pool/updates/main/n/net-snmp/libsnmp30_5.7.3+dfsg-1.7+deb9u1_armhf.deb Temporary failure resolving 'security.debian.org'
      39. E: Failed to fetch http://security.debian.org/pool/updates/main/libs/libssh/libssh-gcrypt-4_0.7.3-2+deb9u1_armhf.deb Temporary failure resolving 'security.debian.org'
      40. E: Failed to fetch https://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/raspberrypi-kernel_1.20180924-1_armhf.deb Could not resolve host: archive.raspberrypi.org
      41. E: Failed to fetch https://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/libraspberrypi-bin_1.20180924-1_armhf.deb Could not resolve host: archive.raspberrypi.org
      42. E: Failed to fetch https://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/libraspberrypi0_1.20180924-1_armhf.deb Could not resolve host: archive.raspberrypi.org
      43. E: Failed to fetch https://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/raspberrypi-bootloader_1.20180924-1_armhf.deb Could not resolve host: archive.raspberrypi.org
      44. E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
      Display All

      The post was edited 2 times, last by Nefertiti ().

    • Nefertiti wrote:


      I am glad you replied, so maybe you can help me, no I cannot upgrade I am getting "failed to fetch" same to install plugin, beside my PIhole is working and even my revese proxy for nextcloud is functional and I am using an old installation upgraded to 4.112 I do not know why it could do it,

      Further more if I try a new fresh one forget it, I can fix the GUI not showing up with Firstaid but in this case the network is scr..w and even firstaid cannot fix it!!


      EDIT I just add google dns and I was able to install my plugin and my apt upgrade now just to figure out how to do a working fresh install but since it wont be on PI maybe I wont have all this issues.
      I'm thoroughly confused. I thought this was a network share access problem as follows:

      Nefertiti wrote:

      Me too out of the blue got "enter network credential"
      and192.168.2.150 OMV-SERVER is already listed in host
      I tried
      sudo smbpasswd -a username but no joy not sure what to do.

      An old installation "upgraded" to 4.1.12
      ? I'm not sure where you are or what to tell you.

      The only release upgrade I've ever done (from OMV3 to 4) was in a VM, with ALL plugin's removed. That went OK. If plugins are involved, odd things can happen.

      Frankly, if it was me and I was having issues after doing a version upgrade (from OMV3 to 4 for example), I'd rebuild. Trying to figure out what went wrong in an upgrade is not worth the time or effort. It's best to just do a clean build.
      When you have a clean and working installation, clone your SD-card as noted in the user guide, so you'll have something to fall back on if your working SD-card fails or if something else goes wrong.

      Video Guides :!: New User Guide :!: Docker Guides :!: Pi-hole in Docker
      Good backup takes the "drama" out of computing.
      ____________________________________
      Primary: OMV 3.0.99, ThinkServer TS140, 12GB ECC, 32GB USB boot, 4TB+4TB zmirror, 3TB client backup.
      Backup: OMV 4.1.9, Acer RC-111, 4GB, 32GB USB boot, 3TB+3TB zmirror, 4TB Rsync'ed disk
    • flmaxey wrote:

      Nefertiti wrote:

      I am glad you replied, so maybe you can help me, no I cannot upgrade I am getting "failed to fetch" same to install plugin, beside my PIhole is working and even my revese proxy for nextcloud is functional and I am using an old installation upgraded to 4.112 I do not know why it could do it,

      Further more if I try a new fresh one forget it, I can fix the GUI not showing up with Firstaid but in this case the network is scr..w and even firstaid cannot fix it!!


      EDIT I just add google dns and I was able to install my plugin and my apt upgrade now just to figure out how to do a working fresh install but since it wont be on PI maybe I wont have all this issues.
      I'm thoroughly confused. I thought this was a network share access problem as follows:

      Nefertiti wrote:

      Me too out of the blue got "enter network credential"
      and192.168.2.150 OMV-SERVER is already listed in host
      I tried
      sudo smbpasswd -a username but no joy not sure what to do.
      I thought too but just playing with first aid but since it was related to network I went on with my upgrade Problem sorry for the confusion


      An old installation "upgraded" to 4.1.12 ? I'm not sure where you are or what to tell you.

      The only release upgrade I've ever done (from OMV3 to 4) was in a VM, with ALL plugin's removed. That went OK. If plugins are involved, odd things can happen.

      Frankly, if it was me and I was having issues after doing a version upgrade (from OMV3 to 4 for example), I'd rebuild. Trying to figure out what went wrong in an upgrade is not worth the time or effort. It's best to just do a clean build.
      When you have a clean and working installation, clone your SD-card as noted in the user guide, so you'll have something to fall back on if your working SD-card fails or if something else goes wrong.






      I completely agree, and trust me I tried countless time to do a fresh install no way..it was this one coming from 3.9 or nothing!

      Not really a bid deal at this point, Since I hope I will be able to discard the PI sometime next week IF I am able to do an install on a Rockpro 64 !
    • I also noticed odd behavior with the OMV4 R-PI image, in the GUI.

      This is from a fresh build. Do you notice anything missing?


      There's no interface showing, yet the Ethernet interface exists on the command line and DCHP had issued it an address.
      (Hence the above web page.)

      To configure a static address, on this build (OMV_4_Raspberry_Pi_2_3_3Plus), it was necessary to click on the +ADD button, select Ethernet on the pop-down menu, and select the interface name from the Add Ethernet connection dialog box.
      After saving the add connection dialog box, then and only then, does the Ethernet interface show up in this window.
      __________________________________

      My advice would be; if you can get OMV 3.0.99 working on your R-PI, keep it and make sure to clone a copy of the working install to a file or an SD-Card.

      Video Guides :!: New User Guide :!: Docker Guides :!: Pi-hole in Docker
      Good backup takes the "drama" out of computing.
      ____________________________________
      Primary: OMV 3.0.99, ThinkServer TS140, 12GB ECC, 32GB USB boot, 4TB+4TB zmirror, 3TB client backup.
      Backup: OMV 4.1.9, Acer RC-111, 4GB, 32GB USB boot, 3TB+3TB zmirror, 4TB Rsync'ed disk

      The post was edited 1 time, last by flmaxey: edit ().

    • Nefertiti wrote:

      Beside I just placed an order to a Rockport 64 at ameridroid since they just received shipment
      Nothing will change unless you resolve your local network problems.

      Nefertiti wrote:

      Temporary failure resolving 'security.debian.org'
      This still means you have a DNS issue in your network. You need to resolve this. As already suggested you should use the 'dig' command to get an idea what happens but for whatever reasons you don't seem to like problems being solved.