Hi Dlandon
Been looking at Unassigned Devices and found an anomaly, undocumented feature, bug, incompatibility issue
I'm trying to map to an SMB share running on a Windows 2016 Server and every time I try to connect from Unassigned Devices, I get error(13): -
Dec 31 19:00:58 Tower unassigned.devices: Mount SMB/NFS command: mount -t cifs -o rw,nounix,iocharset=utf8,_netdev,file_mode=0777,dir_mode=0777,vers=3.0,username=*******,password=******* 'mount point' '/mnt/disks/mount_point'
Dec 31 19:00:58 Tower unassigned.devices: Mount of 'mount point' failed. Error message: mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I know that my SMB shares work as I have other LINUX servers that are able to connect to without any issues.
I looked at your code in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php and modified line 569 to include security settings: -
569: return "rw,nounix,iocharset=utf8,_netdev,file_mode=0777,dir_mode=0777,sec=ntlm,vers=%s,username=%s,password=%s";
This minor change worked for me - not sure whether it's something to include going forward.