> On 11/26/2018 06:30 AM, Santosh Kumar wrote:
> > i'm getting crash:
> > (gdb) bt
> > #0 0xf7673f60 in krb5_principal_compare_flags (context=0xa449930,
> > princ1=0x0, princ2=0xa444ab0, flags=0) at princ_comp.c:108
> > #1 0xf7674183 in krb5_principal_compare (context=0xa449930, princ1=0x0,
> > princ2=0xa444ab0) at princ_comp.c:169
> > #2 0xf764f1ec in standard_fields_match (context=0xa449930,
> > mcreds=0xfff48dc8, creds=0xfff48ba0) at cc_retr.c:67
> You need to set a client principal in the matching cred. Heimdal allows
> searching for just the server principal, but MIT's library does not.
> > should i use code = krb5int_construct_matching_creds(context, options,
> > in_creds, &mcreds, &fields); before calling retrive from cache.
> That's an internal function (as indicated by the "int" in the prefix),
> so you can't use it in an application.
Re: Query, Need help for building principal and retrieving service cred from cache.
On 11/27/2018 05:24 AM, Santosh Kumar wrote:> now while retrieving
from cache - "Matching credential not found"
> Am i building the wrong client or server principal, could you/anyone
> please suggest.
> On 11/27/2018 05:24 AM, Santosh Kumar wrote:> now while retrieving
> from cache - "Matching credential not found"
> > Am i building the wrong client or server principal, could you/anyone
> > please suggest.
> From klist, the client principal is leema\@[hidden email],
> while the code appears to be constructing [hidden email].
Kerberos mailing list [hidden email] https://mailman.mit.edu/mailman/listinfo/kerberos