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)
Code: Select all
$ cifscreds add -u abc example.host.org
$ ls /data/pnl/
ls: cannot access '/data/pnl/': Permission denied
Code: Select all
CIFS: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
CIFS: VFS: \\erisonefs.partners.org Send error in SessSetup = -13
(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)
I removed sec argument and shuffled vers but neither helped.
Reference: https://access.redhat.com/documentation ... _smb_share