summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2011-11-04s3:libsmb: also remember the optional server name from the negprot responseStefan Metzmacher1-2/+23
W2K (at least sp4) and higher also send the server name. metze
2011-11-04s3:libsmb: the workgroup in the non-extended-security negprot is not aligned ↵Stefan Metzmacher1-2/+5
(#8573) I've tested the fix against NT4 sp6a, W2K sp4, W2K8R2 and Win8pre0. metze
2011-11-03nbt: trim down header dependencies of nbt.idl.Günther Deschner1-0/+1
Guenther
2011-11-03librpc: remove nbt dependency to samr.Günther Deschner1-0/+1
Guenther
2011-11-03s3:libsmb: make use of SMB_SIGNING_* constantsStefan Metzmacher1-4/+4
metze
2011-11-03s3:libsmb: make use of SMB_SIGNING_* constantsStefan Metzmacher1-5/+5
metze
2011-11-03s3:libsmb: s/Undefined/SMB_SIGNING_DEFAULT/Stefan Metzmacher4-6/+6
metze
2011-11-03s3:param: the behavior of "client/server signing = auto" is the same as "true"Stefan Metzmacher1-1/+0
So remove the special case for 'Auto'. metze
2011-11-03s3:libsmb: restore the 3.6.x behavior signing config parametersStefan Metzmacher1-7/+1
metze
2011-11-02s3-trustdomcache: make enumerate_domain_trusts() static.Günther Deschner2-101/+103
Guenther
2011-10-27replace: Add don't include unistd.h directly and add uid_wrapper.Andreas Schneider1-0/+1
2011-10-26s3:libsmb: make use of map_nt_error_from_unix_common() in clitrans.cStefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 26 17:53:15 CEST 2011 on sn-devel-104
2011-10-26s3:libsmb: avoid using smb_flg2 in cli_trans.cStefan Metzmacher1-1/+3
metze
2011-10-26s3:libsmb: replace smb_size - 4 with MIN_SMB_SIZE in clitrans.cStefan Metzmacher1-1/+1
metze
2011-10-26s3:libsmb: use 'tevent_' instead of 'event_' in clitrans.cStefan Metzmacher2-5/+5
metze
2011-10-26s3:libsmb: make use of smb_buffer_oob() in clitrans.cStefan Metzmacher1-4/+4
metze
2011-10-26s3:libsmb: use smb_len_nbt() in clitrans.cStefan Metzmacher1-2/+2
metze
2011-10-25s3:smb2cli_base: make use of [_]smb_[set]len_tcp()Stefan Metzmacher1-2/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 25 19:30:43 CEST 2011 on sn-devel-104
2011-10-25s3:smb2cli_base: make use of map_nt_error_from_unix_common()Stefan Metzmacher1-2/+4
metze
2011-10-25s3:libsmb: s/event_context/tevent_context/ in async_smb.[ch]Stefan Metzmacher1-2/+2
metze
2011-10-25s3:libsmb: make use of map_nt_error_from_unix_common() in async_smb.cStefan Metzmacher1-2/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 25 03:21:06 CEST 2011 on sn-devel-104
2011-10-25s3:libsmb: use HDR_* defines in cli_state_dispatch_smb1()Stefan Metzmacher1-7/+8
metze
2011-10-25s3:libsmb: make use of smb_[set]len_nbt() in async_smb.cStefan Metzmacher1-3/+3
metze
2011-10-25s3:libsmb: use HDR_* defines in cli_pull_raw_error()Stefan Metzmacher1-3/+4
metze
2011-10-25libcli/smb: move smb_signing.[ch] to the toplevelStefan Metzmacher3-455/+2
metze
2011-10-25s3:libsmb/smb_signing: make use of HDR_* definesStefan Metzmacher1-4/+4
metze
2011-10-25s3:libsmb/smb_signing: make use of smb_len_nbt()Stefan Metzmacher1-6/+6
metze
2011-10-25s3:libsmb/smb_signing: avoid usage of smb_ss_fieldStefan Metzmacher1-7/+7
metze
2011-10-24libcli/smb: move source3/libsmb/read_smb.* to the toplevelStefan Metzmacher6-147/+3
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 10:18:06 CEST 2011 on sn-devel-104
2011-10-24s3:libsmb/read_smb: make use of smb_len_tcp()Stefan Metzmacher1-1/+1
metze
2011-10-24s3:libsmb: remove unused sync read_smb()Stefan Metzmacher2-25/+0
metze
2011-10-21libcli/smb: move smb_seal.c to the toplevelStefan Metzmacher4-432/+3
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 21 10:22:39 CEST 2011 on sn-devel-104
2011-10-21s3-ntlmssp Remove references to auth_ntlmssp_context from the smb sealing codeAndrew Bartlett2-30/+29
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-ntlmssp Remove auth_ntlmssp_session_key()Andrew Bartlett1-11/+0
We now just call the gensec_session_key() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-ntlmssp Remove auth_ntlmssp_want_feature()Andrew Bartlett2-15/+2
We now just call the gensec_want_feature() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-seal use gensec_[un]wrap() instead of gensec_[un]seal_packet()Andrew Bartlett1-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>
2011-10-21s3-ntlmssp use gensec_{seal,unseal,sign,check}_packetAndrew Bartlett2-49/+4
This avoids the indirection via the auth_ntlmsssp wrapper functions. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-ntlmssp Remove auth_ntlmssp_negotiated_sign() and ↵Andrew Bartlett1-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>
2011-10-21s3-ntlmssp Remove auth_ntlmssp_update wrapperAndrew Bartlett2-9/+3
We now just call gensec_update directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3:libsmb/smb_seal: always use SAFE_FREE(buf) in common_free_enc_buffer()Stefan Metzmacher1-14/+1
There's no need to do gss-api specific stuff, the buffer is always malloc'ed. metze
2011-10-21s3:libsmb/smb_seal: use plain malloc() in common_ntlm_encrypt_buffer()Stefan Metzmacher1-2/+7
metze
2011-10-21s3:libsmb/smb_seal: avoid ads_errstr() dependency and use gssapi_error_string()Stefan Metzmacher1-9/+28
metze
2011-10-21s3:libsmb/smb_seal: make use of common [_]smb_[set]len_nbt() macrosStefan Metzmacher1-11/+11
metze
2011-10-20s3:libsmb/async_smb: in cli_state_notify_pending() we always disconnectStefan Metzmacher1-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
2011-10-19s3:libsmb/smb_seal: move smb_set_enclen() to smb_seal.c and make it static thereStefan Metzmacher1-0/+13
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 19 19:06:35 CEST 2011 on sn-devel-104
2011-10-19s3:libsmb/smb_seal: s/uint16/uint16_tStefan Metzmacher1-3/+3
metze
2011-10-19s3:include: move smb_seal.c prototypes to smb_crypt.hStefan Metzmacher2-9/+1
metze
2011-10-19s3:libsmb/smb_seal: make common_ntlm_[en|de]crypt_buffer staticStefan Metzmacher2-7/+2
metze
2011-10-19s3: Remove duplicate fsctl function definitionsDavid Disseldorp1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-19s3: Avoid a winbind 100% cpu loopVolker Lendecke1-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