svn commit: samba r1748 - branches/SAMBA_4_0/source/libcli/auth

Love lha at stacken.kth.se
Thu Aug 12 10:24:15 GMT 2004


metze at samba.org writes:

>  		*auth_data = data_blob(tkt->ticket.authorization_data->val->ad_data.data,
>  			tkt->ticket.authorization_data->val->ad_data.length);
>  #endif

While working in practice, this code is wrong. It should iterate over all
authorization-data element and get the type that if wants.

If you look at heimdal current, krb5_ticket_get_authorization_data_type()
is what you want.

Love

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 477 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20040812/412aa93a/attachment.bin


More information about the samba-technical mailing list