[SSSD] [PATCH] Move and extend function for finding principal in keytab

Stephen Gallagher sgallagh at redhat.com
Wed Apr 20 14:25:30 UTC 2011


On Tue, 2011-03-29 at 15:20 +0200, Jan Zelený wrote:
> Stephen Gallagher <sgallagh at redhat.com> wrote:
> > Nack.
> > 
> > In match_principal(), use
> > krb5_unparse_name_flags(ctx, principal,
> >                         KRB5_PRINCIPAL_UNPARSE_NO_REALM,
> >                         &primary);
> > 
> > Please use krb5_principal_get_realm() instead of krb5_princ_realm(). The
> > latter is deprecated. This will also make your comparisons later
> > somewhat easier, as krb5_principal_get_realm() returns a string instead
> > of krb5_data.
> 
> Fixed patch in attachment.


Ack

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110420/be59c9f4/attachment.sig>


More information about the sssd-devel mailing list