summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/configure.in2
-rw-r--r--source3/libsmb/clikrb5.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index d01dc43314..3215ece08c 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -3857,7 +3857,7 @@ if test x"$with_ads_support" != x"no"; then
use_ads=no
fi
- if test x"$ac_cv_func_ext_decode_krb5_ap_req" != x"yes"
+ if test x"$ac_cv_func_ext_krb5_decode_ap_req" != x"yes"
then
AC_MSG_WARN(no KRB5_AP_REQ_DECODING_FUNCTION detected)
use_ads=no
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 2415b28160..a40d684d2c 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -955,7 +955,6 @@ out:
*kvno = get_kvno_from_ap_req(&ap_req);
*enctype = get_enctype_from_ap_req(&ap_req);
- smb_krb5_free_ap_req(context, &ap_req);
free_AP_REQ(ap_req);
return 0;
}