summaryrefslogtreecommitdiffstats
path: root/libcli
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-241-0/+1
| | | | | | 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-242-0/+3
| | | | | | | 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
* libcli/cldap/cldap.c - remove outdated commentMatthias Dieter Wallnöfer2011-11-101-2/+0
| | | | | | | Reviewed-by: metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 10 20:32:08 CET 2011 on sn-devel-104
* libcli/cldap: fix a crash bug in cldap_socket_recv_dgram() (bug #8593)Stefan Metzmacher2011-11-101-10/+25
| | | | | | | | | | | | After a calling any wrapper of tevent_req_notify_callback(), e.g. tevent_req_nterror(), tevent_req_done(), tevent_req_nomem(), a function has to return immediately otherwise it is very likely to crash, unless in calls tevent_req_defer_callback() before. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 10 16:31:59 CET 2011 on sn-devel-104
* waf: convert NDR_NBT into shared library.Günther Deschner2011-11-032-2/+2
| | | | Guenther
* nbt: move netlogon_samlogon_response into librpc/ndr/ndr_nbt.h.Günther Deschner2011-11-031-11/+0
| | | | Guenther
* nbt: move nbt_string ndr functions to ndr/ndr_nbt.c helper.Günther Deschner2011-11-032-180/+0
| | | | Guenther
* nbt: merge in LIBCLI_NDR_NETLOGON helper into NDR_NBT.Günther Deschner2011-11-034-241/+1
| | | | Guenther
* librpc: remove nbt dependency to svcctl.Günther Deschner2011-11-031-1/+0
| | | | Guenther
* librpc: remove nbt dependency to samr.Günther Deschner2011-11-032-3/+2
| | | | Guenther
* libcli/smb: use the same values for SMB_SIGNING_* as the source3 code usesStefan Metzmacher2011-11-031-4/+4
| | | | | | | | | | | | The source3 code currently uses: #define Undefined (-1) #define False false #define True true #define Required (3) In order to make the rewrite easier we should match the values. metze
* libcli/smb: remove unused SMB_SIGNING_SUPPORTEDStefan Metzmacher2011-11-031-1/+0
| | | | metze
* libcli/smb: add SMB_SIGNING_IF_REQUIRED as replacement for SMB_SIGNING_SUPPORTEDStefan Metzmacher2011-11-031-1/+2
| | | | metze
* libcli/smb: SMB_SIGNING_AUTO is no longer usedStefan Metzmacher2011-11-031-1/+0
| | | | metze
* libcli/smb: add SMB_SIGNING_DEFAULTStefan Metzmacher2011-11-031-2/+6
| | | | metze
* libcli/smb: add smb_buffer_oob() helperStefan Metzmacher2011-10-262-0/+14
| | | | | | A copy of trans_oob(). metze
* libcli/smb: merge NEGOTIATE_SECURITY_* flags to smb_constants.hStefan Metzmacher2011-10-261-0/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 26 11:27:12 CEST 2011 on sn-devel-104
* libcli/smb: move smb_signing.[ch] to the toplevelStefan Metzmacher2011-10-253-5/+519
| | | | metze
* libcli/smb: remove unused includes from read_smb.hStefan Metzmacher2011-10-251-2/+2
| | | | metze
* libcli/smb: merge LOCKING_ANDX_* and OPLOCK_* defines to smb_constants.hStefan Metzmacher2011-10-241-0/+34
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 17:46:47 CEST 2011 on sn-devel-104
* libcli/smb: move more defines to smb_constants.hStefan Metzmacher2011-10-241-0/+105
| | | | metze
* libcli/smb: move CAP_* defines to smb_constants.hStefan Metzmacher2011-10-241-0/+46
| | | | metze
* libcli/smb Move smb_seal.h include to files that use it.Andrew Bartlett2011-10-242-1/+1
| | | | | | | | | | This is required because at the moment, smb_seal.h includes references to gssapi structures and this causes issues with header dependencies on subsystems that otherwise do not need a gssapi dependency. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/smb: move source3/libsmb/read_smb.* to the toplevelStefan Metzmacher2011-10-243-2/+148
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 10:18:06 CEST 2011 on sn-devel-104
* libcli-cldap: avoid the case local == remote == NULLMatthieu Patou2011-10-211-1/+5
|
* libcli/cldap: make sure the local and remote address family matchesStefan Metzmacher2011-10-211-5/+25
| | | | | | metze Signed-off-by: Matthieu Patou <mat@matws.net>
* libcli: remove unneeded com_err.h and fix the build here.Günther Deschner2011-10-211-4/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 21 15:52:36 CEST 2011 on sn-devel-104
* libcli/smb: move smb_seal.c to the toplevelStefan Metzmacher2011-10-214-2/+503
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 21 10:22:39 CEST 2011 on sn-devel-104
* libcli/smb: add smb_setlen_[nbt|tcp] macrosStefan Metzmacher2011-10-211-0/+8
| | | | metze
* libcli/smb: move some common defines to smb_constants.hStefan Metzmacher2011-10-211-0/+27
| | | | metze
* werror: Added missing DNS error codesAmitay Isaacs2011-10-201-0/+36
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* libcli/smb: add smb_[set]len_[nbt|tcp]() macrosStefan Metzmacher2011-10-191-0/+6
| | | | metze
* libcli: Move smb2 fsctl fn defs into common codeDavid Disseldorp2011-10-191-1/+14
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>