r7765: Thanks to Maurice Massar <massar@unix-ag.uni-kl.de> for spotting that
authorAndrew Bartlett <abartlet@samba.org>
Sun, 19 Jun 2005 22:46:12 +0000 (22:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:18:33 +0000 (13:18 -0500)
I missed one spot in moving from hdb_ent_type to the
internal-to-hdb-ldb hdb_ldb_ent_type, which results in a

Kerberos: Server has invalid flag set -- krbtgt/....@....

on kinit.

Andrew Bartlett

source/kdc/hdb-ldb.c

index ee5bed2682a01ab1a1af4b8be89ec4953d58feb9..149ebeedca778a20f8af1fa52aa902685f0ee7f8 100644 (file)
@@ -820,7 +820,7 @@ static krb5_error_code LDB_fetch(krb5_context context, HDB *db, unsigned flags,
        }
        if (ret == 0) {
                ret = LDB_message2entry(context, db, mem_ctx, 
-                                       principal, ent_type, 
+                                       principal, ldb_ent_type, 
                                        realm_msg[0], msg[0], entry);
                if (ret != 0) {
                        krb5_warnx(context, "LDB_fetch: message2entry failed\n");