summaryrefslogtreecommitdiff
path: root/source3/libsmb/clidfs.c
AgeCommit message (Collapse)AuthorFilesLines
2013-10-17s3:libsmb: add SMB2/3 support to cli_dfs_get_referral()Stefan Metzmacher1-17/+56
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10200 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-10-17s3/libsmb: make use of smbXcli_tcon_is_dfs_share()Stefan Metzmacher1-2/+16
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10200 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-10-17s3/libsmb: Use smbXcli_conn_dfs_supported instead of test on CAP_DFSLuk Claes1-1/+1
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10200 Signed-off-by: Luk Claes <luk@debian.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-10-17s3/libsmb: Use smbXcli_conn_use_unicode instead of smb1 specific testLuk Claes1-1/+1
Signed-off-by: Luk Claes <luk@debian.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-08-21As SMB3 has transport level encryption, allow smbclient -e to force encryted ↵Jeremy Allison1-1/+17
SMB3 transport. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-08-15s3:libsmb: use lp_cli_minprotocol() in do_connect()Stefan Metzmacher1-1/+2
https://bugzilla.samba.org/show_bug.cgi?id=9514 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2013-08-15s3:libsmb: Ensure we ask for DEFAULT_SMB2_MAX_CREDITS on successful negprot.Jeremy Allison1-0/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2012-06-12s3: Make --pw-nt-hash useable in smbclientVolker Lendecke1-0/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jun 12 12:41:10 CEST 2012 on sn-devel-104
2012-05-28s3:libsmb: get rid of cli_ucs2Luk Claes1-1/+1
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 28 16:58:03 CEST 2012 on sn-devel-104
2012-05-28s3:libsmb: get rid of cli_negprotLuk Claes1-1/+2
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_encryption_onLuk Claes1-2/+2
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_capabilitiesLuk Claes1-3/+3
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_protocolLuk Claes1-2/+2
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_remote_nameLuk Claes1-6/+7
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-24s3:libsmb: make use of cli_tree_connect()Stefan Metzmacher1-3/+3
metze
2011-11-16s3-libsmb/clidfs.c: remove cli_nt_error()Björn Baumbach1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-09-15s3:libsmb: pass max_protocol to cli_negprot()Stefan Metzmacher1-3/+1
metze
2011-09-08s3:libsmb: pass CLI_FULL_CONNECTION_* flags via cli_connect_nb()Stefan Metzmacher1-5/+13
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 8 10:21:50 CEST 2011 on sn-devel-104
2011-08-09s3:libsmb/cli*: use CLI_BUFFER_SIZE instead of cli->max_xmitStefan Metzmacher1-1/+1
The max_data parameter of trans2/nttrans calls are not bound to cli->max_xmit. Even with cli->max_xmit, which means the max size of the whole SMB pdu, we would get fragmented trans2/nttrans replies. That's why we can also use our maximum, which is CLI_BUFFER_SIZE. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 9 18:14:38 CEST 2011 on sn-devel-104
2011-08-03s3:libsmb/clidfs: make use of cli_state_encryption_on()Stefan Metzmacher1-2/+2
metze
2011-08-02s3:libsmb/cli*: make use of cli_state_protocol()Stefan Metzmacher1-2/+2
metze
2011-08-02s3:libsmb/cli*: make use of cli_state_capabilities()Stefan Metzmacher1-3/+3
metze
2011-07-24s3: Fix Coverity ID 2596, REVERSE_INULLVolker Lendecke1-1/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 24 16:37:19 CEST 2011 on sn-devel-104
2011-07-22s3:libsmb/clidfs: make use of cli_state_remote_name()Stefan Metzmacher1-7/+14
metze
2011-07-22s3:libsmb: remove const from cli_cm_display()Stefan Metzmacher1-1/+1
metze
2011-07-20s3:libsmb: move cli->cnum to cli->smb1.tid and hide it behind ↵Stefan Metzmacher1-2/+2
cli_state_[g|s]et_tid() metze
2011-07-07s3:libsmb: use trans2_bytes_push_str() in cli_dfs_get_referral()Stefan Metzmacher1-6/+10
metze
2011-07-07s3:libsmb: use a talloc_stackframe in cli_dfs_get_referral()Stefan Metzmacher1-4/+3
metze
2011-07-06s3:libsmb: don't use cli->inbuf in cli_dfs_get_referral()Stefan Metzmacher1-5/+7
The rdata buffer returned by cli_trans() doesn't belong to cli->inbuf, so don't use it. metze
2011-07-06s3:libsmb: fix error handling in cli_dfs_get_referral()Stefan Metzmacher1-3/+11
We should not return NT_STATUS_OK on error. metze
2011-07-06s3: make cli_resolve_path return NTSTATUSVolker Lendecke1-37/+41
This looks larger than it is. No parameters needed changing.
2011-07-03s3: Make cli_cm_open return NTSTATUSVolker Lendecke1-25/+32
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 3 23:57:53 CEST 2011 on sn-devel-104
2011-07-03s3: Make cli_cm_connect return NTSTATUSVolker Lendecke1-14/+22
2011-07-03s3: Make "do_connect" return NTSTATUSVolker Lendecke1-17/+19
2011-07-03s3: Remove a use of cli_errstrVolker Lendecke1-6/+8
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.