@q is Kerberos still a thing? I feel like it’s something I’ve been vaguely aware of forever and never really understood what it is or how it works.
@jon every Microsoft's Active Directory domain to this day (and also Red Hat's FreeIPA domains) relies on Kerberos as the main auth mechanism for practically everything. MS are even currently *adding* peer-to-peer Kerberos ("local KDC") to Windows, to replace the older NTLM between non-domain machines.
traditional standalone (i.e. non-MS-flavoured) Kerberos is rare in the wild, but not dead (both MIT Krb5 and Heimdal are more-or-less maintained and the protocol keeps getting occasional updates).
plenty of protocols support Kerberos auth via "GSSAPI" or "SPNEGO", so e.g. you can get a ticket when logging in to the local Linux, then use that to authenticate to NFS, SMB shares, IMAP, SSH, webapps, etc.
@grawity neat, I somehow had it down as a dead end. Do you happen to know what cross platform support is like? Can it be used from macOS/iOS/Android or would I effectively need two auth paths if I want to support everything?
@grawity (I’m aware this is very lazyweb of me and I could just search for details so feel free to tell me to do so!)
@jon I don't know OSX well, but I *think* I've heard that it has quite extensive Kerberos support (based on Heimdal). IIRC it even used peer-to-peer Kerberos for AFP long before Windows started doing it.
MIT Kerberos used to exist on classic MacOS too.
iOS has *some* support for it, I've tested from iOS12 only, and you have to install a basic .mobileconfig profile telling it "these app IDs and/or these http[s]:// URLs may use this Kerberos realm", then it asks you for the username+password on first visit (with no option to save it...I think it would work better with PKINIT (where it uses a certificate rather than a password to get the initial ticket) but I've not tried that yet.)
Android IIRC needs an app that exposes a certain service to the OS (and there's no generic app for that, I think the idea was that a vendor's MDM app would provide Kerberos handling), I think it's technically doable but way too much effort.
So Kerberos is doable for desktop but will need a second auth path for mobile (likely client certificate).