summaryrefslogtreecommitdiffstats
path: root/libcli
Commit message (Collapse)AuthorAgeFilesLines
* waf: Rename nmblookup manpage to nmblookup4.Andreas Schneider2012-09-072-66/+66
|
* Factor out privilege checking code into se_file_access_check() which takes a ↵Jeremy Allison2012-08-312-10/+87
| | | | bool priv_open_requested parameter.
* Fix bug #9124 - Samba fails to set "inherited" bit on inherited ACE's.Jeremy Allison2012-08-301-3/+7
| | | | Change se_create_child_secdesc() to handle inheritance correctly.
* libcli/smb: split out a smb_transport private libraryStefan Metzmacher2012-08-251-3/+15
| | | | metze
* libcli/smb: wscript_build => wscriptStefan Metzmacher2012-08-251-1/+2
| | | | | | We'll need some configure checks in future. metze
* Remove useless bool "upper_case_domain" parameter from ntv2_owf_gen().Jeremy Allison2012-08-243-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
* Remove useless bool "upper_case_domain" parameter.Jeremy Allison2012-08-241-13/+2
|
* Move uppercasing the domain out of smb_pwd_check_ntlmv2()Jeremy Allison2012-08-241-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>.
* libcli: fix value of NT_STATUS_FILE_NOT_AVAILABLEBjörn Jacke2012-08-221-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
* libcli/smb: make sure the SMB2_TRANSFORM pdu is completeStefan Metzmacher2012-08-171-3/+12
| | | | metze
* libcli/smb: support broken OS/2 error responses bug #9096Stefan Metzmacher2012-08-161-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
* libcli/smb: verify decrypted SMB2 pdus correctlyStefan Metzmacher2012-08-151-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
* libcli/smb: fix parsing of compounded messages within a SMB2_TRANSFORM pduStefan Metzmacher2012-08-151-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
* libcli/smb: fix smb2cli_req_compound_submit for multiple encrypted messagesStefan Metzmacher2012-08-151-63/+104
| | | | | | There should be only one SMB2_TRANSFORM header for all compound requests. metze
* libcli/smb: all flags except SMB2_HDR_FLAG_ASYNC should be cleared in a ↵Stefan Metzmacher2012-08-151-0/+6
| | | | | | cancel request. metze
* build: rename security → samba-securityBjörn Jacke2012-08-101-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
* libcli/smb: do not set SMB2_TF_MSG_SIZE in the callerStefan Metzmacher2012-08-081-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
* libcli/smb: smb2_signing_[en|de]crypt_pdu() check and set SMB2_TF_MSG_SIZEStefan Metzmacher2012-08-081-6/+16
| | | | metze
* libcli/util: add NT_STATUS_FILE_NOT_AVAILABLEStefan Metzmacher2012-08-072-0/+2
| | | | metze
* libcli/smb: use forward declaration instead of includesStefan Metzmacher2012-08-071-3/+2
| | | | metze
* smbXcli: add some includes to fix compiler warningsChristian Ambach2012-08-061-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
* libcli/smb: add smb1cli_session_protect_session_key()Stefan Metzmacher2012-08-042-0/+25
| | | | metze
* libcli/smb: add smb_key_derivation() for ↵Stefan Metzmacher2012-08-042-1/+49
| | | | | | TREE_CONNECT_ANDX_EXTENDED_SIGNATURES support metze
* libcli/smb: pass hdr/len to smb_signing_check/sign_pdu() and skip the nbt headerStefan Metzmacher2012-08-043-17/+25
| | | | metze
* libcli/smb: change smb_signing to skip the NBT_HEADER_SIZE internallyStefan Metzmacher2012-08-041-19/+24
| | | | metze
* libcli/smb: move some TCON related defines to smb_constants.hStefan Metzmacher2012-08-011-0/+13
| | | | metze
* libcli/smb: remove unused smb2cli_session_application_key()Stefan Metzmacher2012-08-012-21/+0
| | | | metze
* libcli/smb: add smbXcli_session_application_key()Stefan Metzmacher2012-08-012-0/+33
| | | | metze
* libcli/smb: allow resetting of the smb1 application_keyStefan Metzmacher2012-08-011-2/+6
| | | | | | We need this untill we have fixed all callers... metze
* libcli/smb: let smb1cli_session_set_id() reset the application_keyStefan Metzmacher2012-08-011-0/+1
| | | | | | | We have some callers which reuse smbXcli_session, e.g. cli_state_set_uid() metze
* libcli/smb: add smb1cli_session_set_session_key()Stefan Metzmacher2012-08-012-0/+36
| | | | metze
* libcli/smb: add basic session->smb2.channel_sequence handlingStefan Metzmacher2012-07-262-0/+34
| | | | metze
* libcli/smb: add SMB2_HDR_CHANNEL_SEQUENCEStefan Metzmacher2012-07-261-0/+1
| | | | metze
* libcli/smb: introduce a smb2cli_sessionStefan Metzmacher2012-07-261-107/+93
| | | | | | | This maintains the shared state between multiple session channels. metze
* s3:libcli/smb: add SMB2_SESSION_FLAG_BINDINGStefan Metzmacher2012-07-261-1/+4
| | | | metze
* libcli/smb: setup tcon->smb2.should_encrypt in smb2cli_tcon_set_values()Stefan Metzmacher2012-07-251-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
* libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher2012-07-252-0/+2
| | | | metze
* libcli/smb: there's no PID field in the SMB2/3 header anymoreStefan Metzmacher2012-07-2512-21/+4
| | | | | | It's a reserved field... metze
* libcli/smb: pass smbXcli_tcon to smb2cli_req_create/send()Stefan Metzmacher2012-07-2512-70/+30
| | | | metze
* libcli/smb: add smb2cli_tcon_capabilities()Stefan Metzmacher2012-07-252-0/+6
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_ioctl*()Stefan Metzmacher2012-07-242-5/+10
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_query_directory*()Stefan Metzmacher2012-07-242-5/+11
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_query_info*()Stefan Metzmacher2012-07-242-5/+10
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_set_info*()Stefan Metzmacher2012-07-242-13/+18
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_flush*()Stefan Metzmacher2012-07-242-6/+12
| | | | metze
* 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