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
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
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.