s3-libads: Fix compilation with MIT Kerberos
authorAndreas Schneider <asn@samba.org>
Tue, 26 Apr 2016 13:45:17 +0000 (15:45 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 26 Apr 2016 20:47:19 +0000 (22:47 +0200)
ENCTYPE_NULL is defined by the RFC and used by MIT Kerberos. Heimdal
also provides ENCTYPE_NULL.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Apr 26 22:47:19 CEST 2016 on sn-devel-144

source3/libads/kerberos_keytab.c

index 8a3363c577a2ce813c5919b0f4a27722e919cef9..731895e0bc2a0d9aefb74b00fb0aeb739aec3ffb 100644 (file)
@@ -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,