[PATCH 0/3] Fix smbclient --use-cache.

Andreas Schneider asn at samba.org
Fri Nov 14 09:48:13 MST 2014

This patchset fixes smbclient --use-cache against Windows and also
doesn't require to pass or enter empty password. The last patch
duplicates the memory we get from wbclient. Looking at the code there is
a destructor to free the blobs. I wonder why this did not reveal an
issue earlier.

The patchset is also available here:


Andreas Schneider (3):
  s3-lib: Do not require a password with --use-ccache.
  s3-libsmb: Set the netbios_name in use_ccache case too.
  s3-libsmb: Duplicate the memory before we free it.

 source3/lib/util_cmdline.c                |  3 ++-
 source3/libsmb/ntlmssp.c                  | 18 +++++++++++++++---
 source3/script/tests/test_smbclient_s3.sh |  4 ++--
 3 files changed, 19 insertions(+), 6 deletions(-)


More information about the samba-technical mailing list