summaryrefslogtreecommitdiff
path: root/libcli
AgeCommit message (Collapse)AuthorFilesLines
2012-09-07waf: Rename nmblookup manpage to nmblookup4.Andreas Schneider2-66/+66
2012-08-31Factor out privilege checking code into se_file_access_check() which takes a ↵Jeremy Allison2-10/+87
bool priv_open_requested parameter.
2012-08-30Fix bug #9124 - Samba fails to set "inherited" bit on inherited ACE's.Jeremy Allison1-3/+7
Change se_create_child_secdesc() to handle inheritance correctly.
2012-08-25libcli/smb: split out a smb_transport private libraryStefan Metzmacher1-3/+15
metze
2012-08-25libcli/smb: wscript_build => wscriptStefan Metzmacher1-1/+2
We'll need some configure checks in future. metze
2012-08-24Remove useless bool "upper_case_domain" parameter from ntv2_owf_gen().Jeremy Allison3-13/+3
The code in SMBNTLMv2encrypt_hash() should not be requesting case changes on the domain name. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Aug 24 21:39:42 CEST 2012 on sn-devel-104
2012-08-24Remove useless bool "upper_case_domain" parameter.Jeremy Allison1-13/+2
2012-08-24Move uppercasing the domain out of smb_pwd_check_ntlmv2()Jeremy Allison1-9/+21
Allows us to remove a silly bool parameter. Based on work done by "Blohm, Guntram (I/FP-37, extern)" <extern.guntram.blohm@audi.de>.
2012-08-22libcli: fix value of NT_STATUS_FILE_NOT_AVAILABLEBjörn Jacke1-1/+1
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Wed Aug 22 01:30:06 CEST 2012 on sn-devel-104
2012-08-17libcli/smb: make sure the SMB2_TRANSFORM pdu is completeStefan Metzmacher1-3/+12
metze
2012-08-16libcli/smb: support broken OS/2 error responses bug #9096Stefan Metzmacher1-3/+57
OS/2 skips the DATA Block in SMB1 responses. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Aug 16 13:16:49 CEST 2012 on sn-devel-104
2012-08-15libcli/smb: verify decrypted SMB2 pdus correctlyStefan Metzmacher1-2/+38
We need to make sure we got a encrypted response if we asked for it. If we don't get a encrypted response, we use a similar logic as with signing to propagated wellknown errors to the higher layer and set state->smb2.signing_skipped = true. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Aug 15 16:26:26 CEST 2012 on sn-devel-104
2012-08-15libcli/smb: fix parsing of compounded messages within a SMB2_TRANSFORM pduStefan Metzmacher1-5/+12
One SMB2_TRANSFORM pdu wraps multiple SMB2 pdus. We inject the SMB2_TRANSFORM header to each response which was wrapped inside. This allows the next layer to verify if the SMB2 pdu was encrypted. metze
2012-08-15libcli/smb: fix smb2cli_req_compound_submit for multiple encrypted messagesStefan Metzmacher1-63/+104
There should be only one SMB2_TRANSFORM header for all compound requests. metze
2012-08-15libcli/smb: all flags except SMB2_HDR_FLAG_ASYNC should be cleared in a ↵Stefan Metzmacher1-0/+6
cancel request. metze
2012-08-10build: rename security → samba-securityBjörn Jacke1-2/+2
there is a libsecurity on OSF1 which clasheѕ with our security lib. see bug #9023. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Aug 10 14:22:21 CEST 2012 on sn-devel-104
2012-08-08libcli/smb: do not set SMB2_TF_MSG_SIZE in the callerStefan Metzmacher1-3/+0
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Aug 8 07:32:55 CEST 2012 on sn-devel-104
2012-08-08libcli/smb: smb2_signing_[en|de]crypt_pdu() check and set SMB2_TF_MSG_SIZEStefan Metzmacher1-6/+16
metze
2012-08-07libcli/util: add NT_STATUS_FILE_NOT_AVAILABLEStefan Metzmacher2-0/+2
metze
2012-08-07libcli/smb: use forward declaration instead of includesStefan Metzmacher1-3/+2
metze
2012-08-06smbXcli: add some includes to fix compiler warningsChristian Ambach1-0/+3
if smbXcli_base.h is included on its own, there are various compiler warnings about implicitly declared struct iovec and smb2_create_blobs
2012-08-04libcli/smb: add smb1cli_session_protect_session_key()Stefan Metzmacher2-0/+25
metze
2012-08-04libcli/smb: add smb_key_derivation() for ↵Stefan Metzmacher2-1/+49
TREE_CONNECT_ANDX_EXTENDED_SIGNATURES support metze
2012-08-04libcli/smb: pass hdr/len to smb_signing_check/sign_pdu() and skip the nbt headerStefan Metzmacher3-17/+25
metze
2012-08-04libcli/smb: change smb_signing to skip the NBT_HEADER_SIZE internallyStefan Metzmacher1-19/+24
metze
2012-08-01libcli/smb: move some TCON related defines to smb_constants.hStefan Metzmacher1-0/+13
metze
2012-08-01libcli/smb: remove unused smb2cli_session_application_key()Stefan Metzmacher2-21/+0
metze
2012-08-01libcli/smb: add smbXcli_session_application_key()Stefan Metzmacher2-0/+33
metze
2012-08-01libcli/smb: allow resetting of the smb1 application_keyStefan Metzmacher1-2/+6
We need this untill we have fixed all callers... metze
2012-08-01libcli/smb: let smb1cli_session_set_id() reset the application_keyStefan Metzmacher1-0/+1
We have some callers which reuse smbXcli_session, e.g. cli_state_set_uid() metze
2012-08-01libcli/smb: add smb1cli_session_set_session_key()Stefan Metzmacher2-0/+36
metze
2012-07-26libcli/smb: add basic session->smb2.channel_sequence handlingStefan Metzmacher2-0/+34
metze
2012-07-26libcli/smb: add SMB2_HDR_CHANNEL_SEQUENCEStefan Metzmacher1-0/+1
metze
2012-07-26libcli/smb: introduce a smb2cli_sessionStefan Metzmacher1-107/+93
This maintains the shared state between multiple session channels. metze
2012-07-26s3:libcli/smb: add SMB2_SESSION_FLAG_BINDINGStefan Metzmacher1-1/+4
metze
2012-07-25libcli/smb: setup tcon->smb2.should_encrypt in smb2cli_tcon_set_values()Stefan Metzmacher1-1/+16
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Jul 25 16:44:22 CEST 2012 on sn-devel-104
2012-07-25libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher2-0/+2
metze
2012-07-25libcli/smb: there's no PID field in the SMB2/3 header anymoreStefan Metzmacher12-21/+4
It's a reserved field... metze
2012-07-25libcli/smb: pass smbXcli_tcon to smb2cli_req_create/send()Stefan Metzmacher12-70/+30
metze
2012-07-25libcli/smb: add smb2cli_tcon_capabilities()Stefan Metzmacher2-0/+6
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_ioctl*()Stefan Metzmacher2-5/+10
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_query_directory*()Stefan Metzmacher2-5/+11
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_query_info*()Stefan Metzmacher2-5/+10
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_set_info*()Stefan Metzmacher2-13/+18
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_flush*()Stefan Metzmacher2-6/+12
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_write*()Stefan Metzmacher2-6/+12
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_read*()Stefan Metzmacher2-5/+10
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_close*()Stefan Metzmacher2-5/+10
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_create*()Stefan Metzmacher2-6/+12
metze
2012-07-24libcli/smb: pass down smbXcli_tcon to smb1cli_req_create/send() and ↵Stefan Metzmacher3-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