[OpenAFS] Redux: Linux: systemctl --user vs. AFS
Markus Köberl
markus.koeberl@tugraz.at
Fri, 13 Aug 2021 22:11:03 +0200
--nextPart5740084.lOV4Wx5bFT
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
On Friday, 13 August 2021 20:29:03 CEST Dirk Heinrichs wrote:
> Carson Gaspar:
> > On 8/13/2021 11:01 AM, Dirk Heinrichs wrote:
> >> Tried the setup right away on Debian, but it doesn't work. Seems Debian
> >> adds some random string to the cache name, even if it's set to KEYRING:
> >>=20
> >> % LC_ALL=3DC klist|head -1
> >> Ticket cache: KEYRING:persistent:1000:krb_ccache_inOQJ0u
> >=20
> > This may be OpenSSH (or at least Debian's patched version). If you log
> > in via GSSAPI, sshd generates a unique per-session ccache, whether you
> > like it or not.
>=20
> But this happens with local logins as well. However, I'm using sssd to
> login via AD (samba).
>=20
> Bye...
>=20
> Dirk
ccache and ccache_dir options for pam_krb5 might help.
Have a look at man pam_krb5.
regards
Markus K=C3=B6berl
--nextPart5740084.lOV4Wx5bFT
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64
MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgIFADCABgkqhkiG9w0BBwEAAKCCEnww
ggWBMIIEaaADAgECAhA5ckQ6+SK3UdfTbBDdMTWVMA0GCSqGSIb3DQEBDAUAMHsxCzAJBgNVBAYT
AkdCMRswGQYDVQQIDBJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAOBgNVBAcMB1NhbGZvcmQxGjAYBgNV
BAoMEUNvbW9kbyBDQSBMaW1pdGVkMSEwHwYDVQQDDBhBQUEgQ2VydGlmaWNhdGUgU2VydmljZXMw
HhcNMTkwMzEyMDAwMDAwWhcNMjgxMjMxMjM1OTU5WjCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgT
Ck5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR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