s3-kerberos: fix flush_keytab() compile with heimdal.
authorGünther Deschner <gd@samba.org>
Tue, 31 Aug 2010 09:01:23 +0000 (11:01 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 31 Aug 2010 21:17:39 +0000 (23:17 +0200)
krb5_kt_cursor is not a pointer in heimdal but a struct.

Guenther

source3/librpc/rpc/dcerpc_krb5.c

index 561259adf7dfaad59037f2800ca44bb0f747c4b8..ede4f6b5972bf582e521942df46583c1e02f20ba 100644 (file)
@@ -27,7 +27,7 @@
 static krb5_error_code flush_keytab(krb5_context krbctx, krb5_keytab keytab)
 {
        krb5_error_code ret;
-       krb5_kt_cursor kt_cursor = NULL;
+       krb5_kt_cursor kt_cursor;
        krb5_keytab_entry kt_entry;
 
        ZERO_STRUCT(kt_entry);