summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Fix bug #8453 - smbclient segfaults when dialect option -m is used ↵Stefan Metzmacher2011-11-161-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
* s3:libsmb: always init cli->{server_os,server_domain,server_type}Stefan Metzmacher2011-11-161-0/+13
| | | | | | We should do that at creation time of cli_state. metze
* s3:libsmb: consistently use state->size in cli_write_andx_create() (bug #5326)Stefan Metzmacher2011-11-091-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
* s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326)Stefan Metzmacher2011-11-081-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
* s3:libsmb: correctly parse the LANMAN2.1 negprot response from OS/2 (bug #8584)Stefan Metzmacher2011-11-081-4/+30
| | | | metze
* s3:libsmb: key_len is 8bit only in the NT1 caseStefan Metzmacher2011-11-081-1/+1
| | | | metze
* s3:libsmb: return NT_STATUS_OK for if a request is not the last one in the chainStefan Metzmacher2011-11-071-0/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 7 11:38:05 CET 2011 on sn-devel-104
* s3:libsmb: make sure have_andx_command() returns false for non AndX commandsStefan Metzmacher2011-11-071-3/+7
| | | | metze
* s3:libsmb: remember the seqnum on all chained requestsStefan Metzmacher2011-11-071-0/+6
| | | | | | | This is needed in order to verify the incoming signature correctly. metze
* s3:libsmb: get cmd of the chained request before changing wct_ofsStefan Metzmacher2011-11-071-2/+1
| | | | metze
* s3:smb2cli: ignore the NBT/Length header in smb2cli_inbuf_parse_compound()Stefan Metzmacher2011-11-061-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
* s3:libsmb: also remember the optional server name from the negprot responseStefan Metzmacher2011-11-041-2/+23
| | | | | | W2K (at least sp4) and higher also send the server name. metze
* s3:libsmb: the workgroup in the non-extended-security negprot is not aligned ↵Stefan Metzmacher2011-11-041-2/+5
| | | | | | | | (#8573) I've tested the fix against NT4 sp6a, W2K sp4, W2K8R2 and Win8pre0. metze
* nbt: trim down header dependencies of nbt.idl.Günther Deschner2011-11-031-0/+1
| | | | Guenther
* librpc: remove nbt dependency to samr.Günther Deschner2011-11-031-0/+1
| | | | Guenther
* s3:libsmb: make use of SMB_SIGNING_* constantsStefan Metzmacher2011-11-031-4/+4
| | | | metze
* s3:libsmb: make use of SMB_SIGNING_* constantsStefan Metzmacher2011-11-031-5/+5
| | | | metze
* s3:libsmb: s/Undefined/SMB_SIGNING_DEFAULT/Stefan Metzmacher2011-11-034-6/+6
| | | | metze
* s3:param: the behavior of "client/server signing = auto" is the same as "true"Stefan Metzmacher2011-11-031-1/+0
| | | | | | So remove the special case for 'Auto'. metze
* 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>