summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2011-11-16s3-libsmb: introduce option to disable dos error mappingBjörn Baumbach2-1/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-16Revert "Fix bug #8453 - smbclient segfaults when dialect option -m is used ↵Stefan Metzmacher1-13/+0
for legacy dialects" This reverts commit f261ac1932ecdae925b27301aa3e907757845a85. We now handle that in cli_state_create(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 16 15:44:05 CET 2011 on sn-devel-104
2011-11-16s3:libsmb: always init cli->{server_os,server_domain,server_type}Stefan Metzmacher1-0/+13
We should do that at creation time of cli_state. metze
2011-11-09s3:libsmb: consistently use state->size in cli_write_andx_create() (bug #5326)Stefan Metzmacher1-1/+1
Otherwise we may get unexpected results. This is a fix that was missing in commit 95595dd93fd04999fcf56ecaab7c29b064d021f8 (s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326)) metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 9 10:13:32 CET 2011 on sn-devel-104
2011-11-08s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326)Stefan Metzmacher1-4/+15
Print shares doesn't support CAP_LARGE_WRITEX, while it's negotiated by the file server part. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 8 17:01:36 CET 2011 on sn-devel-104
2011-11-08s3:libsmb: correctly parse the LANMAN2.1 negprot response from OS/2 (bug #8584)Stefan Metzmacher1-4/+30
metze
2011-11-08s3:libsmb: key_len is 8bit only in the NT1 caseStefan Metzmacher1-1/+1
metze
2011-11-07s3:libsmb: return NT_STATUS_OK for if a request is not the last one in the chainStefan Metzmacher1-0/+6
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 7 11:38:05 CET 2011 on sn-devel-104
2011-11-07s3:libsmb: make sure have_andx_command() returns false for non AndX commandsStefan Metzmacher1-3/+7
metze
2011-11-07s3:libsmb: remember the seqnum on all chained requestsStefan Metzmacher1-0/+6
This is needed in order to verify the incoming signature correctly. metze
2011-11-07s3:libsmb: get cmd of the chained request before changing wct_ofsStefan Metzmacher1-2/+1
metze
2011-11-06s3:smb2cli: ignore the NBT/Length header in smb2cli_inbuf_parse_compound()Stefan Metzmacher1-7/+7
This is not needed and in future we want to support SMBDirect, which add a different header. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Nov 6 17:17:04 CET 2011 on sn-devel-104
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>