summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-09-16s3: Make sharesec optionally use sddlVolker Lendecke1-1/+76
2011-09-16s4:upgrade_from_s3 - old s3 versions < 3.4.x don't have a "state directory" ↵Matthias Dieter Wallnöfer1-1/+5
param Hence the "lock directory" path has to be used instead. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Sep 16 00:07:30 CEST 2011 on sn-devel-104
2011-09-15talloc: change version to 2.0.7Stefan Metzmacher3-1/+69
The version change is needed because the ABI file of the pytalloc code was fixed. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 22:32:59 CEST 2011 on sn-devel-104
2011-09-15s3-waf: fix SO_PEERCRED configure check.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Sep 15 20:59:26 CEST 2011 on sn-devel-104
2011-09-15rpc_server: Improve debug message for sys_getpeereid().Andreas Schneider1-1/+2
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Sep 15 19:23:43 CEST 2011 on sn-devel-104
2011-09-15s3:libsmb: remove unused cli_*encryption* functionsStefan Metzmacher2-48/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 17:52:00 CEST 2011 on sn-devel-104
2011-09-15s3:libsmb: s/cli_encryption_on/cli_state_encryption_on()Stefan Metzmacher2-4/+4
metze
2011-09-15waf: restore libsmbclient handling.Günther Deschner4-10/+9
This is a temporary solution to get libsmbclient installed properly as a library (including symlinks and proper symbols). I was not able to make the old internal library name 'libsmb/smbclient' work together with "realname" and/or "link_name". Maybe one of the waf gurus has more ideas here. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Sep 15 15:31:59 CEST 2011 on sn-devel-104
2011-09-15s3:libsmb: move cli->server{zone,time} to ↵Stefan Metzmacher3-12/+18
cli->conn.smb1.server.{time_zone,system_time} metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 14:00:29 CEST 2011 on sn-devel-104
2011-09-15s3:libsmb: split cli->secblob into ↵Stefan Metzmacher3-22/+81
cli->conn.smb1.server.{guid,gss_blob,challenge,workgroup} metze
2011-09-15s3:auth_server: make use of cli_state_server_challenge()Stefan Metzmacher1-7/+5
metze
2011-09-15s3:libsmb: make use of cli_state_server_gss_blob()Stefan Metzmacher1-5/+9
metze
2011-09-15s3:libsmb: make use of cli_state_server_challenge()Stefan Metzmacher1-11/+8
metze
2011-09-15s3:libsmb: add cli_state_server_challenge() and cli_state_server_gss_blob()Stefan Metzmacher2-0/+18
metze
2011-09-15s3:libsmb: remove the guid from the cli->secblob in spnego modeStefan Metzmacher1-4/+8
metze
2011-09-15s3:libsmb: make sure cli->secblob.length is 8 if we get a challengeStefan Metzmacher1-2/+2
metze
2011-09-15s3:libsmb: restructure cli_negprot_done() secblob handling a bitStefan Metzmacher1-10/+13
metze
2011-09-15s3:libsmb: move cli->sesskey to cli->conn.smb1.server.session_keyStefan Metzmacher3-4/+7
metze
2011-09-15s3:libsmb: detect lock_read and write_unlock supportStefan Metzmacher2-0/+17
metze
2011-09-15s3:libsmb: move cli->*braw_supported to cli->conn.smb1.server.*brawStefan Metzmacher3-9/+11
This is currently unused, but we might use it in future. metze
2011-09-15s3:libsmb: move cli->sec_mode to cli->conn.smb1.server.security_modeStefan Metzmacher3-7/+10
metze
2011-09-15s3:libsmb: move cli->max_mux to cli->conn.smb1.server.max_muxStefan Metzmacher3-6/+9
metze
2011-09-15s3:libsmb: move cli->max_xmit to cli->conn.smb1.max_xmitStefan Metzmacher3-9/+19
And keep cli->conn.smb1.client.max_xmit and cli->conn.smb1.server.max_xmit. metze
2011-09-15s3:libsmb: move cli->smb1.mid to cli->conn.smb1.midStefan Metzmacher3-3/+5
metze
2011-09-15s3:libsmb: move cli->capabilities to cli->conn.smb1.capabilitiesStefan Metzmacher3-17/+35
And keep cli->conn.smb1.client.capabilities and cli->conn.smb1.server_capabilities. metze
2011-09-15s3:libsmb: move cli->protocol to cli->conn.protocolStefan Metzmacher3-6/+7
metze
2011-09-15s3:libsmb: don't set cli->protocol in cli_state_create()Stefan Metzmacher1-1/+0
This is done in cli_negprot_done(), when we know the protocol. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 11:57:18 CEST 2011 on sn-devel-104
2011-09-15s3:libsmb: pass max_protocol to cli_negprot()Stefan Metzmacher13-26/+22
metze
2011-09-15s3:libsmb: add basic max_protocol support in cli_negprot()Stefan Metzmacher1-7/+15
metze
2011-09-15s3:libsmb: use local variables in cli_state_create()Stefan Metzmacher3-21/+14
We don't need to keep use_spnego, use_level_II_oplocks, force_dos_errors and force_ascii within struct cli_state. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 10:12:17 CEST 2011 on sn-devel-104
2011-09-15s3:libsmb: use CAP_EXTENDED_SECURITY instead of cli->use_spnegoStefan Metzmacher1-1/+1
cli->capabilities contains the negotiated capabilities. metze
2011-09-15s3:libsmb: make use of SMB_CAP_BOTH/CLIENT_MASK in ↵Stefan Metzmacher1-13/+25
cli_session_setup_capabilities() This matches a w2k3 client. metze
2011-09-15s3:libsmb: calculate the negotiated SMB1 capabilities in cli_negprot_done()Stefan Metzmacher1-6/+12
We calculate the negotiated capabilities based on the mask for: - client only flags - flags used in both directions - server only flags metze
2011-09-15s3:include: add some masks for SMB1 CAP_* flagsStefan Metzmacher1-0/+25
The flags are devided into 3 sections: - client only flags - flags used in both directions - server only flags metze
2011-09-15s3:libsmb: calculate all SMB1 capabilities we want to support for the connectionStefan Metzmacher1-2/+24
We should do this at startup in cli_state_create() and later calculate the negotiated capabilities in cli_negprot_done(). metze
2011-09-15s3:libsmb: no need to reset capabilities in cli_session_setup_lanman2()Stefan Metzmacher1-10/+0
This is only used cli->protocol < PROTOCOL_NT1, in which case cli_negprot_done() has already reset cli->capabilities. metze
2011-09-15s3:libsmb: make sure we always set cli->capabilities at the end of ↵Stefan Metzmacher1-3/+6
cli_negprot_done() If the server doesn't support PROTOCOL_NT1 we should reset the negotiated capabilities to 0. metze
2011-09-15Add a missing include file to two VFS modulesRichard Sharpe2-0/+2
Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 15 02:56:36 CEST 2011 on sn-devel-104
2011-09-15Finish commit 8745c70d by Michael Adam.Jeremy Allison2-9/+9
If you're going to move winbindd_cache.tdb to the state_path, do it *everywhere*. Found by Ira Cooper <ira@wakeful.net>. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 15 00:43:04 CEST 2011 on sn-devel-104
2011-09-14s3:libsmb: remove unused cli->is_sambaStefan Metzmacher3-31/+1
s3:libsmb: remove unused cli->is_samba metze Signed-off-by: Jeremy Allison <jra@samba.org>
2011-09-14s3:libsmb: align chunk_size for cli_pull/push() to a page size of 1024 bytesStefan Metzmacher1-0/+8
s3:libsmb: align chunk_size for cli_pull/push() to a page size of 1024 bytes metze Signed-off-by: Jeremy Allison <jra@samba.org>
2011-09-14s3:client.h: remove unused definesStefan Metzmacher1-9/+0
s3:client.h: remove unused defines metze Signed-off-by: Jeremy Allison <jra@samba.org>
2011-09-14s3:libsmb: let cli_write_max_bufsize() return the max number of possible bytesStefan Metzmacher1-21/+28
s3:libsmb: let cli_write_max_bufsize() return the max number of possible bytes We now return what's possible on the wire. Which is 0x1FFFF - data_offset if CAP_LARGE_WRITEX is given by the server (without signing) or 0xFFFFFF - data_offset if CIFS_UNIX_LARGE_READ_CAP is available (without signing/sealing). Otherwise we return max_xmit - data_offset. metze Signed-off-by: Jeremy Allison <jra@samba.org>
2011-09-14s3:libsmb: let cli_read_max_bufsize() return the max number of possible bytesStefan Metzmacher1-16/+31
s3:libsmb: let cli_read_max_bufsize() return the max number of possible bytes We now return what's possible on the wire. Which is 0xFFFF if CAP_LARGE_READX is given by the server or 0xFFFFFF - data_offset if CIFS_UNIX_LARGE_READ_CAP is available (without signing/sealing). Otherwise we return max_xmit - data_offset. metze Signed-off-by: Jeremy Allison <jra@samba.org>
2011-09-14s3:smbd: SMB ReadX with size > 0xffff should only possible for samba clients.Stefan Metzmacher1-1/+10
Windows 2008 R2 (and others) ignore the high bits for the read size. Unless we're using the unix extentions and the client uses CIFS_UNIX_LARGE_READ_CAP, we should also ignore the high bits. But we still need to support old "smbclient" binaries and have to check if the client is "Samba". metze Signed-off-by: Jeremy Allison <jra@samba.org>
2011-09-14s3:smbd: remember the client unix capabilities on the connectionStefan Metzmacher2-43/+44
metze Signed-off-by: Jeremy Allison <jra@samba.org>
2011-09-14Fix bug #8453 - smbclient segfaults when dialect option -m is used for ↵Jeremy Allison1-0/+13
legacy dialects Ensure we have valid pointers.
2011-09-14libcli/auth: add some const to SMBNTencrypt_hash() and SMBNTencrypt()Stefan Metzmacher2-4/+4
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 14 19:49:24 CEST 2011 on sn-devel-104
2011-09-14s4:wrepl_server: return NT_STATUS_CONNECTION_DISCONNECTEDStefan Metzmacher1-1/+1
We should return the same in all places. metze
2011-09-14s4:libcli/wrepl: return NT_STATUS_CONNECTION_DISCONNECTEDStefan Metzmacher1-3/+3
We should return the same in all places. metze