diff options
author | Greg Hudson <ghudson@mit.edu> | 2010-07-08 23:34:35 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2010-07-08 23:34:35 +0000 |
commit | e220a6288b10e1f9280e8aa2cb18ad56391e0a45 (patch) | |
tree | b052d1e6cb8a61ad28acf1a246fae3e808ba1530 /src/lib/kadm5/srv | |
parent | eb75acd30b4bee1124174c8ba5740a7ad1c97ba4 (diff) | |
download | krb5-e220a6288b10e1f9280e8aa2cb18ad56391e0a45.zip krb5-e220a6288b10e1f9280e8aa2cb18ad56391e0a45.tar.gz krb5-e220a6288b10e1f9280e8aa2cb18ad56391e0a45.tar.bz2 |
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/lib/kadm5/srv')
-rw-r--r-- | src/lib/kadm5/srv/server_kdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/kadm5/srv/server_kdb.c b/src/lib/kadm5/srv/server_kdb.c index cb60971..deb7181 100644 --- a/src/lib/kadm5/srv/server_kdb.c +++ b/src/lib/kadm5/srv/server_kdb.c @@ -242,7 +242,8 @@ kdb_get_entry(kadm5_server_handle_t handle, *kdb_ptr = NULL; - ret = krb5_db_get_principal(handle->context, principal, 0, &kdb); + ret = krb5_db_get_principal(handle->context, principal, + KRB5_KDB_FLAG_ALIAS_OK, &kdb); if (ret == KRB5_KDB_NOENTRY) return(KADM5_UNK_PRINC); if (ret) |