summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_tcon.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-21Make DFS work over SMB2.Jeremy Allison1-5/+29
Jeremy.
2010-05-19Fix connecting to [homes] share over SMB2.Jeremy Allison1-3/+20
Jeremy.
2010-05-07When tearing down the connection make sure we close all files beforeJeremy Allison1-0/+1
freeing the global context, as we close access to the locking db before freeing the global context. Jeremy.
2010-05-07Fix crash in cancel-tdis lock test. Correctly shut down connection.Jeremy Allison1-1/+1
Jeremy.
2010-04-26Correctly report share types (now Win7 makes RPC calls against us).Jeremy Allison1-1/+7
Jeremy.
2010-04-17First part of fix for bug #7331 - Compound async SMB 2 requests don't work ↵Jeremy Allison1-9/+18
right. Gets us handling SMB2 compound async requests similar to W2K8R2 (and triggers the same client bug in the Win7 redirector). Great thanks to Ira Cooper <samba@ira.wakeful.net> for helping with this and to Metze for the wonderful async framework. The one thing I need to fix to make us identical to W2K8R2 is that when a compound request goes async at the end W2K8R2 splits the replies up into a compound non-async reply followed by a separate async reply. Currently we're doing the whole thing in a compound reply. Jeremy.
2010-04-07On compound requests, MS-SMB2 says clients MAY use 0xFFFFFFFF for compound ↵Jeremy Allison1-0/+19
tid and 0xFFFFFFFFFFFFFFFF for compound sessionid values. Cope with this. Jeremy.
2010-02-24Make conn_close_all() safe to call from SMB2 sessions (fix crash bug).Jeremy Allison1-2/+4
Ensure we don't call close_cnum() with SMB2, also talloc_move the compat_conn pointer from the NULL context onto the tcon context in SMB2 as it's conceptually owned by that pointer. Jeremy.
2009-12-06streamline some log levels for invalid servicenamesChristian Ambach1-1/+1
I don't think we need to log the fact that a user gave a wrong sharename in Explorer with the highest log level. The level of this was not very consistent: service.c: DEBUG(3,("find_service() failed to find service %s\n", service)); service.c: DEBUG(0,("%s (%s) couldn't find service %s\n", smb2_tcon.c: DEBUG(1,("smbd_smb2_tree_connect: couldn't find service %s\n", This changes the last two to 3 as the first one. Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2009-08-12libcli: move some common SMB and SMB2 stuff into libcli/smb/Stefan Metzmacher1-1/+1
This will hold code that's shared between source3 and source4. metze
2009-08-12s3:smbd: make sure we don't call conn_free() with a NULL pointer for SMB2Stefan Metzmacher1-1/+3
metze
2009-08-08s3:smbd: rename conn => sconn for smbd_server_connection structsStefan Metzmacher1-1/+1
This should avoid confusion between smbd_server_connection and connection_struct variables. metze
2009-08-07s3:smbd: add a smbd_server_connection pointer to connection_structStefan Metzmacher1-1/+1
This can be NULL for faked connection structs used in the rpc server or printing code. metze
2009-06-04s3:smbd: call set_current_service() when a SMB2 tcon will be usedStefan Metzmacher1-0/+5
metze
2009-06-03s3:smbd: return more details in the SMB2 Tree Connect responseStefan Metzmacher1-6/+32
metze
2009-06-03s3:smbd: create a connection_struct in SMB2 Tree ConnectStefan Metzmacher1-0/+19
metze
2009-05-22s3:smbd: implement SMB2 Tree DisconnectStefan Metzmacher1-0/+36
metze
2009-05-22s3:smbd: implement SMB2 Tree ConnectStefan Metzmacher1-0/+196
For now this only checks if the share is present or not. metze