summaryrefslogtreecommitdiffstats
path: root/source3/smbd
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unneeded NULL check.Jeremy Allison2011-11-151-4/+0
|
* s3:smbd/aio: handle_aio_completed() should do nothing if aio_ex->fsp is NULLStefan Metzmacher2011-11-151-0/+5
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 15 18:47:55 CET 2011 on sn-devel-104
* s3:smbd/aio: pass ECANCELED to the smb2 aio handlersStefan Metzmacher2011-11-151-1/+4
| | | | metze
* s3:smb2_read: make it possible to cancel aio readsStefan Metzmacher2011-11-151-1/+16
| | | | metze
* s3:smb2_write: make it possible to cancel aio writesStefan Metzmacher2011-11-151-1/+16
| | | | metze
* s3:smbd/aio: add cancel_smb2_aio()Stefan Metzmacher2011-11-152-0/+39
| | | | metze
* s3:smb2_ioctl: STATUS_PENDING is defered by 1 millisecond for SMB2_IOCTLStefan Metzmacher2011-11-151-1/+1
| | | | metze
* s3:smb2_create: defer STATUS_PENDING for 2 seconds as beforeStefan Metzmacher2011-11-151-1/+7
| | | | metze
* s3:smb2_server: pass explicit defer_times to smbd_smb2_request_pending_queue()Stefan Metzmacher2011-11-1513-14/+15
| | | | metze
* s3:smb2_server: always send STATUS_PENDING responses, but delayed by 0.5 ↵Stefan Metzmacher2011-11-155-152/+125
| | | | | | | | milliseconds In future we'll pass the delay from the caller. metze
* s3:smb2_flush: outbody only needs 4 bytesStefan Metzmacher2011-11-141-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 14 10:01:30 CET 2011 on sn-devel-104
* s3: Avoid a race with the async echo handlerVolker Lendecke2011-11-101-33/+28
| | | | | | We can not read from the echo handler socket when we have the main socket locked. This leads to the echo responder to lock up sitting in the fcntl lock while the parent wants to read the remainder of a large packet.
* s3:smbd: don't limit the number of open dptrs for smb2 (bug #8592)Stefan Metzmacher2011-11-101-3/+12
| | | | | | | | | | This fixes a crash bug that is triggered, when a client has more than 256 directory handles with searches. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 10 14:08:14 CET 2011 on sn-devel-104
* s3:smbd: fully construct the dptr before allocating a dnum in the bitmapStefan Metzmacher2011-11-101-27/+29
| | | | metze
* s3:smbd: avoid string_set() in dir.cStefan Metzmacher2011-11-101-2/+9
| | | | | | And do some more error checks. metze
* s3:smb2_server: grant credits in async interim responses (bug #8357)Stefan Metzmacher2011-11-091-1/+3
| | | | | | | | | | | The first fix for bug #8357 intruduced a regression, so that we no longer grant credits for real async interim responses with STATUS_PENDING. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 9 11:56:29 CET 2011 on sn-devel-104
* Add the SEC_DIR_LIST check to dptr_create().Jeremy Allison2011-11-071-0/+27
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Nov 7 21:11:03 CET 2011 on sn-devel-104
* Move the SEC_DIR_LIST check into dptr_create for SMB2 and now for SMB1.Jeremy Allison2011-11-052-5/+6
| | | | | | | The pathname check still needs fixing. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Nov 5 01:38:00 CET 2011 on sn-devel-104
* can_write_to_file() does now take share permissions into account. Fix comment.Jeremy Allison2011-11-041-1/+0
|
* No longer do the pre-check on DELETE_ACCESS - we're correctly checking the ↵Jeremy Allison2011-11-041-22/+0
| | | | ACL every time now.
* Remove can_access_file_acl(). We no longer need this duplicate code (hurrah!).Jeremy Allison2011-11-044-56/+9
|
* Remove can_access_file_data() - make it use the standard ↵Jeremy Allison2011-11-042-58/+5
| | | | smbd_check_access_rights() instead.
* Add const to the smb_filename argument of smbd_check_access_rights().Jeremy Allison2011-11-043-17/+9
|
* Expose smbd_check_access_rights() to other modules.Jeremy Allison2011-11-042-1/+4
|
* Rename smbd_check_open_rights() to smbd_check_access_rights() as we're going ↵Jeremy Allison2011-11-041-15/+15
| | | | to remove the static from this.
* Replace smb1_file_se_access_check() with just se_access_check().Jeremy Allison2011-11-041-30/+21
|
* Move root check out of smb1_file_se_access_check() in preparation for ↵Jeremy Allison2011-11-041-13/+25
| | | | deleting this function.
* smb1_file_se_access_check() is now static to smbd/open.cJeremy Allison2011-11-042-6/+1
|
* Revert "Change function signature of check_parent_access() to take char * ↵Jeremy Allison2011-11-042-10/+6
| | | | | | | | instead of struct smb_filename." This reverts commit a11c0a41a35aa2b1c14333552045a65e3e50df1e. Not needed.
* Revert "Call check_parent_access() on readdir."Jeremy Allison2011-11-041-13/+0
| | | | | | This reverts commit a763edaf9c76afe2546c035fc090370301dd347b. Checking the wrong thing..
* s3:smbd increase a debug levelChristian Ambach2011-11-041-5/+6
| | | | logging disconnected clients with level 1 swamps the logs
* s3:smbd: also send the server name in the negprot responseStefan Metzmacher2011-11-041-0/+8
| | | | | | | | | This matches W2K (at least sp4) and higher. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Nov 4 15:50:06 CET 2011 on sn-devel-104
* s3:smbd: make use of SMB_SIGNING_* constantsStefan Metzmacher2011-11-034-10/+12
| | | | metze
* s3:param: the behavior of "client/server signing = auto" is the same as "true"Stefan Metzmacher2011-11-031-2/+0
| | | | | | So remove the special case for 'Auto'. metze
* s3:smb2_server: remove unused outhdr variablesDavid Disseldorp2011-11-021-2/+0
|
* Call check_parent_access() on readdir.Jeremy Allison2011-11-011-0/+13
|
* Change function signature of check_parent_access() to take char * instead of ↵Jeremy Allison2011-11-012-6/+10
| | | | | | struct smb_filename. Expose it so it can be called from directory code.
* s3:smb2_server: FLAG_CHAINED means we always use the last session_id and tidStefan Metzmacher2011-10-312-33/+20
| | | | metze
* s3:smb2_server: don't reset the tid and session id in the out hdr of ↵Stefan Metzmacher2011-10-311-14/+0
| | | | | | | | | compound requests Windows also leaves tid (0xFFFFFFFF) and session id (0xFFFFFFFFFFFFFFFF) as the client requested them. metze
* s3:smb2_server: echo the SMB2_HDR_CREDIT_CHARGE and SMB2_HDR_SIGNATURE fieldsStefan Metzmacher2011-10-311-2/+4
| | | | | | Windows just echos back the given values by default. metze
* s3:smbd: also the parent smbd needs FLAG_MSG_PRINT_GENERAL (bug #8553)Stefan Metzmacher2011-10-311-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 31 17:37:34 CET 2011 on sn-devel-104
* Remove the order dependency in parent_override_delete(), just check for & ↵Jeremy Allison2011-10-281-2/+2
| | | | not ==.
* Remove unused "struct security_descriptor" parameter from check_parent_access()Jeremy Allison2011-10-281-8/+2
|
* Finally do all the open checks inside open_file(). Checks insideJeremy Allison2011-10-281-0/+30
| | | | vfs_acl_common can now be removed.
* Simplify smbd_check_open_rights() and move all the special casing inside it.Jeremy Allison2011-10-281-101/+72
|
* Move parent_override_delete() to before I need to use it.Jeremy Allison2011-10-281-19/+19
|
* Make smbd_check_open_rights() static.Jeremy Allison2011-10-282-5/+1
|
* s3: Include uid_wrapper where it is missing.Andreas Schneider2011-10-271-0/+1
|
* Include uid_wrapper correctly.Andreas Schneider2011-10-271-1/+1
|
* Factor out the code checking if a parent should override DELETE_ACCESS into ↵Jeremy Allison2011-10-261-9/+31
| | | | | | | a function. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 26 23:15:05 CEST 2011 on sn-devel-104