diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-04-16 15:39:00 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-04-27 11:56:48 +1000 |
commit | cd7112ba84759a677e51111e44b5f531d602c77c (patch) | |
tree | 751f427e286cb33e83f13881e1ec398c8d81729f /source3/configure.in | |
parent | f0ce322c770010f1d0714f4e06ee6d9ad1b9e9e5 (diff) | |
download | samba-cd7112ba84759a677e51111e44b5f531d602c77c.tar.gz samba-cd7112ba84759a677e51111e44b5f531d602c77c.tar.bz2 samba-cd7112ba84759a677e51111e44b5f531d602c77c.zip |
s3-gse: Don't release the mech OID from gss_accept_security_context
This is constant data according to the man pages I find for this
fucntion, and causes a segfault to free() when linked to Heimdal. I
am advised that while it is constant for gss_mech_krb5, it may not be
for other mechanisms, so an assert will ensure this is dealt with by
the programmer who extends this code in future.
Andrew Bartlett
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index 883f0b1df0..a463aa910d 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -3870,6 +3870,7 @@ if test x"$with_ads_support" != x"no"; then AC_CHECK_FUNC_EXT(krb5_free_host_realm, $KRB5_LIBS) AC_CHECK_FUNC_EXT(gss_krb5_import_cred, $KRB5_LIBS) AC_CHECK_FUNC_EXT(gss_get_name_attribute, $KRB5_LIBS) + AC_CHECK_FUNC_EXT(gss_oid_equal, $KRB5_LIBS) # MIT krb5 1.8 does not expose this call (yet) AC_CHECK_DECLS(krb5_get_credentials_for_user, [], [], [#include <krb5.h>]) |