From d016bdb72c3bd5993d0f4acb583512f25ea9521c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 24 Jan 2010 17:08:56 +0100 Subject: s3: Use -C in smbclient $ bin/wbinfo --ccache-save=w2k3ad\\vl%Password saving creds succeeded $ bin/smbclient //192.168.42.160/tmp -Uvl -N -C -W w2k3ad OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2] smb: \> $ bin/wbinfo --ccache-save=w2k3ad\\vl%WrongPassword saving creds succeeded $ bin/smbclient //192.168.42.160/tmp -Uvl -N -C -W w2k3ad Anonymous login successful Domain=[W2K3AD] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2] tree connect failed: NT_STATUS_ACCESS_DENIED $ --- source3/libsmb/clidfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index 99f52f4ca7..2a39ee9b58 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/libsmb/clidfs.c @@ -154,6 +154,7 @@ static struct cli_state *do_connect(TALLOC_CTX *ctx, c->use_kerberos = get_cmdline_auth_info_use_kerberos(auth_info); c->fallback_after_kerberos = get_cmdline_auth_info_fallback_after_kerberos(auth_info); + c->use_ccache = get_cmdline_auth_info_use_ccache(auth_info); if (!cli_session_request(c, &calling, &called)) { char *p; -- cgit