diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-06-16 22:45:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:17 -0500 |
commit | 10d8a860db5734067c2a7f0326a2f09cf9168fc1 (patch) | |
tree | ad9a14afb2ed87d48360f9c0d5c9d64021237d74 /source4 | |
parent | ffa363218804d46c72015a013cc9a9af2cb6b738 (diff) | |
download | samba-10d8a860db5734067c2a7f0326a2f09cf9168fc1.tar.gz samba-10d8a860db5734067c2a7f0326a2f09cf9168fc1.tar.bz2 samba-10d8a860db5734067c2a7f0326a2f09cf9168fc1.zip |
r7651: Only convert SERVER requests to KRBTGT requests.
Andrew Bartlett
(This used to be commit a948e743bbc691798e6a956b35d8e09cfc91f988)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/kdc/hdb-ldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/hdb-ldb.c b/source4/kdc/hdb-ldb.c index c8078c5b1e..b751ff33c0 100644 --- a/source4/kdc/hdb-ldb.c +++ b/source4/kdc/hdb-ldb.c @@ -736,7 +736,7 @@ static krb5_error_code LDB_fetch(krb5_context context, HDB *db, unsigned flags, /* 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, |