So, I just tested CIFS from 20.04 to Windows and Samba systems. Nothing wrong here.
Check everything in the mount.
- Ping the IP? Check.
- Verify permissions on the credentials file? Whoa. There isn't any file on the 20.04 box. Hum.... Add one. Restart autofs. Try again ... JOY!
Code:
$ ls /Data/K
'$RECYCLE.BIN'/ pagefile.sys Users/
'Hauppauge Capture'/ Photos/ V/
IPv6.disable.txt 'Recorded TV'/ VirtualBox/
n4-back.cmd 'System Volume Information'/
$ df .
Filesystem Size Used Avail Use% Mounted on
//172.22.22.14/K 74G 18G 57G 24% /Data/K
Appears to be working here.
About 5 yrs ago, systemd-mount took over from whatever the fstab subsystem do previously.
Code:
//192.168.1xxxServer_E /mnt/server_e cifs credentials=/root/.smbcredentials_server,vers=3.0 0 0
Looks like it has 2 typos. Try this:
Code:
//192.168.{missing}.1xx/Server_E /mnt/server_e cifs credentials=/root/.smbcredentials_server,vers=3.0 0 0
LAN IPs don't need to be hidden. They aren't sensitive at all.
I use a few other options.
Code:
iocharset=utf8,file_mode=0660,dir_mode=0770
Ensure the credentials file has a valid Windows/Samba name.
BTW, around March of 2020, Microsoft changed some of these long-standing defaults when it comes to CIFS shared storage. There are a few threads here about those changes with corrective solutions. Https://ubuntuforums.org/showthread....8#post13925468 is one of those. I have in my notes that a reboot is required for this. Restarting services on either Linux or Windows systems isn't sufficient.