You are not logged in.
I fail to connect to network drives using linux-5.18.8.arch1-1-x86_64 or the current linux-5.18.9.arch1-1-x86_64. It worked fine with linux-5.18.7.arch1-1-x86_64 and the previous ones. I just tested it.
I connect to network drives using autofs and also just mount. I get the following error (I have changed the url just to paste it here)
[juanma@housepc ~]$ sudo mount -o user=Group //aa.bb.cc.dd.ee/ii/group Here/
Password for Group@//aa.bb.cc.dd.ee/ii/group:
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
dmesg says
CIFS: VFS: cifs_mount failed w/return code = -22
Adding all the other options I have in my autofs misc file:
-fstype=cifs,credentials=/root/aa-smb-auth,gid=985,file_mode=0770,dir_mode=0770
reports the same error.
As said, with kernel 5.18.7 this works fine, I just tested it. But with this older kernel I have no X.
Offline
sys2064
Offline
Thanks. There doesnt seem to be any solution.
Offline
The only solution probably is to update the server.
sys2064
Offline
I fail to connect to network drives using linux-5.18.8.arch1-1-x86_64 or the current linux-5.18.9.arch1-1-x86_64. It worked fine with linux-5.18.7.arch1-1-x86_64 and the previous ones. I just tested it.
I connect to network drives using autofs and also just mount. I get the following error (I have changed the url just to paste it here)
[juanma@housepc ~]$ sudo mount -o user=Group //aa.bb.cc.dd.ee/ii/group Here/ Password for Group@//aa.bb.cc.dd.ee/ii/group: mount error(22): Invalid argument Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
dmesg says
CIFS: VFS: cifs_mount failed w/return code = -22
Adding all the other options I have in my autofs misc file:
-fstype=cifs,credentials=/root/aa-smb-auth,gid=985,file_mode=0770,dir_mode=0770
reports the same error.
As said, with kernel 5.18.7 this works fine, I just tested it. But with this older kernel I have no X.
Had a similar problem. In fstab, try adding "vers=3.0" to the options of the network drive entry. This is how it looks on my system:
//myserver/MyShare /mnt/nas cifs username=anonimous,password=,iocharset=utf8,dir_mode=0777,file_mode=0777,rw,vers=3.0 0 0
HTH
Offline
Or wait for 5.18.13.
sys2064
Offline