Friday, April 19, 2024
 Popular · Latest · Hot · Upcoming
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 30789  / 1 Year ago, sun, february 19, 2023, 10:19:39

My fstab for connecting to a local NAS was always



//192.168.111.112/RAID /home/moi/share/OMV cifs noauto,users,username=USERNAME,passwd=PASSWORD


After upgrading my system from Lubuntu 16.04 to 18.04 this did not work any more, giving the error-message:



Failed to query password: Permission denied
Password for USER@//192.168.111.112/RAID: mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

More From » mount

 Answers
1

What worked for me was adding vers=1.0 to the options in fstab in combination with changing the option for password from passwd to password:



//192.168.111.112/RAID /home/moi/share/OMV cifs  vers=1.0,noauto,users,username=USERNAME,password=PASSWORD


This helped to find an error-log:



tail -f  /var/log/kern.log 


I would appreciate any further input.






EDIT: Sept 2019



Today I realized that users is no longer a valid argument of the mount cifs command. Also, vers=1.0 should be the default, according to man mount.cifs.


[#8378] Tuesday, February 21, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
steaocyte

Total Points: 345
Total Questions: 122
Total Answers: 121

Location: Spain
Member since Wed, Nov 23, 2022
1 Year ago
;