From 1444d2148d272caea6c5aa988ddf59e5fe8dda7a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 25 Oct 2004 11:55:13 +0000 Subject: r3214: Load the config file (required for ncacn_np:) (This used to be commit 636d209814d5b837af76acf88fa8ad5b449a0fdd) --- source4/gtk/tools/gepdump.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source4/gtk/tools/gepdump.c') 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(); -- cgit