From 3c60433641ce2e86b9b04778c8f8652ef0d097e4 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 11 Apr 2012 15:02:10 +0200 Subject: Make re_expression and full_name_format per domain options * Allows different user/domain qualified names for different domains. For example Domain\User or user@domain. * The global re_expression and full_name_format options remain as defaults for the domains. * Subdomains get the re_expression and full_name_format of their parent domain. https://bugzilla.redhat.com/show_bug.cgi?id=811663 --- src/responder/common/responder.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/responder/common/responder.h') diff --git a/src/responder/common/responder.h b/src/responder/common/responder.h index 27a58eae5..2cc85445c 100644 --- a/src/responder/common/responder.h +++ b/src/responder/common/responder.h @@ -93,8 +93,6 @@ struct resp_ctx { const char *sss_pipe_name; const char *confdb_service_path; - struct sss_names_ctx *names; - hash_table_t *dp_request_table; struct timeval get_domains_last_call; @@ -154,6 +152,10 @@ int sss_parse_name(TALLOC_CTX *memctx, struct sss_names_ctx *snctx, const char *orig, char **domain, char **name); +int sss_parse_name_for_domains(TALLOC_CTX *memctx, + struct sss_domain_info *domains, + const char *orig, char **domain, char **name); + int sss_dp_get_domain_conn(struct resp_ctx *rctx, const char *domain, struct be_conn **_conn); struct sss_domain_info * -- cgit