[OpenAFS] pam with krb5 + openafs

Jeffrey Altman jaltman@columbia.edu
Thu, 20 May 2004 10:39:43 -0400


This is a cryptographically signed message in MIME format.

--------------ms040403060302050707030407
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

David Miller wrote:

> hmm.. thats a pretty good idea.
> a gnome/kde panel applet would be even better.
> asks for passwd when ticket expires
>
> quick google turned this up:
> http://quackerhead.com/~duff/ticket_applet-2/
> it works reasonably well, doesnt seem to support renewable tickets.
> and doesnt ask for passwd on expired tickets
>
On Windows the afscreds.exe and leash32.exe (kfw) systray tools
poll the credential cache once a minute to see if there were any
changes.  When the tickets in the cache are about to expire (~20 minutes)
the tickets are auto-renewed.  If renewal succeeds, the equivalent
of aklog is executed to obtain new afs tokens. 

afscreds.exe has the ability to support multiple kerberos credential
caches.  It also maintains a mapping of afs token to kerberos
principal.   This allows afscreds.exe to obtain tokens for multiple
cells with a single kerberos principal.

It would be very beneficial if someone wrote an equivalent tool
for Unix/Linux.

Jeffrey Altman


--------------ms040403060302050707030407
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJOzCC
AvgwggJhoAMCAQICAwwjmjANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDQwNDE2MDIxODM0WhcNMDUwNDE2MDIxODM0
WjBGMR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSMwIQYJKoZIhvcNAQkBFhRq
YWx0bWFuQGNvbHVtYmlhLmVkdTCCASIwDQYJKo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