diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-10-25 11:55:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:04:42 -0500 |
commit | 1444d2148d272caea6c5aa988ddf59e5fe8dda7a (patch) | |
tree | 87fe0df312f3aa523a09099c1603a955284dede8 /source4/gtk | |
parent | 00f43d5eebe59d3bc85ed96fd7051f3c6050a694 (diff) | |
download | samba-1444d2148d272caea6c5aa988ddf59e5fe8dda7a.tar.gz samba-1444d2148d272caea6c5aa988ddf59e5fe8dda7a.tar.bz2 samba-1444d2148d272caea6c5aa988ddf59e5fe8dda7a.zip |
r3214: Load the config file (required for ncacn_np:)
(This used to be commit 636d209814d5b837af76acf88fa8ad5b449a0fdd)
Diffstat (limited to 'source4/gtk')
-rw-r--r-- | source4/gtk/tools/gepdump.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/gtk/tools/gepdump.c b/source4/gtk/tools/gepdump.c index 94615e3de0..12018277fd 100644 --- a/source4/gtk/tools/gepdump.c +++ b/source4/gtk/tools/gepdump.c @@ -100,7 +100,7 @@ static void on_dump_clicked (GtkButton *btn, gpointer user_data) struct dcerpc_pipe *p; TALLOC_CTX *mem_ctx = talloc_init("dump"); - status = dcerpc_pipe_connect(&p, gtk_entry_get_text(GTK_ENTRY(entry_binding)), DCERPC_EPMAPPER_UUID, DCERPC_EPMAPPER_VERSION, lp_workgroup(), NULL, NULL); + status = dcerpc_pipe_connect(&p, gtk_entry_get_text(GTK_ENTRY(entry_binding)), DCERPC_EPMAPPER_UUID, DCERPC_EPMAPPER_VERSION, lp_workgroup(), "", ""); if (NT_STATUS_IS_ERR(status)) { gtk_show_ntstatus(mainwin, status); @@ -306,6 +306,9 @@ static GtkWidget* create_mainwindow (void) int main(int argc, char **argv) { gtk_init(&argc, &argv); + lp_load(dyn_CONFIGFILE,True,False,False); + load_interfaces(); + setup_logging("gepdump", True); mainwin = create_mainwindow(); gtk_widget_show(mainwin); gtk_main(); |