summaryrefslogtreecommitdiffstats
path: root/src/providers/krb5/krb5_auth.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-10-18 16:14:40 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-11-05 00:14:05 +0100
commitc0680269167475aa9172b20d13ec3ace721a37ff (patch)
treeee3034c1e7a3479e59963c0fc5c5b4bccf00eda0 /src/providers/krb5/krb5_auth.h
parent74254ab3c4d6b9ca63488245bc88db7cf7689084 (diff)
downloadsssd-c0680269167475aa9172b20d13ec3ace721a37ff.tar.gz
sssd-c0680269167475aa9172b20d13ec3ace721a37ff.tar.xz
sssd-c0680269167475aa9172b20d13ec3ace721a37ff.zip
krb5_auth: check if principal belongs to a different realm
Add a flag if the principal used for authentication does not belong to our realm. This can be used to act differently for users from other realms.
Diffstat (limited to 'src/providers/krb5/krb5_auth.h')
-rw-r--r--src/providers/krb5/krb5_auth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/krb5/krb5_auth.h b/src/providers/krb5/krb5_auth.h
index cc079ba93..a23b8b47d 100644
--- a/src/providers/krb5/krb5_auth.h
+++ b/src/providers/krb5/krb5_auth.h
@@ -54,6 +54,7 @@ struct krb5child_req {
bool active_ccache_present;
bool valid_tgt_present;
bool run_as_user;
+ bool upn_from_different_realm;
};
errno_t krb5_setup(TALLOC_CTX *mem_ctx, struct pam_data *pd,