svn commit: samba r7680 - in branches/SAMBA_4_0/source/kdc: .

Maurice Massar massar at unix-ag.uni-kl.de
Sun Jun 19 17:02:36 GMT 2005


hi,

> Log:
> Move to using our own private enum for the principal type inside the
> hdb-ldb module.  This removes the need for the KRBTGT case to exist in
> the broader heimdal code.

I think you have missed one spot, which results in a
Kerberos: Server has invalid flag set -- krbtgt/.... at ....
when I try kinit. Patch is attached

cu
Maurice
-------------- next part --------------
Index: kdc/hdb-ldb.c
===================================================================
--- kdc/hdb-ldb.c	(revision 7759)
+++ kdc/hdb-ldb.c	(working copy)
@@ -820,7 +820,7 @@
 	}
 	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");	


More information about the samba-technical mailing list