Hello, smbclient(1) says: -d|--debuglevel=level level is an integer from 0 to 10. The default value if this parame‐ ter is not specified is zero. Then the two following commands should be the same: noel@ibook:~$ smbclient -U noel //localhost/test -c "prompt;get myfile" Password: Domain=[IBOOK] OS=[Unix] Server=[Samba 3.0.25a] getting file \myfile of size 6 as myfile (0,7 kb/s) (average 0,7 kb/s) noel@ibook:~$ smbclient -U noel //localhost/test -d0 -c "prompt;get myfile" Password: Domain=[IBOOK] OS=[Unix] Server=[Samba 3.0.25a] thx. noel@d.o
What debug level do you have in smb.conf ?
There is no debug level set in smb.con
$ grep level /etc/samba/smb.conf $ smbclient -U nk //localhost/test -c "prompt;get myfile" Password: Domain=[MBP] OS=[Unix] Server=[Samba 3.0.25a] getting file \myfile of size 0 as myfile (0,0 kb/s) (average nan kb/s) $ smbclient -U nk //localhost/test -d0 -c "prompt;get myfile" Password: Domain=[MBP] OS=[Unix] Server=[Samba 3.0.25a] As you can see there is no log|debug level set and you get the debug output.
Fixed with revision 1223. Thanks for reporting!