summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/clidfs.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* Fix for servers that don't put a path separator at the end of the service.Larry Reid2011-04-031-4/+13
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 10:33:42 CEST 2011 on sn-devel-104
* s3-libsmb: put namequery headers to nmblib.hGünther Deschner2011-03-301-0/+1
| | | | | | | We might find a better name for it and merge other namequery related things as well here... Guenther
* s3-trans2: only include trans2.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-dfs: removed the last user of sec_len==-1 in pull_*_base_talloc()Andrew Tridgell2011-03-251-1/+2
| | | | hopefully there aren't any others lurking in the code
* s3-msdfs: avoid global inclusion of msdfs.h.Günther Deschner2011-03-161-0/+1
| | | | Guenther
* s3-libsmb: only include rap client when needed.Günther Deschner2011-03-151-0/+1
| | | | Guenther
* s3: Convert cli_dfs_get_referral to cli_transVolker Lendecke2010-11-111-31/+30
|
* s3: cli_dfs_check_error does not need to depend on cli->inbufVolker Lendecke2010-11-111-10/+13
|
* s3: Make split_dfs_path return boolVolker Lendecke2010-11-111-11/+27
|
* s3: Remove some dead codeVolker Lendecke2010-11-111-3/+0
|
* s3: Untangle an if-expressionVolker Lendecke2010-11-111-1/+2
|
* s3: Explicitly pass flags2 to clistr_pull_tallocVolker Lendecke2010-08-051-0/+1
| | | | Required to eventually make cli_list async
* Split out the client unix capabilities to those the server offered, and ↵Jeremy Allison2010-04-131-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.
* s3: Convert cli_qpathinfo_basic to use cli_trans()Volker Lendecke2010-02-201-1/+3
|
* s3-libsmb: update libsmb to use new DLIST macrosAndrew Tridgell2010-02-101-1/+1
| | | | | manipulating p->prev directly is not safe any more (cherry picked from commit 3c650ac1e3e1cdbbabecfddcd29325f20b5dcb48)
* s3: Use -C in smbclientVolker Lendecke2010-01-241-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 $
* s3: Convert cli_tdis to the async APIVolker Lendecke2010-01-031-2/+4
|
* s3: Remove a struct typedefVolker Lendecke2009-11-211-6/+6
|
* s3: Convert cli_unix_extensions_version to asyncVolker Lendecke2009-11-131-2/+4
|
* Fix bug 6572 - libsmbclient: unable to access 'msdfs proxy' share.SATOH Fumiyasu2009-10-281-12/+2
|
* Fix bug 6829 - smbclient does not show special characters properly.Jeremy Allison2009-10-221-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.
* Fix bug #6496 - MS-DFS: cannot follow multibyte char link name.SATOH Fumiyasu2009-06-301-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.
* Fix a bug in smbclient not sending the correct called nameVolker Lendecke2009-04-121-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
* Allow DFS client paths to work when POSIX pathnames have beenJeremy Allison2009-03-181-2/+12
| | | | | selected (we need to path in pathname /that/look/like/this). Jeremy.
* Remove the global "struct cm_cred_struct" and associated calls, makeJeremy Allison2009-03-171-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.
* Remove the static "struct client_connection" mess which is part ofJeremy Allison2009-03-121-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.
* s3:libsmb: remove cli_setup_signing_state() and add struct cli_state ↵Stefan Metzmacher2009-03-061-2/+1
| | | | | | | | *cli_initialise_ex() This prepares the next changes. metze
* Make cli_tcon_andx asyncVolker Lendecke2009-01-301-4/+5
|
* Decouple clistr_pull from struct cli_state->inbufVolker Lendecke2009-01-261-3/+4
|
* Remove smbclient globals that bled into clidfs.c. Now we only haveJeremy Allison2009-01-141-28/+28
| | | | | the connections list and authentication structures to worry about. Jeremy
* Remove another global from clidfs that is only used in client.c.Jeremy Allison2009-01-141-11/+16
| | | | Jeremy.
* Fix bug #6021 - smbclient du command does not recuse properlyJeremy Allison2009-01-081-1/+2
| | | | Jeremy.
* Remove cli_cm_set_dest_ss() - removes the global dest_ssJeremy Allison2009-01-021-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.
* Make cli_negprot return NTSTATUS instead of boolVolker Lendecke2008-12-191-2/+5
|
* Remove the global "cmdline_auth_info" from source3/lib/util.cVolker Lendecke2008-12-141-6/+7
| | | | This involves changing all our clients, that's why it's so large.
* s3: Change sockaddr util function names for consistencyTim Prouty2008-12-031-2/+2
| | | | Also eliminates name conflicts with OneFS system libraries
* cli_cm: Make nicer password prompt in do_connect().Günther Deschner2008-04-201-1/+6
| | | | | Guenther (This used to be commit cc967e76a39808e8311cc96c17078a0fce26c11a)
* Add some more cli_cm_set_X functions.Günther Deschner2008-04-101-1/+52
| | | | | Guenther (This used to be commit 882475f5566592b3a675d3609c3af8cf7d4e256d)
* Check the right pointer for non-NULLVolker Lendecke2008-03-061-1/+1
| | | | | Fix Coverity ID 558, 559 (This used to be commit 8e33d19d93ef57a9438aad085aaf04b7c09fe09b)
* Fix CID 461 - resource leak on error.Jeremy Allison2008-01-081-0/+4
| | | | | Jeremy. (This used to be commit eea07b0c83985af60395f8a31de5bac4e5398cff)
* Add general '-e' option to enable smb encryptionJeremy Allison2008-01-051-35/+23
| | | | | | on tools. Jeremy. (This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
* Added -e, --encrypt option to smbclient that immediatelyJeremy Allison2007-12-291-11/+110
| | | | | | | forces encrypted smb after initial connect. Will document for 3.2 official release. Jeremy. (This used to be commit f02bf419282419950471deae74c4a6fe1543ed26)
* Fix C++ warningsVolker Lendecke2007-12-081-1/+1
| | | | (This used to be commit 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b)
* Fix call to clistr_pull_talloc.Jeremy Allison2007-12-071-1/+1
| | | | | Jeremy. (This used to be commit 86700b7e2e79e634b41c272632e42b2e64f58ba3)
* Remove pstrings completely except for smbctool (what does this do ?).Jeremy Allison2007-12-071-37/+73
| | | | | | Don't build this for now. Jeremy. (This used to be commit 46b67fd82c795d1a34a1efca9e409c0f3fa4f3a2)
* Fix clidfs.c compile.Jeremy Allison2007-12-061-2/+3
| | | | | Jeremy. (This used to be commit 76034d1529a594837725cf599d97019eed7226b4)
* Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison2007-12-061-36/+24
| | | | | | Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
* Don't forget to delete the stackframe.Jeremy Allison2007-12-031-0/+1
| | | | | Jeremy. (This used to be commit 0551ee3402daebe5b96a66162d7702ca5a31da52)
* Remove PSTRING_LEN from smbd/ nmbd/.Jeremy Allison2007-11-291-217/+356
| | | | | | | | Remove pstring from libsmb/clidfs.c except for a nasty hack (that will be removed when pstrings are gone from client/). Jeremy. (This used to be commit cc257b71d13daa47e6f2315d0f07a60eb4aaeca6)