summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
2007-12-29Remove tiny code duplicationVolker Lendecke1-1/+1
ndr_size_security_descriptor does the same as sec_desc_size (This used to be commit bc3bd7a8e7c6e9e27acb195c86abb92c0f53112f)
2007-12-27typosVolker Lendecke1-2/+2
(This used to be commit 30fa3477c8f810d8f2b4c4be218509544735274c)
2007-12-19Remove unused variable 'didmsg'.James Peach1-4/+0
(This used to be commit 5de89dd6e0a8a56a5a0f998e3b1d3538367db7d6)
2007-12-19Change the prototype of the vfs function get_nt_acl().Michael Adam6-9/+5
Up to now, get_nt_acl() took a files_struct pointer (fsp) and a file name. All the underlying functions should need and now do need (after the previous preparatory work), is a connection_struct and a file name. The connection_struct is already there in the vfs_handle passed to the vfs functions. So the files_struct argument can be eliminated. This eliminates the need of calling open_file_stat in a couple of places to produce the fsp needed. Michael (This used to be commit b5f600fab53c9d159a958c59795db3ba4a8acc63)
2007-12-19Prepare the afs acl module for the api change in get_nt_acl().Michael Adam1-43/+77
This makes both of afsacl_[f]get_nt_acl() more specific, eliminating the need for afs_get_nt_acl(). Instead, split afs_to_nt_acl. Michael (This used to be commit 15caf58c81ce6b68eefa03c8f8510c2ecb5fdeb3)
2007-12-19Prepare the aix2 acl module for the api change in get_nt_acl().Michael Adam1-11/+21
This makes both of aixjfs2_[f]get_nt_acl() more specific, eliminating the need for aixjfs2_get_nt_acl_common(). Michael (This used to be commit 36e2a814ba50feefa34c76353c0f5dec1d7cfff4)
2007-12-19Change aixjfs2_get_nfs4_acl() to take file name instead of fsp.Michael Adam1-5/+5
In preparation of the api change in api change in get_nt_acl(). Michael (This used to be commit 40a1438e17c462990e6b71b544c39f093236d5be)
2007-12-19Fix two debug statements: Add missing printf parameter.Michael Adam1-2/+2
Michael (This used to be commit 1c4f74551f48429ee3af2022101a97679e25cdea)
2007-12-19Reformatting: wrap long lines and remove trailing spaces.Michael Adam1-3/+7
Michael (This used to be commit f6db5a0d0571130f765d8a0fb4e20e61cc8b2487)
2007-12-19Prepare the zfs acl module for the api change in get_nt_acl().Michael Adam1-9/+28
Michael (This used to be commit 04258231dc654df077638edb7cb08542e39b7547)
2007-12-19Prepare the gpfs acl module for the api change in get_nt_acl().Michael Adam1-12/+21
This moves functionality from gpfsacl_get_nt_acl_common() back to gpfsacl_get_nt_acl() and gpfsacl_fget_nt_acl(), making both these functions more specific (calling the corresponding fsp- and non-fsp functions). gpfsacl_get_nt_acl_common(). is removed. Michael (This used to be commit d6043c1066322d2c567aedc5eae1a9d46c8fc396)
2007-12-19Split smb_get_nt_acl_nfs4 into two (f- and non-f-variant).Michael Adam5-13/+44
This is the next step in preparation of a get_nt_acl prototype change. Michael (This used to be commit 7afeb1c6cb1bdb58d1e61c54ae215d947d8dc3ea)
2007-12-19Split smbacl4_GetFileOwner into two (f- and non-f-variant).Michael Adam1-19/+29
This is in preparation of a get_nt_acl prototype change. (This used to be commit e0672a46a2e5e655da32499ca7f52a9156e9b7f0)
2007-12-19Split get_nt_acl() into two functions: fsp- and non-fsp variant.Michael Adam3-4/+4
Replace smbd/posix_acls.c:get_nt_acl() by two funcions: posix_get_nt_acl() and posix_fget_nt_acl(). The first takes a connection struct and a file name instead of a files_struct pointer. This is in preparation of changing the vfs api for SMB_VFS_GET_NT_ACL. Michael (This used to be commit 50c82cc1456736fa634fb656e63555319742f725)
2007-12-15Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke2-9/+9
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
2007-12-11Fix warning message about data type always true.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 0a3be0aad7220eb97fe39460e20f36c8ae9ce474)
2007-11-20Extend commit module to help with NFS quotas.David Losada Carballo1-25/+158
Add "commit on eof" and "commit past eof" modes. Patch from David Losada Carballo with some modifications during the merge. (This used to be commit 12eee4f7fe27bb4ca376301b959dbfb918b7ba2d)
2007-11-16Remove pstring from modules directory.Jeremy Allison5-310/+589
Jeremy. (This used to be commit 977dc3accb3d440e5fd19591c425da7dc3718d94)
2007-11-15Fix bug #5083 (and duplicate bug #5084).Michael Adam1-1/+1
Make solarisacl_sys_acl_get_fd() return a result when there is one (thereby fixing a memleak). Thanks to Markus Zell for reporting this. Michael (This used to be commit 242fc0099cc81877d8e9630b46dfb8d4a3265d94)
2007-11-13Fix build of the zfs_acl module.Michael Adam1-1/+3
There was one caller of smb_get_nt_acl_nfs4() forgotten in the change of return value. Michael (This used to be commit 4d3e84a3b3a39d3d2c9b86affa16c8124b1496e5)
2007-11-13Fix the build: correct prototype.Michael Adam1-1/+1
Adapt prototype of smb_get_nt_acl_nfs4() in the header file, too. Michael (This used to be commit a2949fd7a567ba3357024c9e4a8429733009dde4)
2007-11-13Make [f]get_nt_acl return NTSTATUSVolker Lendecke8-51/+61
(This used to be commit dcbe1bf942d017a3cd5084c6ef605a13912f795b)
2007-11-03Remove most of the remaining globals out of lib/util_sock.c.Jeremy Allison1-1/+1
I have a plan for dealing with the remaining..... Watch this space. Jeremy. (This used to be commit 963fc7685212689f02b3adcc05b4273ee5c382d4)
2007-11-03I can't get away without a 'length' arg. :-).Jeremy Allison1-1/+2
Jeremy. (This used to be commit 95d01279a5def709d0a5d5ae7224d6286006d120)
2007-11-03Stop get_peer_addr() and client_addr() from using globalJeremy Allison1-1/+2
statics. Part of my library cleanups. Jeremy. (This used to be commit e848506c858bd16706c1d7f6b4b032005512b8ac)
2007-10-29Add in the recvfile entry to the VFS layer with a defaultJeremy Allison2-0/+39
implementation. Needed for the zero-copy write code. Jeremy. (This used to be commit bfbdb6324c5d13bfde8b742e9c5a0e0c9092bd86)
2007-10-23added a syncops VFS module for filesystems which do not guarantee meta-data ↵Andrew Tridgell1-0/+210
operations are immediately committed to disk in stable form. Essential for clustered Samba setups (This used to be commit 8b19cb17b9ae9e1cd4a96df6e7dedb75aff7ee96)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison22-122/+122
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter2-11/+7
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25432: Merge module linking changes from SAMBA_3_2 to SAMBA_3_2_0 to reduceJames Peach1-1/+0
spurious tree differences. (This used to be commit ee1eba2855c7ee2d60ba7d354e6731da78cbd48e)
2007-10-10r25399: Excise uint - > uint32 (where appropriate) or unsigned int.Jeremy Allison3-7/+7
Jeremy. (This used to be commit b4ee924000f4a21b16a70e08e58331d209c4d114)
2007-10-10r25222: Fix last assumptions that (size_t)-1 can be usedJeremy Allison1-1/+1
as a special dest_len of sizeof(pstring). Jeremy. (This used to be commit 9fc14c83cc5e3a360464c33e26b1073db63763d7)
2007-10-10r25055: Add file_id_string_tosVolker Lendecke1-1/+1
This removes file_id_string_static and file_id_string_static2 (This used to be commit 638c848c9afe374feb30e34c494f89b2a6c64f7b)
2007-10-10r24809: Consolidate the use of temporary talloc contexts.Volker Lendecke5-16/+16
This adds the two functions talloc_stackframe() and talloc_tos(). * When a new talloc stackframe is allocated with talloc_stackframe(), then * the TALLOC_CTX returned with talloc_tos() is reset to that new * frame. Whenever that stack frame is TALLOC_FREE()'ed, then the reverse * happens: The previous talloc_tos() is restored. * * This API is designed to be robust in the sense that if someone forgets to * TALLOC_FREE() a stackframe, then the next outer one correctly cleans up and * resets the talloc_tos(). The original motivation for this patch was to get rid of the sid_string_static & friends buffers. Explicitly passing talloc context everywhere clutters code too much for my taste, so an implicit talloc_tos() is introduced here. Many of these static buffers are replaced by a single static pointer. The intended use would thus be that low-level functions can rather freely push stuff to talloc_tos, the upper layers clean up by freeing the stackframe. The more of these stackframes are used and correctly freed the more exact the memory cleanup happens. This patch removes the main_loop_talloc_ctx, tmp_talloc_ctx and lp_talloc_ctx (did I forget any?) So, never do a tmp_ctx = talloc_init("foo"); anymore, instead, use tmp_ctx = talloc_stackframe() :-) Volker (This used to be commit 6585ea2cb7f417e14540495b9c7380fe9c8c717b)
2007-10-10r24302: add a module that overloads the file_id_create VFS functionStefan Metzmacher1-0/+288
and alters the device id depending on the configured algorithm. The algorithm is configured via "fileid:algorithm": - "fsname" (default) uses a uint64 hash over the mount point - "fsid" uses the fsid returned from statfs() This is needed for "clustering = yes" on some clusterfilesystems metze (This used to be commit 30f9171cca3e4f523cde7dfc96096c32e5af50be)
2007-10-10r24280: Fix the build of vfs_afsacl.cVolker Lendecke1-5/+5
(This used to be commit c231f7b8f6025e2853eb6ecab43fe87566596234)
2007-10-10r24123: add file_id_create() to some vfs modulesStefan Metzmacher1-0/+22
metze (This used to be commit 0bc5a9cd0136f8512e963a30b6e7b009667fb0bf)
2007-10-10r24120: add a file_id_create() hook into the VFS layerStefan Metzmacher1-0/+7
it's needed for some cluster filesystems to overload this function. metze (This used to be commit cdaa24e8047399002e4b287a31a8340a665e580f)
2007-10-10r24013: merge from http://samba.org/~tridge/samba_3_2_ctdb/:Stefan Metzmacher1-1/+1
fixed prototype metze (This used to be commit 0add4e9478afd9b20205f572a485b450a669c275)
2007-10-10r23962: Linux oplock support is conditional on HAVE_KERNEL_OPLOCKS_LINUX,James Peach1-2/+3
not plain old LINUX. (This used to be commit 234cb7c893172edeb6802ac02304a041b33ee939)
2007-10-10r23856: Add Jiri.Sasek@Sun.COM;s fix from Axel Apitz for ZFS ACLs.Jeremy Allison1-2/+49
Jeremy. (This used to be commit 6ba12b6cb9f69297731c73071b627e8d7fbc6d73)
2007-10-10r23831: Fix vfs_readahead: transparent modules should always pass throughAlexander Bokovoy1-1/+1
(This used to be commit 800cf5c81c12985922f34610473d746458c85f90)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell24-48/+24
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell4-11/+5
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell12-24/+12
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison37-37/+37
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23722: Fix the build of the catia moduleVolker Lendecke1-2/+2
(This used to be commit fa09744cce6c1aa63e46bd61e4c01234574f3b32)
2007-10-10r23692: Couldn't wait, sorry :-). Did the style change.Jeremy Allison1-3/+3
Jeremy. (This used to be commit da0d6ba0f972dbe48e2b7297e86e1717e510fadf)
2007-10-10r23691: fix for bug on touching files as described here:Simo Sorce1-5/+13
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243897 (This used to be commit 6b68c006f8ecba8ed3a4d87950691cb1e5c46386)
2007-10-10r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chownJeremy Allison9-74/+53
return to correctly return NT_STATUS_INVALID_OWNER if it should be disallowed. Matches better what W2K3R3 does. NFSv4 ACL module owners, please examine these changes. Jeremy. (This used to be commit fc6899a5506b272f8cd5f5837ca13300b4e69a5f)