You are not logged in.

#1 2025-03-15 08:10:52

JontomXire
Member
Registered: 2025-03-04
Posts: 20

I absolutely NEED to use SMB v1.0. How do I do this? - RESOLVED

I have a very old raid array NAS that is safely behind NAT with no external access whatsoever.

It only supports SMB v1.0. I have tried a firmware upgrade, but that failed.

My /etc/fstab line, which has been working for years, is: //nas/shared /mnt/storage cifs guest,_netdev,iocharset=utf8,vers=1.0 0 0

When I try to mount the share, I get this message:


```
mount: /mnt/storage: fsconfig system call failed: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers.
```


How do I force ArchLinux to let me use SMB version 1.0?

Last edited by JontomXire (2025-03-15 11:27:07)

Offline

#2 2025-03-15 08:19:26

JontomXire
Member
Registered: 2025-03-04
Posts: 20

Re: I absolutely NEED to use SMB v1.0. How do I do this? - RESOLVED

I installed cifs-utils, hoping that would help, and now I get the error message:

```
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
```

`dmesg` tells me:

```
[ 3667.715606] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
[ 3667.715612] cifs: Bad value for 'password2'
```

Offline

#3 2025-03-15 08:21:18

JontomXire
Member
Registered: 2025-03-04
Posts: 20

Re: I absolutely NEED to use SMB v1.0. How do I do this? - RESOLVED

Ok, so I fixed it by changing the line to specify credentials - which I shouldn't need to do as it is an unlocked share.

Offline

#4 2025-03-15 09:01:22

seth
Member
Registered: 2012-09-03
Posts: 63,077

Re: I absolutely NEED to use SMB v1.0. How do I do this? - RESOLVED

Please don't bump.
Edit your previous post to mend it intead of simulating thread activity which will only make people ignore it.

The password2 thing is a very recent regression-by-new-feature in cifs, https://bbs.archlinux.org/viewtopic.php … 0#p2230070

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Edit: also obligatory on "should" …

Last edited by seth (2025-03-15 09:01:50)

Offline

#5 2025-03-15 11:08:52

JontomXire
Member
Registered: 2025-03-04
Posts: 20

Re: I absolutely NEED to use SMB v1.0. How do I do this? - RESOLVED

Apologies for not knowing the proper forum decorum.


The mount.cifs manpage says `guest  don't prompt for a password.` so when you say @regression-by-new-feature@ (excuse the quotes, the keyboard layout isn't working correctly) do you mean this is an actual bug or something? If I specify guest it should not ask for a password or a password2!


So, anyway, the mount point was working, as I reported earlier, and then I turned off my PC and did some stuff, and now it isn't working:

```
mount error: cifs filesystem not supported by the system
mount error(19): No such device
```

I did run `pacman -Syu` before trying to mount the share, but it doesn't look like there was any update to the cifs-utils packet. I am going to try a reboot.


##EDIT##

A reboot, together with the "sec=none" worked beautifully. Thankyou so much for the help.

Last edited by JontomXire (2025-03-15 11:26:12)

Offline

Board footer

Powered by FluxBB