summaryrefslogtreecommitdiff
path: root/auth/kerberos
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2016-09-28 19:19:06 +0200
committerGünther Deschner <gd@samba.org>2016-09-29 08:02:18 +0200
commita5264b187b9b9c777c567c8bbb39c1259c03ab9d (patch)
tree7bb0cee94b9372cafccc011f8fff281059ebea63 /auth/kerberos
parentcad43f2cd49956a386a2911424da2854a4a1f06e (diff)
downloadsamba-a5264b187b9b9c777c567c8bbb39c1259c03ab9d.tar.gz
mit: make it possible to build with MIT kerberos and --picky-developer
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'auth/kerberos')
-rw-r--r--auth/kerberos/gssapi_pac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth/kerberos/gssapi_pac.c b/auth/kerberos/gssapi_pac.c
index bcc1ba4372a..253976aecdf 100644
--- a/auth/kerberos/gssapi_pac.c
+++ b/auth/kerberos/gssapi_pac.c
@@ -112,10 +112,11 @@ NTSTATUS gssapi_obtain_pac_blob(TALLOC_CTX *mem_ctx,
&pac_buffer, &pac_display_buffer, &more);
if (gss_maj != 0) {
+ gss_OID oid = discard_const(gss_mech_krb5);
DBG_NOTICE("obtaining PAC via GSSAPI gss_get_name_attribute "
"failed: %s\n", gssapi_error_string(mem_ctx,
gss_maj, gss_min,
- gss_mech_krb5));
+ oid));
return NT_STATUS_ACCESS_DENIED;
} else if (authenticated && complete) {
/* The PAC blob is returned directly */