summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/clidfs.c
Commit message (Collapse)AuthorAgeFilesLines
* s3:libsmb/clidfs: make use of cli_state_encryption_on()Stefan Metzmacher2011-08-031-2/+2
| | | | metze
* s3:libsmb/cli*: make use of cli_state_protocol()Stefan Metzmacher2011-08-021-2/+2
| | | | metze
* s3:libsmb/cli*: make use of cli_state_capabilities()Stefan Metzmacher2011-08-021-3/+3
| | | | metze
* s3: Fix Coverity ID 2596, REVERSE_INULLVolker Lendecke2011-07-241-1/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 24 16:37:19 CEST 2011 on sn-devel-104
* s3:libsmb/clidfs: make use of cli_state_remote_name()Stefan Metzmacher2011-07-221-7/+14
| | | | metze
* s3:libsmb: remove const from cli_cm_display()Stefan Metzmacher2011-07-221-1/+1
| | | | metze
* s3:libsmb: move cli->cnum to cli->smb1.tid and hide it behind ↵Stefan Metzmacher2011-07-201-2/+2
| | | | | | cli_state_[g|s]et_tid() metze
* s3:libsmb: use trans2_bytes_push_str() in cli_dfs_get_referral()Stefan Metzmacher2011-07-071-6/+10
| | | | metze
* s3:libsmb: use a talloc_stackframe in cli_dfs_get_referral()Stefan Metzmacher2011-07-071-4/+3
| | | | metze
* s3:libsmb: don't use cli->inbuf in cli_dfs_get_referral()Stefan Metzmacher2011-07-061-5/+7
| | | | | | | The rdata buffer returned by cli_trans() doesn't belong to cli->inbuf, so don't use it. metze
* s3:libsmb: fix error handling in cli_dfs_get_referral()Stefan Metzmacher2011-07-061-3/+11
| | | | | | We should not return NT_STATUS_OK on error. metze
* s3: make cli_resolve_path return NTSTATUSVolker Lendecke2011-07-061-37/+41
| | | | This looks larger than it is. No parameters needed changing.
* s3: Make cli_cm_open return NTSTATUSVolker Lendecke2011-07-031-25/+32
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 3 23:57:53 CEST 2011 on sn-devel-104
* s3: Make cli_cm_connect return NTSTATUSVolker Lendecke2011-07-031-14/+22
|
* s3: Make "do_connect" return NTSTATUSVolker Lendecke2011-07-031-17/+19
|
* s3: Remove a use of cli_errstrVolker Lendecke2011-07-031-6/+8
|
* s3: Use cli_connect_nb in do_connectVolker Lendecke2011-05-291-45/+6
|
* 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.