cifs multiuser mount not working after upgrade from CentOS 7 to 9 Stream

Issues related to applications and software problems and general support
Post Reply
tash_usa
Posts: 3
Joined: 2023/12/28 22:15:30

cifs multiuser mount not working after upgrade from CentOS 7 to 9 Stream

Post by tash_usa » 2024/01/19 23:18:01

Issue:

As root, works fine:

Code: Select all

$ mount -t cifs -o credentials=/etc/creds,vers=1.0,multiuser,sec=ntlmss //example.host.org/pnl /data/pnl/
$ ls /data/pnl/
(all files are listed)
As unprivileged user abc, does not work:

Code: Select all

$ cifscreds add -u abc example.host.org
$ ls /data/pnl/
ls: cannot access '/data/pnl/': Permission denied
In /var/log/messages, I get the unhelpful error log:

Code: Select all

 CIFS: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
 CIFS: VFS: \\erisonefs.partners.org Send error in SessSetup = -13
Observations contradictory to the above:

(1) The above multiuser mount worked fine in CentOS 7. The problem is happening after upgrade to CentOS 9 Stream.

(2) Direct mount as abc works fine:

Code: Select all

mount -t cifs -o user=abc,vers=1.0 //example.host.org/pnl /data/pnl/
ls /data/pnl/
(all files are listed)
Other things tried:
I removed sec argument and shuffled vers but neither helped.

Reference: https://access.redhat.com/documentation ... _smb_share

Post Reply