Bug 1753 - nmbd and winbindd daemons disregard "-l" (log directory) option
nmbd and winbindd daemons disregard "-l" (log directory) option
Product: Samba 3.0
Classification: Unclassified
Component: Config Files
x86 Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
: 1752 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2004-09-13 03:50 UTC by Gavrie Philipson
Modified: 2005-08-24 10:15 UTC (History)
0 users

See Also:

Patch to nmbd and winbindd to fix the bug. (964 bytes, patch)
2004-09-13 03:52 UTC, Gavrie Philipson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gavrie Philipson 2004-09-13 03:50:59 UTC
When trying to change the directory that log files should be written to, using
the "-l" option to nmbd and winbindd, the daemon disregards the option and still
logs to the compiled-in default directory.
This is due to a bug that overrides the option with the default after first
setting the option.
Comment 1 Gavrie Philipson 2004-09-13 03:52:59 UTC
Created attachment 649 [details]
Patch to nmbd and winbindd to fix the bug.

The attached patch fixes the problem, since POPT_COMMON_SAMBA already takes
care of setting the default for this option.
Comment 2 Gavrie Philipson 2004-09-13 04:26:21 UTC
*** Bug 1752 has been marked as a duplicate of this bug. ***
Comment 3 Mark Pröhl 2004-11-16 06:49:52 UTC
This bug is fixed in 3.0.8.  
Comment 4 Gerald (Jerry) Carter 2004-11-16 19:51:23 UTC
Thanks for the update.
Comment 5 Gerald (Jerry) Carter 2005-08-24 10:15:58 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.