summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:libsmb: restore the 3.6.x behavior signing config parametersStefan Metzmacher2011-11-031-7/+1
| | | | metze
* s3-trustdomcache: make enumerate_domain_trusts() static.Günther Deschner2011-11-022-101/+103
| | | | Guenther
* replace: Add don't include unistd.h directly and add uid_wrapper.Andreas Schneider2011-10-271-0/+1
|
* s3:libsmb: make use of map_nt_error_from_unix_common() in clitrans.cStefan Metzmacher2011-10-261-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 26 17:53:15 CEST 2011 on sn-devel-104
* s3:libsmb: avoid using smb_flg2 in cli_trans.cStefan Metzmacher2011-10-261-1/+3
| | | | metze
* s3:libsmb: replace smb_size - 4 with MIN_SMB_SIZE in clitrans.cStefan Metzmacher2011-10-261-1/+1
| | | | metze
* s3:libsmb: use 'tevent_' instead of 'event_' in clitrans.cStefan Metzmacher2011-10-262-5/+5
| | | | metze
* s3:libsmb: make use of smb_buffer_oob() in clitrans.cStefan Metzmacher2011-10-261-4/+4
| | | | metze
* s3:libsmb: use smb_len_nbt() in clitrans.cStefan Metzmacher2011-10-261-2/+2
| | | | metze
* s3:smb2cli_base: make use of [_]smb_[set]len_tcp()Stefan Metzmacher2011-10-251-2/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 25 19:30:43 CEST 2011 on sn-devel-104
* s3:smb2cli_base: make use of map_nt_error_from_unix_common()Stefan Metzmacher2011-10-251-2/+4
| | | | metze
* s3:libsmb: s/event_context/tevent_context/ in async_smb.[ch]Stefan Metzmacher2011-10-251-2/+2
| | | | metze
* s3:libsmb: make use of map_nt_error_from_unix_common() in async_smb.cStefan Metzmacher2011-10-251-2/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 25 03:21:06 CEST 2011 on sn-devel-104
* s3:libsmb: use HDR_* defines in cli_state_dispatch_smb1()Stefan Metzmacher2011-10-251-7/+8
| | | | metze
* s3:libsmb: make use of smb_[set]len_nbt() in async_smb.cStefan Metzmacher2011-10-251-3/+3
| | | | metze
* s3:libsmb: use HDR_* defines in cli_pull_raw_error()Stefan Metzmacher2011-10-251-3/+4
| | | | metze
* libcli/smb: move smb_signing.[ch] to the toplevelStefan Metzmacher2011-10-253-455/+2
| | | | metze
* s3:libsmb/smb_signing: make use of HDR_* definesStefan Metzmacher2011-10-251-4/+4
| | | | metze
* s3:libsmb/smb_signing: make use of smb_len_nbt()Stefan Metzmacher2011-10-251-6/+6
| | | | metze
* s3:libsmb/smb_signing: avoid usage of smb_ss_fieldStefan Metzmacher2011-10-251-7/+7
| | | | metze
* libcli/smb: move source3/libsmb/read_smb.* to the toplevelStefan Metzmacher2011-10-246-147/+3
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 10:18:06 CEST 2011 on sn-devel-104
* s3:libsmb/read_smb: make use of smb_len_tcp()Stefan Metzmacher2011-10-241-1/+1
| | | | metze
* s3:libsmb: remove unused sync read_smb()Stefan Metzmacher2011-10-242-25/+0
| | | | metze
* libcli/smb: move smb_seal.c to the toplevelStefan Metzmacher2011-10-214-432/+3
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 21 10:22:39 CEST 2011 on sn-devel-104
* s3-ntlmssp Remove references to auth_ntlmssp_context from the smb sealing codeAndrew Bartlett2011-10-212-30/+29
| | | | | | Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-ntlmssp Remove auth_ntlmssp_session_key()Andrew Bartlett2011-10-211-11/+0
| | | | | | | | We now just call the gensec_session_key() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-ntlmssp Remove auth_ntlmssp_want_feature()Andrew Bartlett2011-10-212-15/+2
| | | | | | | | We now just call the gensec_want_feature() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-seal use gensec_[un]wrap() instead of gensec_[un]seal_packet()Andrew Bartlett2011-10-211-54/+41
| | | | | | | | | | | | | This should not make a difference for NTLMSSP as it still calls the low level ntlmssp_[un]seal_packet() functions with the same input parameters. If we convert the gss-api/krb5 based code to gensec we have to use gensec_[un]wrap() as the wire format is different compared to gensec_[un]seal_packet() there. Andrew Bartlett Split from another commit by Stefan Metzmacher <metze@samba.org>
* s3-ntlmssp use gensec_{seal,unseal,sign,check}_packetAndrew Bartlett2011-10-212-49/+4
| | | | | | | | This avoids the indirection via the auth_ntlmsssp wrapper functions. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-ntlmssp Remove auth_ntlmssp_negotiated_sign() and ↵Andrew Bartlett2011-10-211-10/+0
| | | | | | | | | | auth_ntlmssp_negotiated_seal() We now just call the gensec_have_feature() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-ntlmssp Remove auth_ntlmssp_update wrapperAndrew Bartlett2011-10-212-9/+3
| | | | | | | | We now just call gensec_update directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb/smb_seal: always use SAFE_FREE(buf) in common_free_enc_buffer()Stefan Metzmacher2011-10-211-14/+1
| | | | | | | There's no need to do gss-api specific stuff, the buffer is always malloc'ed. metze
* s3:libsmb/smb_seal: use plain malloc() in common_ntlm_encrypt_buffer()Stefan Metzmacher2011-10-211-2/+7
| | | | metze
* s3:libsmb/smb_seal: avoid ads_errstr() dependency and use gssapi_error_string()Stefan Metzmacher2011-10-211-9/+28
| | | | metze
* s3:libsmb/smb_seal: make use of common [_]smb_[set]len_nbt() macrosStefan Metzmacher2011-10-211-11/+11
| | | | metze
* s3:libsmb/async_smb: in cli_state_notify_pending() we always disconnectStefan Metzmacher2011-10-201-7/+5
| | | | | | | | | So we should always set state->mid = 0. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 20 11:34:23 CEST 2011 on sn-devel-104
* s3:libsmb/smb_seal: move smb_set_enclen() to smb_seal.c and make it static thereStefan Metzmacher2011-10-191-0/+13
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 19 19:06:35 CEST 2011 on sn-devel-104
* s3:libsmb/smb_seal: s/uint16/uint16_tStefan Metzmacher2011-10-191-3/+3
| | | | metze
* s3:include: move smb_seal.c prototypes to smb_crypt.hStefan Metzmacher2011-10-192-9/+1
| | | | metze
* s3:libsmb/smb_seal: make common_ntlm_[en|de]crypt_buffer staticStefan Metzmacher2011-10-192-7/+2
| | | | metze
* s3: Remove duplicate fsctl function definitionsDavid Disseldorp2011-10-191-1/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Avoid a winbind 100% cpu loopVolker Lendecke2011-10-191-0/+8
| | | | | | | | | | | | When a DC goes down hard, winbind can end up in a 100% CPU loop. The next (small) RPC request to the DC ends up as a trans2 request. If the connection goes down, we end up trying to discard the request via the loop in cli_state_notify_pending(). Because this is a trans2 request, cli_smb_req_unset_pending will not kick in. Thus the pending array will always remain at length 1. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Oct 19 01:39:35 CEST 2011 on sn-devel-104
* s3-libsmb Use a gensec module to provide the ntlmssp client in ntlmssp_wrap.cAndrew Bartlett2011-10-181-82/+193
| | | | | | This removes the need to have if (ans->gensec_security) everywhere. Andrew Bartlett
* s3-ntlmssp split auth_ntlmssp_client_start() into two partsAndrew Bartlett2011-10-182-11/+16
| | | | | | | | | | | This will allow it to be a wrapper around a gensec module, which requires that they options be set on a context, but before the mechanism is started. This also simplfies the callers, by moving the lp_*() calls into one place. Andrew Bartlett
* gensec: move event context from gensec_*_init() to gensec_update()Andrew Bartlett2011-10-181-1/+1
| | | | | | | | | | | | This avoids keeping the event context around on a the gensec_security context structure long term. In the Samba3 server, the event context we either supply is a NULL pointer as no server-side modules currently use the event context. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* ntlmssp: Move ntlmssp code to auth/ntlmsspAndrew Bartlett2011-10-186-8/+8
| | | | | | | | | This brings in the code from both libcli/auth and source4/auth/ntlmssp. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth Add my copyrightAndrew Bartlett2011-10-181-1/+1
| | | | | | I have done plenty of work here, I deserve some of the blame :-) Andrew Bartlett
* libsmbclient: initial ABI signaturesAndrew Tridgell2011-10-181-0/+170
|
* libsmbclient: add ABI checking and pc fileAndrew Tridgell2011-10-181-0/+11
| | | | | | | | | this gives us ABI checking for libsmbclient so that the waf build will prevent ABI breakage, and a public version number. The addition of the pc file makes this library available via pkgconfig, including querying of the version number Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Fix const warning.Jeremy Allison2011-10-141-1/+1
|