1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00
Stefan Metzmacher 47a3f9cc5a heimdal:lib/krb5: verify_logonname() to handle multi component principal
FreeIPA can generate tickets with a client principal of
'host/hostname.example.com'.

verify_logonname() should just verify the principal name
in the PAC_LOGON_NAME is the same as the principal of
the client principal (without realm) of the ticket.

Samba commit b7cc8c1187ff967e44587cd0d09185330378f366
break this. We try to compare ['host']['hostname.example.com']
with ['host/hostname.example.com]' (as we interpret it as enterprise principal)
this fail if we don't compare them as strings.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11142

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2015-05-20 19:29:30 +02:00
..
2015-03-27 01:26:16 +01:00
2015-03-17 11:30:51 +01:00
2015-04-28 20:48:01 +02:00
2015-04-29 22:29:02 +02:00
2015-03-13 23:58:07 +01:00
2015-04-28 18:11:13 +02:00
2015-04-28 20:48:01 +02:00
2015-05-07 20:20:19 +02:00
2011-10-27 17:09:50 +02:00