Re: multiuser mount not working in CentOS 9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The issue happened between CentOS 6 server and 9 client. Once I moved
to a CentOS 7 or 9 server, it did not happen anymore for the 9 client.
So I suppose kernel of CentOS 6 cannot recognize 9's ntlmssp method.

Best,
Tashrif

On Wed, Jan 24, 2024 at 12:17 PM Tashrif <tashrifbillah@xxxxxxxxx> wrote:
>
> As root, this works fine:
>
> $ 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)
>
> But as unprivileged user abc, this does not work:
>
> $ 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:
>
> 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:
>
> mount -t cifs -o user=abc,vers=1.0 //example.host.org/pnl /data/pnl/
> ls /data/pnl/
> (all files are listed)
>
> ===
>
> Can I get some help?
> Thanks,
> Tashrif





[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux