diff options
author | Volker Lendecke <vl@samba.org> | 2010-01-24 17:08:56 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-01-24 20:32:17 +0100 |
commit | d016bdb72c3bd5993d0f4acb583512f25ea9521c (patch) | |
tree | 0e87d7152a8cf27bc83c7d3ff52d8bff1c17ad9a /source3/libsmb | |
parent | 21ec6a6cbd358f36aa9bf5974c5c53b8732cdceb (diff) | |
download | samba-d016bdb72c3bd5993d0f4acb583512f25ea9521c.tar.gz samba-d016bdb72c3bd5993d0f4acb583512f25ea9521c.tar.bz2 samba-d016bdb72c3bd5993d0f4acb583512f25ea9521c.zip |
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
$
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clidfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |