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

abartlet at samba.org abartlet at samba.org
Thu Jun 16 22:45:31 GMT 2005


Author: abartlet
Date: 2005-06-16 22:45:30 +0000 (Thu, 16 Jun 2005)
New Revision: 7651

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7651

Log:
Only convert SERVER requests to KRBTGT requests. 

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/kdc/hdb-ldb.c


Changeset:
Modified: branches/SAMBA_4_0/source/kdc/hdb-ldb.c
===================================================================
--- branches/SAMBA_4_0/source/kdc/hdb-ldb.c	2005-06-16 21:07:45 UTC (rev 7650)
+++ branches/SAMBA_4_0/source/kdc/hdb-ldb.c	2005-06-16 22:45:30 UTC (rev 7651)
@@ -736,7 +736,7 @@
 	/* Cludge, cludge cludge.  If the realm part of krbtgt/realm,
 	 * is in our db, then direct the caller at our primary
 	 * krgtgt */
-	if (ent_type != HDB_ENT_TYPE_KRBTGT 
+	if (ent_type == HDB_ENT_TYPE_SERVER 
 	    && principal->name.name_string.len == 2
 	    && (strcmp(principal->name.name_string.val[0], KRB5_TGS_NAME) == 0)
 	    && (LDB_lookup_realm(context, (struct ldb_context *)db->hdb_db,



More information about the samba-cvs mailing list