linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* User loosing access to cifs mount
@ 2022-06-01 16:17 Orion Poplawski
  0 siblings, 0 replies; only message in thread
From: Orion Poplawski @ 2022-06-01 16:17 UTC (permalink / raw)
  To: linux-cifs

[-- Attachment #1: Type: text/plain, Size: 1359 bytes --]

We're using multiuser automounted cifs mounts.  Generally works fine, but
sometimes a user looses access:

$ klist
Ticket cache: KEYRING:persistent:XXXX:krb_ccache_pPI2o2r
Default principal: user@REALM

Valid starting       Expires              Service principal
06/01/2022 08:53:25  06/01/2022 18:08:51  cifs/server@REALM
        renew until 06/07/2022 17:49:23
06/01/2022 08:08:51  06/01/2022 18:08:51  krbtgt/REALM@REALM
        renew until 06/07/2022 17:49:23

$ ls -la /nwra/monterey/csp/
ls: cannot access '/nwra/monterey/csp/': Permission denied

mount shows:

//SERVER/csp on /nwra/monterey/csp type cifs
(rw,relatime,vers=3.1.1,sec=krb5,cruid=XXXX,cache=strict,multiuser,uid=0,noforceuid,gid=0,noforcegid,addr=XXXX,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,noperm,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=15)

The cruid is the id of the user without access.  Another user of the system
does have access.

Fedora 34 - 5.17.5-100.fc34.x86_64

If the directory unmounts and gets remounted then access is restored.

Any idea what to test and how to debug?

Thanks!

-- 
Orion Poplawski
IT Systems Manager                         720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@nwra.com
Boulder, CO 80301                 https://www.nwra.com/

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3847 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-01 16:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-01 16:17 User loosing access to cifs mount Orion Poplawski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).