summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-05-07 17:55:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:42 -0500
commit490d6120a9b76d5d53bcf90fff5aeac48ac3c1fe (patch)
treef2a8d3f55c6ab5d04659936eef62575f4a77b972 /source4/kdc
parente9237f96eff562071b9cda2b7a4ea372af54abc9 (diff)
downloadsamba-490d6120a9b76d5d53bcf90fff5aeac48ac3c1fe.tar.gz
samba-490d6120a9b76d5d53bcf90fff5aeac48ac3c1fe.tar.bz2
samba-490d6120a9b76d5d53bcf90fff5aeac48ac3c1fe.zip
r15497: I'm not really sure this is correct in terms of how we should be responding to
krbtgt/MY.REALM@MY.REALM TGS ticket requests, but for the moment, these are still marked as 'server' requests by the kerberos5.c caller. Andrew Bartlett (This used to be commit afaee0a6b7aba3db118e6529c341c9377bc26546)
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/hdb-ldb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/kdc/hdb-ldb.c b/source4/kdc/hdb-ldb.c
index c1d74ee406..217afab40a 100644
--- a/source4/kdc/hdb-ldb.c
+++ b/source4/kdc/hdb-ldb.c
@@ -810,6 +810,10 @@ static krb5_error_code LDB_fetch(krb5_context context, HDB *db,
if (ret != HDB_ERR_NOENTRY) {
return ret;
}
+ ret = LDB_fetch_krbtgt(context, db, mem_ctx, principal, flags, entry_ex);
+ if (ret != HDB_ERR_NOENTRY) {
+ return ret;
+ }
}
if (flags & HDB_F_GET_KRBTGT) {
ret = LDB_fetch_krbtgt(context, db, mem_ctx, principal, flags, entry_ex);