Skip to contentSkip to conversation

User loosing access to cifs mount

DISCUSSION Orion Poplawski 1 participant 1 message Jun 1, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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!

Signature · 5 lines
Orion Poplawski
IT Systems Manager                         720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       [email protected]
Boulder, CO 80301                 https://www.nwra.com/