summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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: add forward declaration for struct cli_stateStefan Metzmacher2011-11-241-0/+1
| | | | metze
* s3:smb2cli: make smb2cli_session_setup_send/recv non-staticStefan Metzmacher2011-11-242-5/+23
| | | | metze
* s3:smb2cli: make use of smbXcli_session and setup the session key for SMB2 ↵Stefan Metzmacher2011-11-2412-72/+190
| | | | | | 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
* s3:smb2cli: implement smb2cli_negprot() on top of smbXcli_negprot()Stefan Metzmacher2011-11-243-163/+15
| | | | 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-243-3/+11
| | | | metze
* smbXcli: add smbXcli_negprot_*Stefan Metzmacher2011-11-242-0/+815
| | | | | | This supports negotiation of any SMB1 or SMB2 dialect. metze
* smbXcli: add helper functions to access the negotiated featuresStefan Metzmacher2011-11-242-0/+113
| | | | metze
* smbXcli: also notify chained requests about broken connectionsStefan Metzmacher2011-11-241-14/+49
| | | | metze
* smbXcli: simplify smb1cli_req_chain_submit()Stefan Metzmacher2011-11-241-12/+3
| | | | | | | We should hang everything on the first request in the chain, as that's the one that gets added to the pending array. metze
* smbXcli: remove unused smb1cli_have_andx_command()Stefan Metzmacher2011-11-241-32/+0
| | | | metze
* smbXcli: reorder smb1cli_conn_dispatch_incoming() to avoid too much nestingStefan Metzmacher2011-11-241-64/+67
| | | | metze
* smbXcli: rework smb1cli_req_recv() to expose an iov with 3 elementsStefan Metzmacher2011-11-242-111/+118
| | | | | | | | | | | | | Each smb1cli_req has 3 iov elements [SMB HDR, SMB Parameter Block, SMB Data Block]. The 'inbuf' is still exposed if the caller requires it (until we fix all legacy callers). The can now pass an array of expected [status,wct] combinations, instead of just one expected min_wct. metze
* smbXcli: use smb1cli_inbuf_parse_chain() and remember more details per chain ↵Stefan Metzmacher2011-11-241-15/+60
| | | | | | response metze
* smbXcli: add smb1cli_inbuf_parse_chain()Stefan Metzmacher2011-11-241-0/+174
| | | | metze
* smbXcli: pass hdr to smb1cli_pull_raw_error()Stefan Metzmacher2011-11-241-3/+2
| | | | metze
* smbXcli: add state->smb1.recv_{cmd,status,iov}Stefan Metzmacher2011-11-241-0/+13
| | | | | | In the following commits we will need to remember a few more things. metze
* smbXcli: split out a smb1cli_req_flags() functionStefan Metzmacher2011-11-241-26/+55
| | | | metze
* smbXcli: set message id to UINT64_MAX for BREAK in smb2cli_req_create()Stefan Metzmacher2011-11-241-0/+9
| | | | | | | | | This way the caller can register an oplock handler. Note that smb2cli_req_compound_submit() will overwrite this if a request is send over the wire. metze
* s3:smb2cli: replace smb2cli_base.c code with the more generic smbXcli_base.c ↵Stefan Metzmacher2011-11-246-783/+41
| | | | | | code metze
* smbXcli: rework smb2cli_req to smbXcli_conn/smbXcli_reqStefan Metzmacher2011-11-242-172/+167
| | | | metze
* libcli/smb: copy smb2cli_req_* code to smbXcli_base.cStefan Metzmacher2011-11-242-0/+620
| | | | metze
* smbXcli: rework smbXcli_base.c to use smbXcli_conn/smbXcli_reqStefan Metzmacher2011-11-242-323/+871
| | | | | | | This splits the low level smb code from 'struct cli_state' and makes it much more generic and useful for testing. metze
* smbXcli: cp source3/libsmb/async_smb.c libcli/smb/smbXcli_base.cStefan Metzmacher2011-11-241-0/+1118
| | | | metze
* security: add local authority well-known SIDsChristian Ambach2011-11-243-0/+9
| | | | | | | add the S-1-2 well-known SID family Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Nov 24 19:01:08 CET 2011 on sn-devel-104
* s3:smb2 report access_based_dir_enum in tcon replyChristian Ambach2011-11-241-0/+5
| | | | | let the client know when hide unreadable or hide unwriteable files is set for a share
* s3:smb2 do not set allow_namespace_caching flag for a shareChristian Ambach2011-11-241-1/+1
| | | | | this matches Win7/2002R2 behavior and clients also must ignore this flag when set (MS-SMB 2.2.10), so we should not set it at all
* s3:vfs:gpfs remove non-working codeChristian Ambach2011-11-241-65/+0
| | | | | | | | | | | | | | | when development of vfs_gpfs was started a long time ago it was considered a good idea to have it compileable even if GPFS is not around and then the module would complain in the logs that libgpfs is not there Nowadays this does not work any more as the code contains GPFS specific types that need the GPFS header files. Instead of making it compile again by adding GPFS typedefs, this removes the whole approach. Other VFS modules also do not even compile when necessary headers are not around, so do the same for the GPFS module code.
* s3:vfs:gpfs fix some compiler warningsChristian Ambach2011-11-241-3/+3
|
* s3:vfs:gpfs convert syncio parameterChristian Ambach2011-11-241-2/+11
| | | | | convert syncio parameter to be stored in the VFS handle data this removes the need to go through lp_parm_bool() on each open
* s4 dns: Test QCLASS_NONE queryKai Blin2011-11-241-0/+14
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Nov 24 14:10:45 CET 2011 on sn-devel-104
* s4 dns: Test QTYPE_ALL queryKai Blin2011-11-241-0/+25
|
* s4 dns: Check more of the returned values for the A queryKai Blin2011-11-241-0/+3
|
* s4 dns: Move dns_transaction_udp to other helper functionsKai Blin2011-11-241-13/+14
|
* pidl:Samba4/NDR/Parser: don't generate code for [ignore] pointersStefan Metzmacher2011-11-241-2/+35
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 24 12:31:04 CET 2011 on sn-devel-104
* Remove unused variable.Jeremy Allison2011-11-241-1/+0
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Nov 24 00:17:41 CET 2011 on sn-devel-104
* Fix uninitialized variable frees on error paths.Jeremy Allison2011-11-231-11/+11
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 23 22:38:13 CET 2011 on sn-devel-104
* s3: Fix a valgrind errorVolker Lendecke2011-11-231-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 23 19:17:20 CET 2011 on sn-devel-104
* s3: Move server_info_struct to nmbdVolker Lendecke2011-11-232-9/+9
| | | | That's the only place where it's used.
* s3: Replace delete_token_list by an arrayVolker Lendecke2011-11-232-53/+69
| | | | | | | | This will make it easier to convert locking.tdb to IDL, and I don't think there will be enough entries to justify a linked list over an array. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 23 09:02:12 CET 2011 on sn-devel-104
* Ensure we don't free uninitialized variables.Jeremy Allison2011-11-231-2/+2
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 23 02:27:53 CET 2011 on sn-devel-104
* Remove the setting of the inherited ACL on new files/directories. This isJeremy Allison2011-11-223-224/+0
| | | | | now done correctly in the main codepath. The vfs_acl_XXXX modules are now thin shims that simply store/retrieve ACLs as they should be.