[38144] in Kerberos

home help back first fref pref prev next nref lref last post

set_string/pkinit_cert_match

daemon@ATHENA.MIT.EDU (Pallissard, Matthew)
Thu Dec 28 14:44:11 2017

Date: Thu, 28 Dec 2017 11:05:33 -0800
From: "Pallissard, Matthew" <kerberos@pallissard.net>
To: kerberos@mit.edu
Message-ID: <20171228190533.bhplkathphu2ynjg@laptop.ihme.uw.edu>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

I'm having issues when trying to use set_string with pkinit_cert_match.   PKINIT does work when the SAN matches the user's principal explicitly.  It does not work when I try to map it to a user where the principal does not match the SAN.

I'm using MIT kerberos 1.16 on both clients and servers.

The KDC replies with 'Received error from KDC: -1765328309/Client name mismatch' no matter what I try to match on.

I've tried several variations (with/without whitespace, commas escaped, with/without quotes, explicit fields, wildcards, etc)

set_string differentuser pkinit_cert_match <SAN>.*@PALLISSARD.NET
set_string differentuser pkinit_cert_match <SAN>.*
set_string differentuser pkinit_cert_match <SAN>user@PALLISSARD.NET
set_string differentuser  pkinit_cert_match "<SUBJECT>C=US,ST=Full,O=Subject,OU=line,CN=user"
set_string differentuser  pkinit_cert_match "<SUBJECT>.*CN=user"


'pkinit_eku_checking = none' is set on the KDC.   I've tried it in the [kdcdefaults] section as well as the realm specific sub-section of [realms].


Am I missing something here?  Thanks in advance.



Matt Pallissard
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post