When issuing smbcontrol command with configfile option you get the following error: $ smbcontrol -t 1 -s /etc/samba/smb.conf nmbd ping params.c:OpenConfFile() - Unable to open configuration file "": Argument list too long Fix: "diff -u smbcontrol.c{.orig,}" --- smbcontrol.c.orig 2003-12-22 14:28:43.000000000 +0200 +++ smbcontrol.c 2003-12-22 14:29:19.000000000 +0200 @@ -717,7 +717,7 @@ argc -= 2; break; case 's': /* --configfile */ - pstrcpy(dyn_CONFIGFILE, optarg); + pstrcpy(dyn_CONFIGFILE, poptGetOptArg(pc)); argc -= 2; break; default:
*** Bug 795 has been marked as a duplicate of this bug. ***
Fixed in CVS.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
database cleanup