svn commit: samba r3214 - in branches/SAMBA_4_0/source/gtk/tools: .

jelmer at samba.org jelmer at samba.org
Mon Oct 25 11:55:14 GMT 2004


Author: jelmer
Date: 2004-10-25 11:55:13 +0000 (Mon, 25 Oct 2004)
New Revision: 3214

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/gtk/tools&rev=3214&nolog=1

Log:
Load the config file (required for ncacn_np:)

Modified:
   branches/SAMBA_4_0/source/gtk/tools/gepdump.c


Changeset:
Modified: branches/SAMBA_4_0/source/gtk/tools/gepdump.c
===================================================================
--- branches/SAMBA_4_0/source/gtk/tools/gepdump.c	2004-10-25 11:47:29 UTC (rev 3213)
+++ branches/SAMBA_4_0/source/gtk/tools/gepdump.c	2004-10-25 11:55:13 UTC (rev 3214)
@@ -100,7 +100,7 @@
 	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 @@
  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();



More information about the samba-cvs mailing list