summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_connect_sam.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-02-26 05:37:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:54 -0500
commit60fd088c480e474c3db8870f1288462a8452cea3 (patch)
tree0dca322c8fa84e0c0a34603a5c62f7cc5a21a92e /source4/winbind/wb_connect_sam.c
parentb8c219a270e50f165a326c3657618c78e2ff58c5 (diff)
downloadsamba-60fd088c480e474c3db8870f1288462a8452cea3.tar.gz
samba-60fd088c480e474c3db8870f1288462a8452cea3.tar.bz2
samba-60fd088c480e474c3db8870f1288462a8452cea3.zip
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)
Diffstat (limited to 'source4/winbind/wb_connect_sam.c')
-rw-r--r--source4/winbind/wb_connect_sam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/winbind/wb_connect_sam.c b/source4/winbind/wb_connect_sam.c
index 5e5a33d2c1..393c5f8437 100644
--- a/source4/winbind/wb_connect_sam.c
+++ b/source4/winbind/wb_connect_sam.c
@@ -80,7 +80,7 @@ struct composite_context *wb_connect_sam_send(TALLOC_CTX *mem_ctx,
state->samr_pipe = dcerpc_pipe_init(state, result->event_ctx);
if (state->samr_pipe == NULL) goto failed;
- ctx = dcerpc_pipe_open_smb_send(state->samr_pipe->conn, tree,
+ ctx = dcerpc_pipe_open_smb_send(state->samr_pipe, tree,
"\\samr");
ctx->async.fn = connect_samr_recv_pipe;
ctx->async.private_data = state;