r25789: print out what error happened...
authorStefan Metzmacher <metze@samba.org>
Fri, 2 Nov 2007 07:16:32 +0000 (08:16 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:44:00 +0000 (05:44 +0100)
metze

source/kdc/pac-glue.c

index b199978e3f23d5cbd0c5e337b2bb45580c10f7d4..9b2ea15513c26b05ebb1407bf8c54ab029733df2 100644 (file)
@@ -187,8 +187,8 @@ krb5_error_code samba_kdc_reget_pac(void *priv, krb5_context context,
        nt_status = ndr_pull_struct_blob(&pac_in, mem_ctx, &logon_info, 
                                      (ndr_pull_flags_fn_t)ndr_pull_PAC_LOGON_INFO_CTR);
        if (!NT_STATUS_IS_OK(nt_status) || !logon_info.info) {
+               DEBUG(0,("can't parse the PAC LOGON_INFO: %s\n", nt_errstr(nt_status)));
                talloc_free(mem_ctx);
-               DEBUG(0,("can't parse the PAC LOGON_INFO\n"));
                return EINVAL;
        }