All the systems that are facing the following issue are running Xubuntu 22.04.4 LTS.
I am using the following command to connect to samba shares:
sudo mount.cifs //192.168.../shareName mountPath -o rw,vers=default,uid=1000,forceuid,gid=1000,forcegid,username="username",password="password" --verbose
This command used to work flawlessly before the latest 6.5.0-27-generic kernel update.
Now, although it creates a successful connection, whenever I'm accessing files from the client computer's thunar
I see at least a dozen messages like the ones below, in the server's journal.log:
pam_unix(samba:session): session opened for user xxxxxxx(uid=xxx) by (uid=0)
pam_unix(samba:session): session closed for user xxxxxxx
The samba session is closed and reopened continuously for as long as I keep accessing files from the client computer.
Also, the following message appeared on the client computer's journal.log once:
CIFS: reconnect tcon failed rc=-11
The messages above do not appear if I make the initial share connection using thunar
instead of mount.cifs
.
How can this be fixed please?
Thank you.