yet another "Operation not supported" error post mounting on Linux

Status
Not open for further replies.

anfieldroad

Dabbler
Joined
Dec 21, 2018
Messages
32
This is probably a repeat of a zillion other cries for help but how in heck do you mount an SMB share from FreeNAS on a Linux system:

# mount -t cifs -o "username=user,password=somethingsecret,rw,sec=ntlm,iocharset=utf8,vers=3.0" //nas/share1 share/

gives the usual:
mount error(95): Operation not supported

I've tried version 1.0, 2.0 all the ntlm variants... and I even got so desperate as to sacrifice a goat I "liberated" from the petting zoo up the road... all to no avail...
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
Try a simpler (?) format :

mount -t cifs -o vers=2.1,user=<name>,uid=XXXX,gid=YYYY //<ip of freenas>/sharename /mnt/path/
 

anfieldroad

Dabbler
Joined
Dec 21, 2018
Messages
32
Added to auxilliary parameters in smb service:
server min protocol = NT1

now works. Should be added to the doco.
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
Added to auxilliary parameters in smb service:
server min protocol = NT1

now works. Should be added to the doco.

What Linux distro are you using? This shouldn't be necessary for a CLI mount, e.g:


root@linuxbox:~# mount -v -t cifs -o vers=3,user=chris,uid=1000,gid=1000 //192.168.0.114/wintest /home/chris/CIFS Password for chris@//192.168.0.114/wintest: ******** mount.cifs kernel mount options: ip=192.168.0.114,unc=\\192.168.0.114\wintest,vers=3,uid=1000,gid=1000,user=chris,pass=******** root@tlinuxbox:~# mount | grep CIFS //192.168.0.114/wintest on /home/chris/CIFS type cifs (rw,relatime,vers=3,cache=strict,username=chris,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.0.114, file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1,user=chris) root@linuxbox:~#

Linux file managers can be a different story.
 
Status
Not open for further replies.
Top