From 909a86af4eb99f5d311d7136cab78dca535ae304 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Fri, 31 May 2013 10:52:05 +0200 Subject: Lookup domains at startup To make sure that e.g. the short/NetBIOS domain name is available this patch make sure that the responders send a get_domains request to their backends at startup the collect the domain information or read it from the cache if the backend is offline. For completeness I added this to all responders even if they do not need the information at the moment. Fixes https://fedorahosted.org/sssd/ticket/1951 --- src/responder/common/responder.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/responder/common/responder.h') diff --git a/src/responder/common/responder.h b/src/responder/common/responder.h index 68b4ebb2..5331d5b7 100644 --- a/src/responder/common/responder.h +++ b/src/responder/common/responder.h @@ -303,6 +303,10 @@ struct tevent_req *sss_dp_get_domains_send(TALLOC_CTX *mem_ctx, errno_t sss_dp_get_domains_recv(struct tevent_req *req); +errno_t schedule_get_domains_task(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct resp_ctx *rctx); + errno_t csv_string_to_uid_array(TALLOC_CTX *mem_ctx, const char *cvs_string, bool allow_sss_loop, size_t *_uid_count, uid_t **_uids); -- cgit