From 42ececdfae15a34205638cc6e3ec53d6f3ac2148 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 15 Oct 2005 19:18:05 +0000 Subject: r11093: Implement wb_queue_domain_send: If the domain is not yet initialized, do that first. And if a request is being processed, queue it. This correctly survived 3 endless loops with wbinfo's doing different things while starting up smbd. The number of indirections starts to become a bit scary, but what can you do without a decent programming language that provides closures :-) One thing that we might consider is to auto-generate async rpc requests that return composite_context structs instead of rpc_requests. Otherwise I'd have to write a lot of wrappers like composite_netr_LogonSamLogon_send. The alternative would be to write two versions of wb_queue_domain_send which I would like to avoid. This is cluttered enough already. Volker (This used to be commit 66c1b674f9870de73cce0e611909caf9eff34baa) --- source4/include/structs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/include/structs.h') diff --git a/source4/include/structs.h b/source4/include/structs.h index 68cae5d256..2925d4fec9 100644 --- a/source4/include/structs.h +++ b/source4/include/structs.h @@ -108,6 +108,7 @@ union netr_Validation; struct netr_SamBaseInfo; struct netr_SamInfo3; struct netr_UserSessionKey; +struct netr_LogonSamLogon; struct iface_struct; -- cgit