Linux connecting to older NAS samba question

FTP Server, File Server, DDNS, SAMBA, AFP, NFS
Post Reply
vmaxx
Starting out
Posts: 15
Joined: Sat Apr 03, 2010 10:24 pm

Linux connecting to older NAS samba question

Post by vmaxx »

I have a couple very old units that are still working great (3.7.3). I have linux boxes mounting shares that have always worked with an entry in fstab. The only way it has ever worked is with cifs vers=1.0 in the entry. There was an issue in Jan with a kernel update that caused the mounts to stop working. This was fixed several weeks later with another kernel update. This latest update has caused mounts to stop working again. Not sure if it is similar or what the issue is this time. I only updated one linux box that now doesn't connect, others on my network are still connected like normal.

Just wondering if there is any settings to allow cifs 2.0, 2.1, or 3 to work on such experienced NAS boxes? Searched the web and there was posts in Microsoft networking where it could be set, but I am not seeing any on mine. I know my firmware is waay out of date, and I did go through your pinned FAQ on SMB versions but is there any way to connect with anything other than cifs vers=1.0?
PeterT1959
Know my way around
Posts: 201
Joined: Mon Nov 19, 2012 11:16 am

Re: Linux connecting to older NAS samba question

Post by PeterT1959 »

Have you looked into configuring NFS rather than Samba?

Sent from my Pixel 6a using Tapatalk

FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: Linux connecting to older NAS samba question

Post by FSC830 »

Thats the way to go 8) .
Linux uses usually NFS, the NAS uses NFS, so I am wondering why someone ever configured Samba (SMB) when using Linux...
If you want to stay with SMB, the entry in SMB.conf for v1.0 in [global] is:

Code: Select all

client min protocol = NT1
Regards
vmaxx
Starting out
Posts: 15
Joined: Sat Apr 03, 2010 10:24 pm

Re: Linux connecting to older NAS samba question

Post by vmaxx »

FSC830 wrote: Fri Jun 02, 2023 5:38 pm Thats the way to go 8) .
Linux uses usually NFS, the NAS uses NFS, so I am wondering why someone ever configured Samba (SMB) when using Linux...
If you want to stay with SMB, the entry in SMB.conf for v1.0 in [global] is:

Code: Select all

client min protocol = NT1
Regards
Sorry, Linux is only part of my network, I have Windoz as well. I needed a way to have everything be available to everyone. Is there an entry in smb.conf for v 2.0 (smb2?) I am looking in the file and don't see anything for min or max protocol. Not sure what versions this NAS will support
User avatar
dolbyman
Guru
Posts: 35272
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Linux connecting to older NAS samba question

Post by dolbyman »

What are the NAS models?
PeterT1959
Know my way around
Posts: 201
Joined: Mon Nov 19, 2012 11:16 am

Re: Linux connecting to older NAS samba question

Post by PeterT1959 »

Not sure why you feel obliged to use the same protocol for all the clients. Nothing stops one using SMB for Windows clients and NFS for Linux clients.

Sent from my Pixel 6a using Tapatalk

PeterT1959
Know my way around
Posts: 201
Joined: Mon Nov 19, 2012 11:16 am

Re: Linux connecting to older NAS samba question

Post by PeterT1959 »

Additionally it would help to know the versions of all devices and for the Linux boxes what distribution is being used.

Sent from my Pixel 6a using Tapatalk

vmaxx
Starting out
Posts: 15
Joined: Sat Apr 03, 2010 10:24 pm

Re: Linux connecting to older NAS samba question

Post by vmaxx »

dolbyman wrote: Fri Jun 02, 2023 10:46 pm What are the NAS models?
I have:
ts-459 pro II (3.8.2)
TS-659 (3.7.2)
User avatar
dolbyman
Guru
Posts: 35272
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Linux connecting to older NAS samba question

Post by dolbyman »

what is the output of

Code: Select all

smb2status
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: Linux connecting to older NAS samba question

Post by FSC830 »

No idea for this prehistoric firmware.
My TS-459 with latest v4.2.6 uses SMB v2.1 by default and as far as I remember I was even able to enable v3.0 with a CLI command.

Regards
Post Reply

Return to “File Sharing”