summaryrefslogtreecommitdiffstats
path: root/source3/modules
Commit message (Collapse)AuthorAgeFilesLines
* s3: Explicitly pass sconn to process_blocking_lock_queueVolker Lendecke2010-06-121-2/+2
|
* Rename "allow_smb2" -> "using_smb2" and make the usage clearer.Jeremy Allison2010-06-091-2/+2
|
* s3: fix calculation of st_blocks in streams_xattrBjörn Jacke2010-06-091-3/+3
| | | | Thanks to Joachim Schmitz for finding that miscalculation.
* Fix a long-standing bug with async io that would only be triggered by SMB2.Jeremy Allison2010-06-041-0/+124
| | | | | | | | | On normal or shutdown close, ensure we wait for any pending IO to complete before returning. Implement a blocking aio_suspend inside vfs_aio_fork.c. These changes pass make test when the aio_fork module is used by default on the test shares. Jeremy.
* Oops. Forgot to re-initialize the aio_ex pointer from sival_ptr.Jeremy Allison2010-06-041-0/+1
|
* Change smbd_aio_complete_mid() -> smbd_aio_complete_aio_ex(). SimplifiesJeremy Allison2010-06-041-7/+2
| | | | | | the code and eliminates find_aio_ex(). Jeremy.
* s3: Fix the build of the nfsv4 acl codeVolker Lendecke2010-06-031-1/+2
|
* s3-security: use shared "Standard access rights.".Günther Deschner2010-06-031-1/+1
| | | | Guenther
* s3-security: use shared "File Object specific access rights".Günther Deschner2010-06-031-1/+1
| | | | Guenther
* s3-security: use shared "Generic access rights".Günther Deschner2010-06-031-2/+2
| | | | Guenther
* s3-security: use shared SECINFO_DACL define.Günther Deschner2010-06-034-16/+16
| | | | Guenther
* s3-security: use shared SECINFO_SACL define.Günther Deschner2010-06-032-7/+7
| | | | Guenther
* s3-security: use shared SECINFO_GROUP define.Günther Deschner2010-06-034-15/+15
| | | | Guenther
* s3-security: use shared SECINFO_OWNER define.Günther Deschner2010-06-034-15/+15
| | | | Guenther
* s3: remove unused librpc/ndr/sid.c.Günther Deschner2010-06-031-0/+1
| | | | Guenther
* s3: Add vfs_linux_xfs_sgidVolker Lendecke2010-06-021-0/+105
| | | | | http://oss.sgi.com/bugzilla/show_bug.cgi?id=280 shows an old Linux XFS bug that still exists: Under certain circumstances the SGID bit is not inherited.
* s3-vfs: Send the share name instead of the path in smb_traffic_analyzer.Holger Hetterich2010-06-011-2/+5
| | | | | | | In protocol v2, the name of the service should be sent instead of the path. Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-build: only use ndr_security.h where needed.Günther Deschner2010-05-311-0/+2
| | | | Guenther
* s3:auth use info3 in auth_serversupplied_infoSimo Sorce2010-05-284-6/+6
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* vfs_smb_traffic_analyzer.c: set the len variable when running protocol v1.Holger Hetterich2010-05-271-0/+1
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-213-27/+27
| | | | | | | | | | This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3-secdesc: use SD_REVISION from security.idl.Günther Deschner2010-05-183-4/+4
| | | | Guenther
* s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner2010-05-1810-33/+38
| | | | Guenther
* s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner2010-05-183-10/+10
| | | | Guenther
* s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner2010-05-183-16/+16
| | | | Guenther
* s3: Remove use of iconv_convenience.Jelmer Vernooij2010-05-182-6/+4
|
* s3-crypto: only include crypto headers when crypto is done.Günther Deschner2010-05-181-0/+1
| | | | Guenther
* Be more forgiving on client oplock break failure (as Windows does). Remove a ↵Jeremy Allison2010-05-131-1/+1
| | | | | | global. Jeremy.
* Treat an open of stream ::$DATA as an open of the base file.Jeremy Allison2010-05-131-0/+27
| | | | | | This fixes a class of SMB_ASSERT failures when doing stream tests. Jeremy.
* s3-build: fix the build of vfs_notify_fam.Günther Deschner2010-05-061-0/+1
| | | | Guenther
* Plumb the SMB2 front end into the blocking lock backend.Jeremy Allison2010-04-301-13/+41
| | | | | | | | | | Metze, you'll probably be happier with this work as it doesn't abuse tevent in the way you dislike. This is a first cut at the code, which will need lots of testing but I'm hoping this will give people an idea of where I'm going with this. Jeremy.
* Move the global blocking lock records into the smb1 state.Jeremy Allison2010-04-291-4/+4
| | | | Jeremy
* s3-smbd: group print relate data in own structureSimo Sorce2010-04-231-2/+2
|
* Allow smb2 create requests to be cancelled.Jeremy Allison2010-04-231-9/+2
| | | | Jeremy.
* Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2.Jeremy Allison2010-04-221-1/+1
| | | | | | | | Makes SMB2Create call re-entrant internally. Now this infrastructure is in place, oplocks will follow shortly. Tested with Win7 client and with W2K8R2. Jeremy.
* s3: Improved support for GAMIN.Ira Cooper2010-04-181-0/+15
| | | | | Support the FAMNoExists API for gamin to reduce cpu use and problems when using GAMIN as FAM for vfs_notify_fam.
* Move to using 64-bit mid values in our internal open file database.Jeremy Allison2010-04-122-5/+7
| | | | | | | This will allow us to share logic much easier between SMB1 and SMB2 servers. Jeremy
* Plumb SMB2 stubs into all the places we defer SMB1 operations.Jeremy Allison2010-04-091-34/+34
| | | | | | | | Rename functions to be internally consistent. Next step is to cope queueing single (non-compounded) SMB2 requests to put some code inside the stubs. Jeremy.
* Fix related to bug #7326 - can't read/write any files with full_auditVolker Lendecke2010-04-051-2/+3
|
* s3: Use bitmap_talloc in vfs_full_audit.cVolker Lendecke2010-03-281-40/+20
| | | | This also simplifies the calling convention for init_bitmap() slightly
* s3: Fix some nonempty blank linesVolker Lendecke2010-03-281-20/+19
|
* s3: vfs_smb_traffic_analyzer.c: remove warnings from developer buildHolger Hetterich2010-03-251-14/+16
| | | | | | | | | | | This patch should remove all warnings coming up when compiling traffic analyzer with configure.developer. Re-activate the smb_traffic_analyzer_rmdir function by adding it's vfs_fn_pointer to vfs_smb_traffic_analyzer_fns. Copy the mode_t used in smb_traffic_analyzer_open to the corresponding data structure.
* Fix bug #7283 - vfs_acl_tdb does not work as expected.Jeremy Allison2010-03-241-34/+14
| | | | | | | both vfs_acl_common.c and vfs_acl_tdb.c were using the connection handle, thus conflicted. Fix this. Jeremy.
* s3: file_walk_table -> files_forallVolker Lendecke2010-03-221-1/+1
| | | | | This is more in line with the rest of the Samba code, like connections_forall etc.
* s3-vfs: fix some buildwarnings in traffic analyzer, there are many more.Günther Deschner2010-03-161-9/+11
| | | | | | Holger, please check. Guenther
* Update copyrightJim McDonough2010-03-161-1/+1
|
* s3: vfs_smb_traffic_analyzer.c: add VFS functions for file open and closeHolger Hetterich2010-03-162-2/+65
|
* smb_traffic_analyzer.c: optimize marshalling function and documentHolger Hetterich2010-03-162-34/+54
| | | | | | | | | Collect all data that is needed, and use only one talloc_asprintf operation to create the string of common data. This simplifies the code a bit and is most probably faster than the old method. Also, #define SMBTA_COMMON_DATA_COUNT as a complete string, speeding things up because we know the value at compile time.
* vfs_smb_traffic_analyzer.c: added functionHolger Hetterich2010-03-161-63/+58
| | | | | | | | | static char *smb_traffic_analyzer_anonymize This takes a lot of code out of the main functions, and makes it a bit simpler. Do the anonymization in a function. Since we already anonymized the username we don't need to do this a second time in the v2 marshalling function.
* Simplify the code a bit by creating the functions:Holger Hetterich2010-03-161-84/+123
| | | | | | | smb_traffic_analyzer_encrypt - doing the encryption of a data block, smb_traffic_analyzer_create_header - create the protocol header, smb_traffic_analyzer_write_data - actually write the data to the socket.