auth/kerberos: Use KRB5_PRINCIPAL_UNPARSE_DISPLAY in kerberos_create_pac()
commitbc8b580659d429690f6b54f17368526fc8c845e3
authorAndrew Bartlett <abartlet@samba.org>
Wed, 11 Mar 2015 22:27:57 +0000 (12 11:27 +1300)
committerGünther Deschner <gd@samba.org>
Thu, 12 Mar 2015 16:13:42 +0000 (12 17:13 +0100)
tree749c8664d36edb43714dd7b44f3c4c038a460764
parente48d136e3a5c89c9bab8ea898775fad1449d2f96
auth/kerberos: Use KRB5_PRINCIPAL_UNPARSE_DISPLAY in kerberos_create_pac()

This ensures that in the all-Samba PAC creation code, we do not escape a space character if present
in the logon name.  This matches what we do in the Heimdal code in the KDC.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/auth/kerberos/kerberos_pac.c