diff options
author | Volker Lendecke <vl@samba.org> | 2011-06-04 14:18:31 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-06-04 12:44:58 +0200 |
commit | e28df27f2a6744e20e6413cee0f48c66c920e080 (patch) | |
tree | 749fb2d463bf049b22ab269edf4f0e0c71a70a08 /source3 | |
parent | 3c9b3b2befc524f21c59f46ea9be1602b4b1bfe8 (diff) | |
download | samba-e28df27f2a6744e20e6413cee0f48c66c920e080.tar.gz samba-e28df27f2a6744e20e6413cee0f48c66c920e080.tar.bz2 samba-e28df27f2a6744e20e6413cee0f48c66c920e080.zip |
s3: Fix the build on FreeBSD 8
This is probably not the last word on gss_mech_krb5, but for now it fixes
the build on FreeBSD
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index 12d083b468..324ada4c54 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -3917,6 +3917,11 @@ if test x"$with_ads_support" != x"no"; then AC_CHECK_FUNC_EXT(gss_oid_equal, $KRB5_LIBS) AC_CHECK_FUNC_EXT(gss_inquire_sec_context_by_oid, $KRB5_LIBS) + # This is for FreeBSD (and possibly others). gss_mech_krb5 is a + # #define to GSS_KRB5_MECHANISM, which is defined in -lgssapi_krb5 + AC_CHECK_LIB_EXT(gssapi_krb5, KRB5_LIBS, GSS_KRB5_MECHANISM, + [KRB5_LIBS="$KRB5_LIBS -lgssapi_krb5"]) + # MIT krb5 1.8 does not expose this call (yet) AC_CHECK_DECLS(krb5_get_credentials_for_user, [], [], [#include <krb5.h>]) |