diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-10-18 11:44:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:00:00 -0500 |
commit | a03a7d0aea2884d4bf0e3fa993acf39189a37ddf (patch) | |
tree | 2e6a0e5e90c39a408c4818da14fd262d7b2ff337 /source4/gtk/tools/gwsam.c | |
parent | 656c04da48a3885d14ff4939d5225b8aa037f0d5 (diff) | |
download | samba-a03a7d0aea2884d4bf0e3fa993acf39189a37ddf.tar.gz samba-a03a7d0aea2884d4bf0e3fa993acf39189a37ddf.tar.bz2 samba-a03a7d0aea2884d4bf0e3fa993acf39189a37ddf.zip |
r3033: Use the C struct directly if we can instead of generating a binding
string and parsing that.
(This used to be commit 1977932b5471f20a788adb1b99d60953f4e12470)
Diffstat (limited to 'source4/gtk/tools/gwsam.c')
-rw-r--r-- | source4/gtk/tools/gwsam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/gtk/tools/gwsam.c b/source4/gtk/tools/gwsam.c index a085c49897..c1f56d89d6 100644 --- a/source4/gtk/tools/gwsam.c +++ b/source4/gtk/tools/gwsam.c @@ -124,7 +124,7 @@ void on_connect_activate (GtkMenuItem *menuitem, gpointer user_data) } /* If connected, get list of jobs */ - status = dcerpc_pipe_connect(&sam_pipe, gtk_rpc_binding_dialog_get_binding(d, DCERPC_SAMR_NAME), DCERPC_SAMR_UUID, DCERPC_SAMR_VERSION, lp_workgroup(), gtk_rpc_binding_dialog_get_username(d), gtk_rpc_binding_dialog_get_password(d)); + status = dcerpc_pipe_connect_b(&sam_pipe, gtk_rpc_binding_dialog_get_binding(d, mem_ctx), DCERPC_SAMR_UUID, DCERPC_SAMR_VERSION, lp_workgroup(), gtk_rpc_binding_dialog_get_username(d), gtk_rpc_binding_dialog_get_password(d)); if(!NT_STATUS_IS_OK(status)) { gtk_show_ntstatus(mainwin, status); sam_pipe = NULL; |