summaryrefslogtreecommitdiff
path: root/source3/smbd/globals.h
AgeCommit message (Collapse)AuthorFilesLines
2010-04-08Stop smb2 from calling into smb1 blocking lock request code.Jeremy Allison1-0/+17
Allocate a uint16_t internal SMB1 mid for an SMB2 request. Add a back pointer from the faked up smb_request struct to the smb2 request. Getting ready to add restart code for blocking locks, share mode violations and oplocks in SMB2. Jeremy.
2010-04-08Simplify call_trans2qfilepathinfo() and smbd_do_qfilepathinfo()Jeremy Allison1-1/+0
Remove the bool ms_dfs_link parameter from smbd_do_qfilepathinfo. It is not possible for this to be a DFS link. Remove the check_msdfs_link() call from call_trans2qfilepathinfo() - the call to filename_convert() above with a ucf_flags of zero *MUST* catch a DFS link and return NT_STATUS_PATH_NOT_COVERED in this case, so the code below checking for msdfs links is redundent. Don't add this to 3.5.x, as it's an optimization but not needed to fix bug #7339 - MSDFS is non-functional in 3.5.x. Jeremy.
2010-04-07Start to plumb smb2 into the oplock system. Calls dummy functions for now.Jeremy Allison1-0/+3
Jeremy.
2010-03-31Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count.Jeremy Allison1-2/+8
As these always call exit_server, make that part of the function. Use _internal functions for the echo client. Metze please check ! Jeremy.
2010-03-22s3:smbd: add echo handler information to struct smbd_server_connectionStefan Metzmacher1-0/+19
metze
2010-03-22s3:smbd: add smbd_[un]lock_socket() dummiesStefan Metzmacher1-0/+3
metze
2010-03-01s3: Abstract access to sessionid.tdb, similar to conn_tdb.cVolker Lendecke1-2/+0
2010-01-12Remove the global char *LastDir.Jeremy Allison1-1/+0
This is no longer used for anything.
2009-11-23Revert "s3: Move the global variable Protocol to struct smbd_server_connection"Volker Lendecke1-1/+0
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea.
2009-11-21s3: Move the global variable Protocol to struct smbd_server_connectionVolker Lendecke1-0/+1
2009-08-19s3:smbd: add a generic smbd_dirptr_lanman2_entry() functionStefan Metzmacher1-0/+21
This can we used by SMB2, the key difference between SMB1 and SMB2 is that with SMB2 entries are aligned to 8 bytes and there's no padding at the end of the last entry. metze
2009-08-19s3:smbd: make smbd_check_open_rights() function non-static for use in SMB2Stefan Metzmacher1-0/+5
metze
2009-08-17s3:smbd: add smbd_notify_cancel_by_smbreq()Stefan Metzmacher1-0/+3
This function will be used by the SMB2 notify code. metze
2009-08-17s3:smbd: implement SMB2 Cancel correctly.Stefan Metzmacher1-1/+8
metze
2009-08-12Fix BASE-DELAYWRITE test by removing const from struct smb_filenameJeremy Allison1-1/+1
in smbd_do_qfilepathinfo(). update_stat_ex_mtime() modifies the stat struct inside the smb_fname so don't make a copy of that stat struct, use it directly - it's meant to be updated and represent the state of the file we're returning. Jeremy.
2009-08-08s3:smbd: rename conn => sconn for smbd_server_connection structsStefan Metzmacher1-3/+3
This should avoid confusion between smbd_server_connection and connection_struct variables. metze
2009-08-07s3:smbd: move dptr globals into struct smbd_server_connectionStefan Metzmacher1-5/+6
metze
2009-08-07s3:smbd: add generic smbd_dirptr_get_entry()Stefan Metzmacher1-0/+21
metze
2009-07-22s3: Convert some callers of vfs_stat_smb_fname to SMB_VFS_STAT()Tim Prouty1-1/+0
2009-07-13s3:smbd: make smbd_do_qfsinfo() non static for use in SMB2 GetInfoStefan Metzmacher1-0/+9
metze
2009-07-13s3:smbd: make smbd_do_setfilepathinfo() non static for use in SMB2 SetInfoStefan Metzmacher1-0/+9
metze
2009-07-12s3:smbd: make smbd_do_qfilepathinfo() non static for use in SMB2Stefan Metzmacher1-0/+16
metze
2009-07-10s3:smbd: make smbd_do_locking() non staticStefan Metzmacher1-0/+17
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 Lock supportStefan Metzmacher1-0/+1
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 Find (QueryDirectory) supportStefan Metzmacher1-0/+1
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 Break support (SMB 2.002 only)Stefan Metzmacher1-0/+1
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 SetInfo supportStefan Metzmacher1-0/+1
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 GetInfo supportStefan Metzmacher1-0/+1
metze
2009-07-02s3:smbd: add support for SMB2 NotifyStefan Metzmacher1-0/+1
metze
2009-07-02s3:smbd: move global notify_changes_by_mid to smbd_server_connectionStefan Metzmacher1-2/+2
metze
2009-06-24s3:smbd: add support for async interim SMB2 responses and prepare SMB2 cancelStefan Metzmacher1-0/+2
metze
2009-06-24s3:smbd: keep a list of outstanding SMB2 requestsStefan Metzmacher1-0/+4
metze
2009-06-24s3:smbd: add smbd_smb2_send_oplock_break()Stefan Metzmacher1-0/+5
metze
2009-06-09s3:smbd: more validation of the incoming SMB2 requestsStefan Metzmacher1-0/+2
metze
2009-06-05s3:smbd: keep the chain_fsp for SMB2 requestsStefan Metzmacher1-0/+2
metze
2009-06-05s3:smbd: add support for SMB2 IoctlStefan Metzmacher1-0/+1
We don't implement any level yet. metze
2009-06-05s3:smbd: make smbd_server_connection_terminate() a macroStefan Metzmacher1-0/+6
metze
2009-06-05s3:smbd: implement smbd_smb2_request_error/done() as macros on top of the ↵Stefan Metzmacher1-6/+10
_ex() function metze
2009-06-04Change smbd_smb2_request_error() to add a __location__.Jeremy Allison1-4/+3
This allows quick identification of smb2 parsing errors. Jeremy.
2009-06-03s3:smbd: implement SMB2 WriteStefan Metzmacher1-0/+1
This only works on file shares. metze
2009-06-03s3:smbd: implement SMB2 ReadStefan Metzmacher1-0/+1
This only works works on file shares. metze
2009-06-03s3:smbd: implement SMB2 FlushStefan Metzmacher1-0/+1
This works only on file shares yet. metze
2009-06-03s3:smbd: implement SMB2 CloseStefan Metzmacher1-0/+1
metze
2009-06-03s3:smbd: implement a simple version of SMB2 CreateStefan Metzmacher1-0/+1
It only work on file shares and just ignores any additional Create Context Values. metze
2009-06-03s3:smbd: add smbd_smb2_fake_smb_request()Stefan Metzmacher1-0/+2
metze
2009-06-03s3:smbd: create a connection_struct in SMB2 Tree ConnectStefan Metzmacher1-0/+1
metze
2009-06-03s3:smbd: create a user_struct for compat in SMB2 Session SetupStefan Metzmacher1-0/+2
metze
2009-06-03s3:smbd: move tcon specific globals to struct smbd_server_connectionStefan Metzmacher1-5/+6
metze
2009-06-03s3:smbd: move more session specific globals to struct smbd_server_connectionStefan Metzmacher1-12/+15
metze
2009-06-03s3:smbd: move some session specific globals to struct smbd_server_connectionStefan Metzmacher1-8/+10
metze