Windows 10 gives errors trying to connect to a omv samba share
I am trying to make a generic thread. Please start your own thread specific to your OMV. When you create it please provide as much info as possible. Such as OMV version, os versions or broke after xyz update etc.
Other trouble shooting tips are welcome as I don't know all.
I have been seeing lots of posts with sharing problems. I have not been able to replicate them so am just posting what I would do if I could replicate.
Putty is a good tool to allow windows to ssh to your OMV server. ssh is enabled by default on newer versions. I can't remember what version it started at so you ma need to enable it from the gui. The code tags below are cut and pasted from putty. Putty will give you a remote cli on your windows machine.
Do the easy stuff first.
- Disable windows firewall, till you get it working.
- Use ip addresses so dns is not involved.
- Be sure the workgroup is the same. Set the domain to the workgroup name.
- Check the network type configuration in windows (public, work or home). I think public disables netbios.
- Be sure you can ping your OMV from windows and ping windows from OMV.
- Make sure the time is set on both. Windows does weird things if they are not close enough.
- Try to connect to OMV from as many devices as possible, phone, kodi box, ipad, linux etc.
- If any connects or at least asks for a user password samba is probably running. If so look at sharing settings and rights on OMV.
Good info here. For help with seeing OMV shares in Windows 10, see this -> HOW TO.
By default samba logging is set to none. Set it to full or debug and remember to set it back once you get it running. nano /var/log/samba/log.samba to read it or tail -f /var/log/samba/log.samba to see it in real time.
If nothing asks for a user name samba may not be running. To test it try at the cli.
root@omv3:~# systemctl status smbd Should look something like this.
If you see Fake start-stop-daemon called see Windows shares / samba Trouble shooting
Another way to see if it is running. root@omv3:~# ps aux |grep smb
If smbd is running make sure nmbd is also running. This is very important as this is the binary that makes the announce to windows possible. In Jessie Debian ships this as two separate systems units. systemctl status nmbd
If they are not running we need to figure out why. Post a thread with as much detail as you can.
If they are both running, try to connect with a cli tool. Like powershell on windows or ssh on others.
Have a look at this thread for windows permissions. https://forum.openmediavault.o…?postID=158823#post158823
To be continued.