pstring service="";
pstring desthost="";
extern pstring myname;
+extern pstring myhostname;
pstring password = "";
pstring username="";
pstring workgroup="";
DEBUG(3,("%s client started (version %s)\n",timestring(),VERSION));
+ if(!get_myname(myhostname,NULL))
+ {
+ DEBUG(0,("Failed to get my hostname.\n"));
+ }
+
if (!lp_load(servicesf,True)) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n", servicesf);
}