summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
2010-09-16s3/vfs_scannedonly: use smb_msleep instead of nanosleepBjörn Jacke1-2/+1
Thanks to Joachim Schmitz. This fixes bug #7478
2010-09-10Check all SMB_MALLOC returns correctly. Found by Andreas Moroder ↵Jeremy Allison1-3/+15
<andreas.moroder@gmx.net>. Jeremy
2010-08-31s3-auth Rename NT_USER_TOKEN user_sids -> sidsAndrew Bartlett2-3/+3
This is closer to the struct security_token from security.idl
2010-08-30vfs_smb_traffic_analyzer: fix off by a second bugBjörn Jacke1-1/+1
convert_timespec_to_time_t is rounding but here we keep track of milliseconds here - so we should use plain the tv_sec.
2010-08-30s3: Fix the build of the nfs4_acl moduleVolker Lendecke1-0/+1
2010-08-29s3: Remove smbd_server_fd()Volker Lendecke1-14/+17
This breaks the perfcol_onefs() build. Tim, Steve, this use of smbd_server_fd is replacable by calls into substitute.c. I don't have a onefs environment around to build a fix, so I've decided to insert an #error, making it not compile. The fix should be pretty obvious, you can get the socket data via "%I" and "%i" substitutions.
2010-08-26s3: Remove smbd_server_fd from expand_msdfs_targetVolker Lendecke1-3/+2
2010-08-26s3-build: use dbwrap.h only where needed.Günther Deschner2-0/+2
Guenther
2010-08-16s3: Lift smbd_server_fd() from read_target_hostVolker Lendecke1-5/+8
2010-08-16s3: Remove get_client_fd()Volker Lendecke1-1/+1
2010-08-06s3-netlogon: remove global include of netlogon.h.Günther Deschner5-0/+5
This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
2010-08-05s3-secrets: only include secrets.h when needed.Günther Deschner1-0/+1
Guenther
2010-08-04small optimizations for shadowcopy2 moduleChristian Ambach1-2/+2
- remove a compiler warning - replace strlen usage Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04fix snapshot content display with hide unreadableChristian Ambach1-1/+8
With the hide unreadable option set, snapshots are be displayed as empty with shadow_copy2 and a NFSv4 ACL module. To prevent multiple conversions of the paths when the acl call does a VFS_STAT (as the nfs4acl code does), a check was added to convert_shadow2_name() so it will not touch paths any more that look like they have already been converted. Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04s3: Fix shadow copies after the change for in-path @GMT-Volker Lendecke1-3/+2
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04s3: Fix in-path shadowcopy2 moduleVolker Lendecke1-0/+1
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-03make scannedonly notify the scanner if no .scanned: file was found during renameolivier1-7/+16
2010-08-01s3: Fix an uninitialized variableVolker Lendecke1-1/+1
2010-07-27s3-smbd: Migrated to new spoolss functions for printing.Simo Sorce1-2/+2
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-18s3: Actually use the usecs in aio_fork_suspendVolker Lendecke1-1/+2
Jeremy, please check!
2010-07-18s3: Fix an uninitialized variableVolker Lendecke1-1/+1
2010-06-28s3-vfs: Make sure that retval isn't used uninitialized.Andreas Schneider1-1/+1
Found by clang-analyzer.
2010-06-12s3: Explicitly pass sconn to process_blocking_lock_queueVolker Lendecke1-2/+2
2010-06-09Rename "allow_smb2" -> "using_smb2" and make the usage clearer.Jeremy Allison1-2/+2
2010-06-09s3: fix calculation of st_blocks in streams_xattrBjörn Jacke1-3/+3
Thanks to Joachim Schmitz for finding that miscalculation.
2010-06-04Fix a long-standing bug with async io that would only be triggered by SMB2.Jeremy Allison1-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.
2010-06-04Oops. Forgot to re-initialize the aio_ex pointer from sival_ptr.Jeremy Allison1-0/+1
2010-06-04Change smbd_aio_complete_mid() -> smbd_aio_complete_aio_ex(). SimplifiesJeremy Allison1-7/+2
the code and eliminates find_aio_ex(). Jeremy.
2010-06-03s3: Fix the build of the nfsv4 acl codeVolker Lendecke1-1/+2
2010-06-03s3-security: use shared "Standard access rights.".Günther Deschner1-1/+1
Guenther
2010-06-03s3-security: use shared "File Object specific access rights".Günther Deschner1-1/+1
Guenther
2010-06-03s3-security: use shared "Generic access rights".Günther Deschner1-2/+2
Guenther
2010-06-03s3-security: use shared SECINFO_DACL define.Günther Deschner4-16/+16
Guenther
2010-06-03s3-security: use shared SECINFO_SACL define.Günther Deschner2-7/+7
Guenther
2010-06-03s3-security: use shared SECINFO_GROUP define.Günther Deschner4-15/+15
Guenther
2010-06-03s3-security: use shared SECINFO_OWNER define.Günther Deschner4-15/+15
Guenther
2010-06-03s3: remove unused librpc/ndr/sid.c.Günther Deschner1-0/+1
Guenther
2010-06-02s3: Add vfs_linux_xfs_sgidVolker Lendecke1-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.
2010-06-01s3-vfs: Send the share name instead of the path in smb_traffic_analyzer.Holger Hetterich1-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>
2010-05-31s3-build: only use ndr_security.h where needed.Günther Deschner1-0/+2
Guenther
2010-05-28s3:auth use info3 in auth_serversupplied_infoSimo Sorce4-6/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-27vfs_smb_traffic_analyzer.c: set the len variable when running protocol v1.Holger Hetterich1-0/+1
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett3-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>
2010-05-18s3-secdesc: use SD_REVISION from security.idl.Günther Deschner3-4/+4
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner10-33/+38
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner3-10/+10
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner3-16/+16
Guenther
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij2-6/+4
2010-05-18s3-crypto: only include crypto headers when crypto is done.Günther Deschner1-0/+1
Guenther
2010-05-13Be more forgiving on client oplock break failure (as Windows does). Remove a ↵Jeremy Allison1-1/+1
global. Jeremy.