From: Andreas Schneider Date: Tue, 26 Apr 2016 13:45:17 +0000 (+0200) Subject: s3-libads: Fix compilation with MIT Kerberos X-Git-Tag: talloc-2.1.7~125 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f9099d3c469efd4085ca0b0e81941c77f1b61c4f;p=thirdparty%2Fsamba.git s3-libads: Fix compilation with MIT Kerberos ENCTYPE_NULL is defined by the RFC and used by MIT Kerberos. Heimdal also provides ENCTYPE_NULL. Signed-off-by: Andreas Schneider Reviewed-by: Ralph Boehme Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Tue Apr 26 22:47:19 CEST 2016 on sn-devel-144 --- diff --git a/source3/libads/kerberos_keytab.c b/source3/libads/kerberos_keytab.c index 8a3363c577a..731895e0bc2 100644 --- a/source3/libads/kerberos_keytab.c +++ b/source3/libads/kerberos_keytab.c @@ -280,7 +280,7 @@ int ads_keytab_flush(ADS_STRUCT *ads) ret = smb_krb5_kt_seek_and_delete_old_entries(context, keytab, kvno, - KRB5_ENCTYPE_NULL, + ENCTYPE_NULL, NULL, NULL, true,