On 02/23/2015 01:51 PM, Jakub Hrozek wrote:
On Mon, Feb 23, 2015 at 01:45:51PM +0100, Pavel Reichl wrote:
> On 02/23/2015 01:33 PM, Jakub Hrozek wrote:
>> kerr = handle_randomized(ccname);
>> - if (kerr) goto done;
>> + if (kerr != 0) {
>> + DEBUG(SSSDBG_CRIT_FAILURE,
>> + "Cannot create randomized ccache name: %d\n", kerr);
>> + goto done;
>> + }
> Hello,
> why didn't you call here KRB5_CHILD_DEBUG() as you do at all other places?
> Thanks!
Because handle_randomized() returns errno codes, not krb5 codes, so I
assume KRB5_CHILD_DEBUG() would print something like "Unknown error"
anyway.
_______________________________________________
sssd-devel mailing list
sssd-devel(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel Oh, I see now. Thanks.
Maybe kerr is not the right variable to check return code then. But I
don't think its a big problem.