Bug 1095 - -l (--log-basename (or --logfile?)) option does not affect
Summary: -l (--log-basename (or --logfile?)) option does not affect
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.2
Hardware: Other other
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-18 01:55 UTC by SATOH Fumiyasu
Modified: 2005-08-24 10:18 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SATOH Fumiyasu 2004-02-18 01:55:00 UTC
Samba client commands (smbclient, smbcacls, nmblookup and so on) have
-l / --log-basename (but --logfile in manpages) option to redirect
debug messages to logfile. But this option does not affect a client.

$ smbclient -L server -U% -d10 -lsmbclient.log
*** many many debug messages here ***
...
$ ls -l smbclient.log*
ls: smbclient.log*: No such file or directory
Comment 1 Gerald (Jerry) Carter (dead mail address) 2004-03-26 07:38:55 UTC
Fix for smbclient checked into 3.0 cvs.
Also updated the docs to clarify that -l 
defines the log base directory.  Not the 
logfile itself.

$ smbclient -L server -N -d10 -l/tmp
$ ls -l /tmp/log.smbclient
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:18:32 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.