r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is created
[samba.git] / source4 / winbind / wb_async_helpers.c
index 3a560a9a94fa5e9a67386802c74e09b3b2660538..11d675d2e904f66dbb63b7c7286df90daadf204f 100644 (file)
@@ -81,7 +81,7 @@ struct composite_context *wb_get_schannel_creds_send(TALLOC_CTX *mem_ctx,
                goto failed;
        }
 
-       creq = dcerpc_pipe_open_smb_send(state->p->conn, tree, "\\netlogon");
+       creq = dcerpc_pipe_open_smb_send(state->p, tree, "\\netlogon");
        if (creq == NULL) {
                c->status = NT_STATUS_NO_MEMORY;
                goto failed;