summaryrefslogtreecommitdiff
path: root/source3/libsmb/clidfs.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-29s3: Use cli_connect_nb in do_connectVolker Lendecke1-45/+6
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
2011-04-03Fix for servers that don't put a path separator at the end of the service.Larry Reid1-4/+13
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 10:33:42 CEST 2011 on sn-devel-104
2011-03-30s3-libsmb: put namequery headers to nmblib.hGünther Deschner1-0/+1
We might find a better name for it and merge other namequery related things as well here... Guenther
2011-03-30s3-trans2: only include trans2.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-25s3-dfs: removed the last user of sec_len==-1 in pull_*_base_talloc()Andrew Tridgell1-1/+2
hopefully there aren't any others lurking in the code
2011-03-16s3-msdfs: avoid global inclusion of msdfs.h.Günther Deschner1-0/+1
Guenther
2011-03-15s3-libsmb: only include rap client when needed.Günther Deschner1-0/+1
Guenther
2010-11-11s3: Convert cli_dfs_get_referral to cli_transVolker Lendecke1-31/+30
2010-11-11s3: cli_dfs_check_error does not need to depend on cli->inbufVolker Lendecke1-10/+13
2010-11-11s3: Make split_dfs_path return boolVolker Lendecke1-11/+27
2010-11-11s3: Remove some dead codeVolker Lendecke1-3/+0
2010-11-11s3: Untangle an if-expressionVolker Lendecke1-1/+2
2010-08-05s3: Explicitly pass flags2 to clistr_pull_tallocVolker Lendecke1-0/+1
Required to eventually make cli_list async
2010-04-13Split out the client unix capabilities to those the server offered, and ↵Jeremy Allison1-2/+2
those the client asked for. This fixes a bug when using encrypted transport and DFS links. Found by my basic DFS torture test, which I'll check in next. Testing *rocks* :-). Jeremy.
2010-02-20s3: Convert cli_qpathinfo_basic to use cli_trans()Volker Lendecke1-1/+3
2010-02-10s3-libsmb: update libsmb to use new DLIST macrosAndrew Tridgell1-1/+1
manipulating p->prev directly is not safe any more (cherry picked from commit 3c650ac1e3e1cdbbabecfddcd29325f20b5dcb48)
2010-01-24s3: Use -C in smbclientVolker Lendecke1-0/+1
$ 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 $
2010-01-03s3: Convert cli_tdis to the async APIVolker Lendecke1-2/+4
2009-11-21s3: Remove a struct typedefVolker Lendecke1-6/+6
2009-11-13s3: Convert cli_unix_extensions_version to asyncVolker Lendecke1-2/+4
2009-10-28Fix bug 6572 - libsmbclient: unable to access 'msdfs proxy' share.SATOH Fumiyasu1-12/+2
2009-10-22Fix bug 6829 - smbclient does not show special characters properly.Jeremy Allison1-0/+9
All successful calls to cli_session_setup() *must* be followed by calls to cli_init_creds() to stash the credentials we successfully connected with. There were 2 codepaths where this was missing. This caused smbclient to be unable to open the \srvsvc pipe to do an RPC netserverenum, and cause it to fall back to a RAP netserverenum, which uses DOS codepage conversion rather than the full UCS2 of RPC, so the returned characters were not correct (unless the DOS codepage was set correctly). Phew. That was fun to track down :-). Jeremy.
2009-06-30Fix bug #6496 - MS-DFS: cannot follow multibyte char link name.SATOH Fumiyasu1-14/+38
consumed_ucs is the number of bytes of the UCS2 path consumed not counting any terminating null. We need to convert back to unix charset and count again to get the number of bytes consumed from the incoming path.
2009-04-12Fix a bug in smbclient not sending the correct called nameVolker Lendecke1-1/+5
Jeremy, I think the ability to say smbclient //foo/bar -I <ip-address> -p 139 making the called name to "foo" got lost with 3d2d0203. Was this removed deliberately? If so, please revert this patch. If not, please merge appropriately. Thanks, Volker
2009-03-18Allow DFS client paths to work when POSIX pathnames have beenJeremy Allison1-2/+12
selected (we need to path in pathname /that/look/like/this). Jeremy.
2009-03-17Remove the global "struct cm_cred_struct" and associated calls, makeJeremy Allison1-95/+48
callers pass in a struct user_auth_info * instead. This commit causes smbc_set_credentials() to print out a message telling callers to use smbc_set_credentials_with_fallback() instead, as smbc_set_credentials() has a broken API (no SMBCCTX * pointer). No more global variables used in the connection manager API for client dfs calls. Jeremy.
2009-03-12Remove the static "struct client_connection" mess which is part ofJeremy Allison1-108/+54
the problem that stops libsmbclient being thread safe. Subsidiary DFS connections are now hung off a list inside the cli_state struct. Much more to do in order to get libsmbclient to thread safety, but this is a good start. Jeremy.
2009-03-06s3:libsmb: remove cli_setup_signing_state() and add struct cli_state ↵Stefan Metzmacher1-2/+1
*cli_initialise_ex() This prepares the next changes. metze
2009-01-30Make cli_tcon_andx asyncVolker Lendecke1-4/+5
2009-01-26Decouple clistr_pull from struct cli_state->inbufVolker Lendecke1-3/+4
2009-01-14Remove smbclient globals that bled into clidfs.c. Now we only haveJeremy Allison1-28/+28
the connections list and authentication structures to worry about. Jeremy
2009-01-14Remove another global from clidfs that is only used in client.c.Jeremy Allison1-11/+16
Jeremy.
2009-01-08Fix bug #6021 - smbclient du command does not recuse properlyJeremy Allison1-1/+2
Jeremy.
2009-01-02Remove cli_cm_set_dest_ss() - removes the global dest_ssJeremy Allison1-15/+5
from libsmb/clidfs.c. Keep the '-I<address>' option in smbclient working. The intent is to remove all globals from libsmb/clidfs.c. Jeremy.
2008-12-19Make cli_negprot return NTSTATUS instead of boolVolker Lendecke1-2/+5
2008-12-14Remove the global "cmdline_auth_info" from source3/lib/util.cVolker Lendecke1-6/+7
This involves changing all our clients, that's why it's so large.
2008-12-03s3: Change sockaddr util function names for consistencyTim Prouty1-2/+2
Also eliminates name conflicts with OneFS system libraries
2008-04-20cli_cm: Make nicer password prompt in do_connect().Günther Deschner1-1/+6
Guenther (This used to be commit cc967e76a39808e8311cc96c17078a0fce26c11a)
2008-04-10Add some more cli_cm_set_X functions.Günther Deschner1-1/+52
Guenther (This used to be commit 882475f5566592b3a675d3609c3af8cf7d4e256d)
2008-03-06Check the right pointer for non-NULLVolker Lendecke1-1/+1
Fix Coverity ID 558, 559 (This used to be commit 8e33d19d93ef57a9438aad085aaf04b7c09fe09b)
2008-01-08Fix CID 461 - resource leak on error.Jeremy Allison1-0/+4
Jeremy. (This used to be commit eea07b0c83985af60395f8a31de5bac4e5398cff)
2008-01-05Add general '-e' option to enable smb encryptionJeremy Allison1-35/+23
on tools. Jeremy. (This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
2007-12-29Added -e, --encrypt option to smbclient that immediatelyJeremy Allison1-11/+110
forces encrypted smb after initial connect. Will document for 3.2 official release. Jeremy. (This used to be commit f02bf419282419950471deae74c4a6fe1543ed26)
2007-12-08Fix C++ warningsVolker Lendecke1-1/+1
(This used to be commit 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b)
2007-12-07Fix call to clistr_pull_talloc.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 86700b7e2e79e634b41c272632e42b2e64f58ba3)
2007-12-07Remove pstrings completely except for smbctool (what does this do ?).Jeremy Allison1-37/+73
Don't build this for now. Jeremy. (This used to be commit 46b67fd82c795d1a34a1efca9e409c0f3fa4f3a2)
2007-12-06Fix clidfs.c compile.Jeremy Allison1-2/+3
Jeremy. (This used to be commit 76034d1529a594837725cf599d97019eed7226b4)
2007-12-06Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison1-36/+24
Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
2007-12-03Don't forget to delete the stackframe.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 0551ee3402daebe5b96a66162d7702ca5a31da52)