summaryrefslogtreecommitdiffstats
path: root/src/gss_names.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-03-19 18:29:08 -0400
committerSimo Sorce <simo@redhat.com>2015-06-06 10:49:32 -0400
commitb7ff40d4e30e1ee79684abe3c76b781a0c21dc57 (patch)
treed55ac03f709b14ad3dd2a1be026990e9fc3bab76 /src/gss_names.c
parent160940319094d03a5f97d91f31b1e2f4228778c8 (diff)
downloadgss-ntlmssp-master.tar.gz
gss-ntlmssp-master.tar.xz
gss-ntlmssp-master.zip
Add placeholder inquire_nameHEADmaster
Otherwise in some cases MIT's GSSAPI can crash after trying to inquire a name. For example see: https://github.com/modauthgssapi/mod_auth_gssapi/issues/34 Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/gss_names.c')
-rw-r--r--src/gss_names.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gss_names.c b/src/gss_names.c
index 1a35ed2..a663d21 100644
--- a/src/gss_names.c
+++ b/src/gss_names.c
@@ -634,3 +634,12 @@ done:
*netbios_host = nb_computer_name;
return ret;
}
+
+uint32_t gssntlm_inquire_name(uint32_t *minor_status,
+ gss_name_t name,
+ int *name_is_MN,
+ gss_OID *MN_mech,
+ gss_buffer_set_t *attrs)
+{
+ return GSS_S_UNAVAILABLE;
+}