summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-20 17:39:50 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-27 11:21:37 +1000
commite04bab4a19658009e53949b814a58d177966a9cd (patch)
treebb9bb8962f23590a8b1272cd5fc2cdbea37a4993 /lib
parente81ea8a291d1a51a1b69dfeabf686e72f284689b (diff)
downloadsamba-e04bab4a19658009e53949b814a58d177966a9cd.tar.gz
samba-e04bab4a19658009e53949b814a58d177966a9cd.tar.bz2
samba-e04bab4a19658009e53949b814a58d177966a9cd.zip
libcli/auth Move Samba4's gssapi_error_string from GENSEC to libcli/auth
This will allow the GSSAPI PAC fetch code to use it. Andrew Bartlett
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/system/kerberos.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/replace/system/kerberos.h b/lib/replace/system/kerberos.h
index bb1f1b9a09..10d5f76ccc 100644
--- a/lib/replace/system/kerberos.h
+++ b/lib/replace/system/kerberos.h
@@ -37,5 +37,15 @@
#include <com_err.h>
#endif
+#if HAVE_GSSAPI_GSSAPI_H
+#include <gssapi/gssapi.h>
+#elif HAVE_GSSAPI_GSSAPI_GENERIC_H
+#include <gssapi/gssapi_generic.h>
+#elif HAVE_GSSAPI_H
+#include <gssapi.h>
+#endif
+
+#include <gssapi/gssapi_krb5.h>
+
#endif
#endif