summaryrefslogtreecommitdiffstats
path: root/libcli
Commit message (Collapse)AuthorAgeFilesLines
...
* libcli/smb: pass smbXcli_tcon to smb2cli_write*()Stefan Metzmacher2012-07-242-6/+12
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_read*()Stefan Metzmacher2012-07-242-5/+10
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_close*()Stefan Metzmacher2012-07-242-5/+10
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_create*()Stefan Metzmacher2012-07-242-6/+12
| | | | metze
* libcli/smb: pass down smbXcli_tcon to smb1cli_req_create/send() and ↵Stefan Metzmacher2012-07-243-18/+31
| | | | | | | | | smb1cli_trans* metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 24 21:22:44 CEST 2012 on sn-devel-104
* libcli/smb: add smbXcli_tcon structureLuk Claes2012-07-242-0/+108
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/smb: pass down smbXcli_session to smb1cli_req_create/send() and ↵Stefan Metzmacher2012-07-243-19/+31
| | | | | | | | | smb1cli_trans* metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 24 00:08:58 CEST 2012 on sn-devel-104
* libcli/smb: introduce smb1.session for uid useLuk Claes2012-07-232-0/+18
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/smb: set should_encrypt = true if we got SMB2_SESSION_FLAG_ENCRYPT_DATAStefan Metzmacher2012-07-231-2/+15
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jul 23 20:14:07 CEST 2012 on sn-devel-104
* libcli/smb: encrypt SMB2 traffic if nedded/desired.Stefan Metzmacher2012-07-231-3/+79
| | | | metze
* libcli/smb: increment nbt_len, when we have the fully created the SMB2 PDUStefan Metzmacher2012-07-231-1/+2
| | | | metze
* libcli/smb: maintain smb2.should_sign on smbXcli_req_stateStefan Metzmacher2012-07-231-26/+11
| | | | metze
* libcli/smb: make use of SMB2_HDR_BODY as header sizeStefan Metzmacher2012-07-231-1/+1
| | | | metze
* libcli/smb: parse the SMB2_TRANSFORM header and decrypt the SMB2 pduStefan Metzmacher2012-07-231-0/+63
| | | | metze
* libcli/smb: create 4 iovecs per request in smb2cli_inbuf_parse_compound()Stefan Metzmacher2012-07-231-16/+25
| | | | | | The first one might hold the SMB2_TRANSFORM Header later. metze
* libcli/smb: prepare [en|de]cryption_key for SMB3Stefan Metzmacher2012-07-231-0/+65
| | | | metze
* libcli/smb: copy the application_key in smb2cli_session_create_channel()Stefan Metzmacher2012-07-231-0/+6
| | | | metze
* libcli/smb: check the buffer length in smbXcli_negprot_dispatch_incoming()Stefan Metzmacher2012-07-231-1/+8
| | | | metze
* libcli/smb: only pass the smb2 buffer to smb2cli_inbuf_parse_compound()Stefan Metzmacher2012-07-231-12/+12
| | | | | | We should hide the transport as much as possible. metze
* libcli/smb: add smb2_signing_[en|e]crypt_pdu()Stefan Metzmacher2012-07-232-0/+141
| | | | metze
* libcli/smb: construct the signing_key before forming the messageStefan Metzmacher2012-07-231-31/+31
| | | | metze
* libcli/smb: add SMB2_SESSION_FLAG_ENCRYPT_DATAStefan Metzmacher2012-07-231-0/+1
| | | | metze
* libcli/smb: add SMB2_TRANSFORM macrosStefan Metzmacher2012-07-231-0/+15
| | | | metze
* libcli/auth: add support for AES/HMAC-SHA256 to the netlogon schannel sign/sealStefan Metzmacher2012-07-171-51/+137
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* libcli/auth: add support for AES/HMAC-SHA256 schannel session key supportStefan Metzmacher2012-07-171-3/+63
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s4:librpc/rpc/dcerpc_schannel: just append NETLOGON_NEG_RODC_PASSTHROUGH as rodcStefan Metzmacher2012-07-171-2/+0
| | | | | | | | The RODC stuff doesn't depend on the schannel algorithm. metze Signed-off-by: Günther Deschner <gd@samba.org>
* libcli/smb: add SMB2_CAP_DIRECTORY_LEASING to SMB2_CAP_ALLStefan Metzmacher2012-06-291-0/+1
| | | | | | metze Signed-off-by: Michael Adam <obnox@samba.org>
* Fix warning: variable ‘XX’ set but not used.Jeremy Allison2012-06-191-7/+0
|
* libcli: use tdb directly, not tdb_compat.Rusty Russell2012-06-191-2/+2
| | | | | Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* libcli/nbt: remove unused system/network.h from libnbt.hStefan Metzmacher2012-06-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | This is not needed and breaks the build on AIX: [ 988/3309] Compiling source4/smb_server/smb/reply.c "../source4/smb_server/smb/reply.c", line 1093.42: 1506-022 (S) "lseek64" is not a member of "union smb_seek". "../source4/smb_server/smb/reply.c", line 1093.42: 1506-022 (S) "lseek64" is not a member of "union smb_seek". "../source4/smb_server/smb/reply.c", line 1093.42: 1506-022 (S) "lseek64" is not a member of "union smb_seek". "../source4/smb_server/smb/reply.c", line 1093.42: 1506-022 (S) "lseek64" is not a member of "union smb_seek". "../source4/smb_server/smb/reply.c", line 1109.13: 1506-022 (S) "lseek64" is not a member of "union smb_seek". "../source4/smb_server/smb/reply.c", line 1110.13: 1506-022 (S) "lseek64" is not a member of "union smb_seek". "../source4/smb_server/smb/reply.c", line 1111.13: 1506-022 (S) "lseek64" is not a member of "union smb_seek". "../source4/smb_server/smb/reply.c", line 1113.38: 1506-022 (S) "lseek64" is not a member of "union smb_seek". Waf: Leaving directory `/opt/home/build/build_farm/samba_4_0_test/bin' Build failed: -> task failed (err #1): {task: cc reply.c -> reply_1.o} metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jun 11 10:32:51 CEST 2012 on sn-devel-104
* build: rename build targets nmblookup -> nmblookup4 and nmblookup3 -> nmblookupMichael Adam2012-05-311-1/+1
|
* libcli/dns: Rename UDP-based calls to reflect their useKai Blin2012-05-301-6/+6
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed May 30 02:35:27 CEST 2012 on sn-devel-104
* libcli/smb: add some more FSCTL_* definesStefan Metzmacher2012-05-291-0/+8
| | | | metze
* s3:smb2cli_ioctl: fix requests without output_buffer.length > 0 against windowsStefan Metzmacher2012-05-291-1/+1
| | | | | | This fixes DCERPC over SMB2 against windows servers. metze
* dns_hosts_file: move to a separate subsystemAlexander Bokovoy2012-05-252-6/+8
| | | | | | | | | | | After discussion with Kai move dns_hosts_file to a separate subsystem and merge it into libaddns private library for s3/s4 client use. Also remove dependency in libcli/nbt, the code from libcli/dns subsystems is not used there at all. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Fri May 25 22:22:44 CEST 2012 on sn-devel-104
* libcli/dns: make 'clidns' private library out of DNS code in WAF buildAlexander Bokovoy2012-05-232-8/+6
| | | | | | | | | | | | | | | | After consolidating DNS resolver code to lib/addns, there is one piece that still needs to be moved into a common DNS resolver library: DNS_HOSTS_FILE subsystem. Unfortunately, direct move would require lib/addns to depend on libcli/util/{ntstatus.h,werror.h} (provided by errors subsystem). In addition, moving libcli/dns/* code to lib/addns/ would make conflicting the dns_tkey_record struct. The conflict comes from source4/dns_server/ and is due to use of IDL to define the struct. lib/addns/ library also provides its own definition so we either need to keep them in sync (rewrite code in lib/addns/ a bit) or depend on generated IDL headers. Thus, making a private library and subsystem clidns is an intermediate step that allows to buy some time fore refactoring.
* Move source3/libads/dns.c to lib/addnsSimo Sorce2012-05-232-2/+6
|
* libcli: make it easier to understand that a control was not correctly encodedMatthieu Patou2012-05-191-1/+1
|
* libcli/smb: move smb2cli_ioctl.c from source3 to the toplevelBjörn Baumbach2012-05-153-0/+370
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 15 20:17:01 CEST 2012 on sn-devel-104
* libcli/smb: move smb2cli_query_directory.c from source3 to the toplevelBjörn Baumbach2012-05-153-0/+241
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/smb: move smb2cli_query_info.c from source3 to the toplevelBjörn Baumbach2012-05-153-0/+284
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/smb: move smb2cli_set_info.c from source3 to the toplevelBjörn Baumbach2012-05-153-0/+207
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/smb: move smb2cli_flush.c from source3 to the toplevelBjörn Baumbach2012-05-153-0/+148
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/smb: move smb2cli_write.c from source3 to the toplevelBjörn Baumbach2012-05-153-0/+188
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/smb: move smb2cli_read.c from source3 to the toplevelBjörn Baumbach2012-05-153-0/+216
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/smb: move smb2cli_close.c from source3 to the toplevelStefan Metzmacher2012-05-153-0/+154
| | | | metze
* libcli/smb: move smb2cli_create.c from source3 to the toplevelStefan Metzmacher2012-05-153-0/+315
| | | | metze
* libcli/smb: move smb2cli_logoff_* from source3 to the top levelStefan Metzmacher2012-05-142-0/+110
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 14 17:02:46 CEST 2012 on sn-devel-104
* libcli/smb: git mv smb2_session.c smb2cli_session.cStefan Metzmacher2012-05-142-1/+1
| | | | metze
* libcli/nbt: no longer use old 'event_' tevent compat symbolsStefan Metzmacher2012-05-141-24/+24
| | | | metze