summaryrefslogtreecommitdiffstats
path: root/libcli
Commit message (Collapse)AuthorAgeFilesLines
...
* libcli/smb: Convert struct smb_trans_enc_state to tallocAndrew Bartlett2012-01-313-22/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: Remove unused enum smb_trans_enc_typeAndrew Bartlett2012-01-311-7/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/util: fix typo in nt_errs[] for NT_STATUS_NETWORK_SESSION_EXPIREDStefan Metzmacher2012-01-291-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jan 29 14:11:12 CET 2012 on sn-devel-104
* libcli/smb: fix smbXcli_negprot(..., PROTOCOL_NT1, PROTOCOL_SMB2_02)Stefan Metzmacher2012-01-271-3/+6
| | | | | | | | | | The SMB1 negprot request already consumed the SMB2 sequence '0'. This also happens for the SMB 2.02 case. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jan 27 15:27:41 CET 2012 on sn-devel-104
* lib: use differing NTSTATUS and WERROR struct membersDavid Disseldorp2012-01-231-2/+2
| | | | | | | | | | | This allows the compiler to catch uses of incorrectly typed arguments for [NT_STATUS|W_ERROR]_IS_OK() and [NT_STATUS|W_ERROR]_EQUAL(). I.e. WERROR werr; werr = my_fn(); /* XXX returns WERROR type */ if (NT_STATUS_EQUAL(werr, NT_STATUS_OBJECT_NAME_COLLISION)) {
* s3-libsmb: Always allow SMB_TRANS_ENC_GSS to be definedAndrew Bartlett2012-01-211-4/+2
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Jan 21 01:28:54 CET 2012 on sn-devel-104
* s3-libsmb: Remove unused smb_tran_enc_state_gss and gssapi headersAndrew Bartlett2012-01-201-15/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: use struct gensec_security directlyAndrew Bartlett2012-01-202-7/+5
| | | | | | | | This is rather than via a now one-element union. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libcli Change krb5 smb sealing to call via gensec and gensec_gseAndrew Bartlett2012-01-202-199/+4
| | | | | | | | | This also fixes the support for smb sealing with krb5 in make test, as this now relies on secrets.tdb rather than /etc/krb5.keytab. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* auth/kerberos: Remove unused TALLOC_CTX argument to check_pac_checksumAndrew Bartlett2012-01-121-2/+1
|
* Second part of fix for bug #8673 - NT ACL issue.Jeremy Allison2012-01-111-3/+4
| | | | | | | | | | | Ensure we process the entire ACE list instead of returning ACCESS_DENIED and terminating the walk - ensure we only return the exact bits that cause the access to be denied. Some of the S3 fileserver needs to know if we are only denied DELETE access before overriding it by looking at the containing directory ACL. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 11 19:24:53 CET 2012 on sn-devel-104
* krb5: Require krb5_string_to_key be available to build with krb5Andrew Bartlett2012-01-101-1/+1
|
* krb5: Require krb5_principal_compare_any_realm be available to build with krb5Andrew Bartlett2012-01-101-28/+0
|
* krb5: Require krb5_c_verify_checksum is available to build with krb5Andrew Bartlett2012-01-101-63/+20
|
* libcli/smb: Add smbXcli_conn_samba_suicideVolker Lendecke2012-01-052-0/+105
| | | | This is a pure test tool against Samba servers
* Fix the build without kerberosVolker Lendecke2012-01-011-0/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jan 1 23:56:24 CET 2012 on sn-devel-104
* auth/kerberos: Move gssapi_parse.c to the top levelAndrew Bartlett2011-12-281-0/+4
| | | | | | This will help with writing a gensec module for the s3 gse layer. Andrew Bartlett
* lib: Fix NT_STATUS_ALL_SIDS_FILTERED definitionVolker Lendecke2011-12-231-1/+1
| | | | | | | | | This seems to be more in line with all the other NT_STATUS definitions. Metze, please check. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Dec 23 23:19:17 CET 2011 on sn-devel-104
* libcli/smb: add PROTOCOL_SMB2_24 supportStefan Metzmacher2011-12-222-1/+3
| | | | metze
* libcli/smb: add SMB2_DIALECT_REVISION_224Stefan Metzmacher2011-12-221-0/+1
| | | | | | This is specified in the new [MS-SMB2] preview document. metze
* libcli/util: add NT_STATUS_NETWORK_SESSION_EXPIRED and ↵Stefan Metzmacher2011-12-172-0/+4
| | | | | | | | | NT_STATUS_ALL_SIDS_FILTERED metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Dec 17 14:24:40 CET 2011 on sn-devel-104
* libcli: Remove an unused variableVolker Lendecke2011-12-121-1/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Dec 12 23:21:49 CET 2011 on sn-devel-104
* s4-lsarpc handle more info levels in SetInfoTrustedDomain callsAndrew Bartlett2011-12-124-1/+403
| | | | | | | This uses the very helpful conversion functions written for the s3 lsa server and places these in common. Andrew Bartlett
* smbXcli: add support for SMBreadBrawStefan Metzmacher2011-11-291-7/+54
| | | | metze
* smbXcli: add smb1cli_conn_server_{readbraw,writebraw,lockread,writeunlock}()Stefan Metzmacher2011-11-292-0/+24
| | | | metze
* smb1cli_trans: add support for tevent_req_cancel()Stefan Metzmacher2011-11-291-0/+16
| | | | metze
* smb1cli_trans: return the status from the server if possibleStefan Metzmacher2011-11-291-1/+16
| | | | metze
* smbXcli: rebuild smb1.recv_iov array if we expect more than one responseStefan Metzmacher2011-11-291-0/+29
| | | | metze
* smbXcli: allow up to 10 iovec elements for the bytes in smb1cli_req_create()Stefan Metzmacher2011-11-291-1/+1
| | | | | | | The smb1cli_trans_* code uses up to 6 elements, which was too much for the current limit of 5. metze
* smbXcli: s/smb2cli_writev_done/smb2cli_req_writev_doneStefan Metzmacher2011-11-291-3/+3
| | | | | | This is a better name and it matches smb1cli_req_writev_done metze
* smbXcli: call tevent_queue_stop() for the outgoing queue on disconnectStefan Metzmacher2011-11-291-0/+2
| | | | metze
* smbXcli: use talloc_stackframe() instead of talloc_tos() in smb1cli_conn_signv()Stefan Metzmacher2011-11-291-2/+5
| | | | metze
* libcli/smb: remove unused smb_signing_set_bsrspyl() prototypeStefan Metzmacher2011-11-291-1/+0
| | | | metze
* Fix Coverity ID 2638: OVERRUN_STATICVolker Lendecke2011-11-281-1/+1
|
* Fix Coverity ID 2639: UNUSED_VALUEVolker Lendecke2011-11-281-2/+0
|
* s3:libsmb: Fix a typoVolker Lendecke2011-11-241-1/+1
|
* s3:smbXcli: keep two fd per connection in order to work with the epoll ↵Stefan Metzmacher2011-11-241-10/+25
| | | | | | tevent backend metze
* smbXcli: rework smb1cli_trans.c to use smbXcli_conn/smbXcli_reqStefan Metzmacher2011-11-243-136/+262
| | | | metze
* smbXcli: cp source3/libsmb/clitrans.c libcli/smb/smb1cli_trans.cStefan Metzmacher2011-11-241-0/+778
| | | | metze
* smbXcli: add smb2cli_req_set_notify_async()Stefan Metzmacher2011-11-242-0/+24
| | | | | | | That can be used if the caller wants to be notified if the async interim response arrives. metze
* smbXcli: add support for tevent_req_cancel() on smbXcli_reqStefan Metzmacher2011-11-241-0/+152
| | | | metze
* smbXcli: fix smb signing for SMBntcancelStefan Metzmacher2011-11-241-3/+10
| | | | metze
* smbXcli: add smb2cli_session_create_channel()Stefan Metzmacher2011-11-242-5/+93
| | | | | | | This makes it possible to implement SMB 2.22 Multi-Channel for testing. metze
* s3:smb2cli: make use of smbXcli_session and setup the session key for SMB2 ↵Stefan Metzmacher2011-11-242-6/+12
| | | | | | signing metze
* smbXcli: add support for smb2 signingStefan Metzmacher2011-11-241-5/+144
| | | | metze
* smbXcli: add smbXcli_session infrastructureStefan Metzmacher2011-11-242-0/+152
| | | | metze
* smbXcli: add support for PROTOCOL_SMB2_22 in smbXcli_negprot()Stefan Metzmacher2011-11-241-0/+1
| | | | metze
* smbXcli: add support for SMB2 multi-credit requestsStefan Metzmacher2011-11-242-5/+67
| | | | metze
* smbXcli: add support for 2.??? negprot and PROTOCOL_SMB2_10Stefan Metzmacher2011-11-241-2/+39
| | | | metze
* smbXcli: pass client_guid to smbXcli_conn_create()Stefan Metzmacher2011-11-242-2/+9
| | | | metze