diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-06-17 09:13:12 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-06-18 13:49:30 +1000 |
commit | 0ac46b00abf045c6dcd48ed9a96f948fc8416138 (patch) | |
tree | 00ac8930902b3008f9046e0bafd7a4d978abe06b /source4/auth | |
parent | 95345986e855c5d26a6728ba0b996ac7a104cfb8 (diff) | |
download | samba-0ac46b00abf045c6dcd48ed9a96f948fc8416138.tar.gz samba-0ac46b00abf045c6dcd48ed9a96f948fc8416138.tar.bz2 samba-0ac46b00abf045c6dcd48ed9a96f948fc8416138.zip |
s4:gensec Print GSSAPI error message when unable to find PAC
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/gensec/gensec_krb5.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/auth/gensec/gensec_krb5.c b/source4/auth/gensec/gensec_krb5.c index b04abfc16c..09bdec512d 100644 --- a/source4/auth/gensec/gensec_krb5.c +++ b/source4/auth/gensec/gensec_krb5.c @@ -609,7 +609,9 @@ static NTSTATUS gensec_krb5_session_info(struct gensec_security *gensec_security ret, mem_ctx))); if (gensec_security->auth_context && !gensec_setting_bool(gensec_security->settings, "gensec", "require_pac", false)) { - DEBUG(1, ("Unable to find PAC, resorting to local user lookup: %s")); + DEBUG(1, ("Unable to find PAC for %s, resorting to local user lookup: %s", + principal_string, smb_get_krb5_error_message(context, + ret, mem_ctx))); nt_status = gensec_security->auth_context->get_server_info_principal(mem_ctx, gensec_security->auth_context, principal_string, |