From 60fd088c480e474c3db8870f1288462a8452cea3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 26 Feb 2007 05:37:19 +0000 Subject: r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is created using the pattern in the clilsa code, it didn't fill in the p->binding structure. This affects nearly all users of dcerpc_pipe_open_smb(), so the simplest fix is to ensure that dcerpc_pipe_open_smb() initialises the binding if its not already there. - re-enable the RAW-ACLS test (This used to be commit d8875c286d2be49c01703d8fd58bbc1842054bd9) --- source4/winbind/wb_connect_lsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/winbind/wb_connect_lsa.c') diff --git a/source4/winbind/wb_connect_lsa.c b/source4/winbind/wb_connect_lsa.c index 815e131962..6ba14a2f17 100644 --- a/source4/winbind/wb_connect_lsa.c +++ b/source4/winbind/wb_connect_lsa.c @@ -72,7 +72,7 @@ struct composite_context *wb_init_lsa_send(TALLOC_CTX *mem_ctx, state->lsa_pipe = dcerpc_pipe_init(state, result->event_ctx); if (state->lsa_pipe == NULL) goto failed; - ctx = dcerpc_pipe_open_smb_send(state->lsa_pipe->conn, tree, + ctx = dcerpc_pipe_open_smb_send(state->lsa_pipe, tree, "\\lsarpc"); ctx->async.fn = init_lsa_recv_pipe; ctx->async.private_data = state; -- cgit