summaryrefslogtreecommitdiffstats
path: root/src/kdc/do_tgs_req.c
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2010-07-08 23:34:35 +0000
committerGreg Hudson <ghudson@mit.edu>2010-07-08 23:34:35 +0000
commite220a6288b10e1f9280e8aa2cb18ad56391e0a45 (patch)
treeb052d1e6cb8a61ad28acf1a246fae3e808ba1530 /src/kdc/do_tgs_req.c
parenteb75acd30b4bee1124174c8ba5740a7ad1c97ba4 (diff)
downloadkrb5-e220a6288b10e1f9280e8aa2cb18ad56391e0a45.tar.gz
krb5-e220a6288b10e1f9280e8aa2cb18ad56391e0a45.tar.xz
krb5-e220a6288b10e1f9280e8aa2cb18ad56391e0a45.zip
Create a KRB5_KDB_FLAG_ALIAS_OK to control whether plugin modules
should return in-realm aliases. Set it where appropriate, and use it in the LDAP module instead of intuiting the result based on other flags. ticket: 6749 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24178 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc/do_tgs_req.c')
-rw-r--r--src/kdc/do_tgs_req.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c
index eeafa071c1..2c4514ca20 100644
--- a/src/kdc/do_tgs_req.c
+++ b/src/kdc/do_tgs_req.c
@@ -205,6 +205,7 @@ process_tgs_req(krb5_data *pkt, const krb5_fulladdr *from,
/* XXX make sure server here has the proper realm...taken from AP_REQ
header? */
+ setflag(s_flags, KRB5_KDB_FLAG_ALIAS_OK);
if (isflagset(request->kdc_options, KDC_OPT_CANONICALIZE)) {
setflag(c_flags, KRB5_KDB_FLAG_CANONICALIZE);
setflag(s_flags, KRB5_KDB_FLAG_CANONICALIZE);