Wow...
after so many hours it turned out to be this simple!
worked perfectly HiassofT , thanks!
edit: -o vers=3.0 also works!
Wow...
after so many hours it turned out to be this simple!
worked perfectly HiassofT , thanks!
edit: -o vers=3.0 also works!
Still no success with that option:
#sudo mount -t cifs //192.168.1.3/videos ~/mnt -o username=xxx,password=xxx,sec=ntlm
mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
--
i googled a little and found this to be a common problem when changing samba server from SMB1 to more recent versions
not LE's or QNAPS's samba specific
If i change min server from SMB1 to SMB2 or SMB3 in LE i always get the error:
mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Still no success with "client min protocol = SMB2" in QNAP's smb.conf
Must be some problem with QNAP's samba version - smbd (samba daemon) Version 4.4.16
--
Here's my QNAP's smb.conf (obtained with testparm)
# Global parameters
[global]
server string = NAS Server
local master = No
preferred master = No
smb2 leases = Yes
max log size = 10
cache directory = /share/CACHEDEV2_DATA/.samba/cache
lock directory = /share/CACHEDEV2_DATA/.samba/lock
pid directory = /var/lock
state directory = /share/CACHEDEV2_DATA/.samba/state
printcap cache time = 0
printcap name = /etc/printcap
show add printer wizard = No
client min protocol = SMB2
min receivefile size = 256
name resolve order = host bcast
unix extensions = No
enhance acl v1 = Yes
guest account = guest
map to guest = Bad User
null passwords = Yes
passdb backend = smbpasswd
security = USER
server signing = No
smb passwd file = /etc/config/smbpasswd
username map = /etc/config/smbusers
deadtime = 10
socket options = TCP_NODELAY SO_KEEPALIVE
template homedir = /share/homes/DOMAIN=%D/%U
winbind enum groups = Yes
winbind enum users = Yes
winbind expand groups = 1
dns proxy = No
fruit:veto_appledouble = no
fruit:nfs_aces = no
streams_depot:check_valid = no
streams_depot:delete_lost = yes
idmap config * : backend = tdb
delete veto files = Yes
map archive = No
map readonly = no
store dos attributes = Yes
veto files = /.AppleDB/.AppleDouble/.AppleDesktop/:2eDS_Store/Network Trash Folder/Temporary Items/TheVolumeSettingsFolder/.@__thumb/.@__desc/:2e*/.@__qini/.Qsync/.@upload_cache/.qsync/.qsync_sn/.@qsys/.streams/.digest/
kernel share modes = No
posix locking = No
wide links = Yes
acl allow execute always = Yes
create mask = 0777
directory mask = 0777
force unknown acl user = Yes
use sendfile = Yes
vfs objects = shadow_copy2 catia fruit qnap_macea streams_depot
--
any other setting that might not be correct?
Thanks!
Tim_Taylor for example, downloading vídeo files directly to LibreELEC SD without writing to my NAS's HDD's where importante information exists. Not stressing these HDD's and direct incoming downloads directly to LibreELEC SD. I used for 2 or 3 years a Raspberry Pi2 with a Samsung SD, lots of constant use, and no problems as of today.
mmax I'll try that, adding the setting
hosts allow = IP_ADRESS_QNAP
to LE's smb.conf file.
Tim_Taylor, how do you copy large files from your NAS to your LE device without leaving PC on during copy?
--
"client min protocol = SMB2" as chewitt recommended should be added to QNAP's smb.conf or to LE smb.conf?
Thanks!
Tim_Taylor I have a 64 gb SD CARD in my LibreELEC device. If I have lots of big sized video files in the cloud or in my NAS, I'd like to just copy them to LE device and not having to leave PC on. The copying process continues becaused it's managed by the NAS.
chewitt Thanks for the explanation. So I should edit QNAP's smb.conf and add the settings:
client min protocol = SMB2
client max protocol = SMB3
Or should I edit LibreELEC smb.conf and add these settings?
It's because I want to map LibreELEC folders in QNAP's File Station.
To do so, AFAIK, I need to use LibreeELEC as samba server.
Hi all from Portugal,
I have a similar problem.
Maybe because I've got very limited Linux skills I haven't yet succeeded accessing LibreElec's SMB server other than SMB1.
Here's my setup:
- Libreelec running latest version in Android box. Want to use this as a Samba Server.
- NAS (QNAP), which I want to use as a Samba Client.
Using QNAP's file station 5 tool to create remote connection to a LibreeElec shared folder works flawlessly if, in LibreELEC's options, I configure minimum samba server version as SMB1.
However, I read that this ancient samba version is not recommended due to security issues.
If I change minimum server version to SMB2 or SMB3, the samba client on QNAP does not find LibreElec.
Client supports SMB1, SMB2 and SMB3.
My samba.conf file looks like the correct version.
Any help? I've tryed so many times it's a little frustrating that it works so easily with SMB1 server and does not work at all with SMB2 or SMB3.
Thanks, have a great 2018!