summaryrefslogtreecommitdiffstats
path: root/src/providers/krb5/krb5_utils.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-10-19 18:28:41 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-11-05 00:14:05 +0100
commitf301ab3bd5959a796f2e88aa29fe40471a800e78 (patch)
treebc3018b82374ed1fea2fbc3f076bf4971b7e1285 /src/providers/krb5/krb5_utils.h
parentdcc133e6357e321d101cf39a2999901e33ae988e (diff)
downloadsssd-f301ab3bd5959a796f2e88aa29fe40471a800e78.tar.gz
sssd-f301ab3bd5959a796f2e88aa29fe40471a800e78.tar.xz
sssd-f301ab3bd5959a796f2e88aa29fe40471a800e78.zip
krb5_auth_send: check for sub-domains
If there is an authentication request for a user from a sub-domain a temporary sysdb context is generated to allow lookups in the corresponding sub-tree in the cache.
Diffstat (limited to 'src/providers/krb5/krb5_utils.h')
-rw-r--r--src/providers/krb5/krb5_utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/krb5/krb5_utils.h b/src/providers/krb5/krb5_utils.h
index 00dfc8515..43fe77bd8 100644
--- a/src/providers/krb5/krb5_utils.h
+++ b/src/providers/krb5/krb5_utils.h
@@ -83,4 +83,7 @@ errno_t cc_dir_create(const char *location, pcre *illegal_re,
#endif /* HAVE_KRB5_DIRCACHE */
+errno_t get_domain_or_subdomain(TALLOC_CTX *mem_ctx, struct be_ctx *be_ctx,
+ char *domain_name,
+ struct sss_domain_info **dom);
#endif /* __KRB5_UTILS_H__ */