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.
root@omv3:~# systemctl status smbd
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd)
Active: active (running) since Fri 2017-06-23 14:06:47 MDT; 1 day 20h ago
Process: 1007 ExecStart=/etc/init.d/smbd start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/smbd.service
└─1048 /usr/sbin/smbd -D
Notice: Active: active (running) since
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
root@omv3:~# ps aux |grep smb
root 1095 0.0 0.3 291876 14040 ? Ss 14:09 0:00 /usr/sbin/smbd -D
root 2342 0.0 0.0 12732 2224 pts/0 S+ 15:39 0:00 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
root@omv3:~# systemctl status nmbd
● nmbd.service - LSB: start Samba NetBIOS nameserver (nmbd)
Loaded: loaded (/etc/init.d/nmbd)
Active: active (running) since Sun 2017-07-02 08:58:13 MDT; 1 day 10h ago
CGroup: /system.slice/nmbd.service
└─3636 /usr/sbin/nmbd -D
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.