summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
2008-11-01Move sys_link to libreplace.Jelmer Vernooij1-1/+1
2008-11-01Use 'regular' chown, libreplace will provide (dummy) replacement if necessary.Jelmer Vernooij1-1/+1
2008-10-31Get closer to passing S4 RAW-ACLs.Jeremy Allison1-15/+76
Jeremy.
2008-10-31Unify se_access_check with the S4 code. Will makeJeremy Allison1-3/+3
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy.
2008-10-30Start moving us closer to passing S4 RAW-ACL test using the vfs_acl_xattr ↵Jeremy Allison1-0/+51
module. Inheritance fails at the moment though. Jeremy.
2008-10-30Inherit Windows ACLs on a new directory.Jeremy Allison1-13/+55
Jeremy.
2008-10-29Fix CID 606 - failed to return -1 after socket() fail.Jeremy Allison1-0/+1
Jeremy.
2008-10-29Allow a new file to inherit the Windows ACL from its parent.Jeremy Allison1-82/+174
Now to do the same for directories. Jeremy.
2008-10-15Share xattr implementation.Jelmer Vernooij1-32/+32
2008-10-14Use {u,}int64_t instead of SMB_BIG_{U,}INT.Jelmer Vernooij3-14/+14
2008-10-13Whitespace tidyup and an optimization to remove a talloc.Jeremy Allison1-7/+5
Jeremy.
2008-10-13Enable optional anonymization of user names,Holger Hetterich1-1/+24
if the configuration parameter anonymization_prefix is defined in smb.conf, and use the prefix given there.
2008-10-09Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison2-6/+4
Jeremy.
2008-10-09Make use of ZERO_STRUCT (the first memset was actually wrong)Volker Lendecke1-3/+3
2008-10-08Fixed "might be uninitialized" warningTim Prouty1-2/+2
2008-10-08Deal with inheritance from parent directory when setting WindowsJeremy Allison1-0/+16
ACLs. Jeremy.
2008-10-07Fix const warning.Jeremy Allison1-1/+1
Jeremy.
2008-10-07Update vfs version as I've added a const to the security_descriptor paramter ↵Jeremy Allison8-23/+19
in fset_nt_acl(). Need to watch the build farm to make sure I haven't broken the AIX or Solaris ACL modules. Jeremy.
2008-10-07Make map_errno_from_nt_status() a generic call, not just a cli specific one.Jeremy Allison1-22/+36
Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files. Jeremy.
2008-10-06Fixed build warning "passing arg from incompatible pointer type"Tim Prouty1-1/+3
The fix explicitly makes the conversion from timeval to time_t using the existing time utility functions. Compiling modules/vfs_smb_traffic_analyzer.c modules/vfs_smb_traffic_analyzer.c: In function `smb_traffic_analyzer_send_data': modules/vfs_smb_traffic_analyzer.c:173: warning: passing arg 1 of `localtime' from incompatible pointer type
2008-10-01Turn the socket connections into a refcounted list - in the common case ↵Jeremy Allison1-44/+95
there'll now only be one socket per smbd. Changed the format of the wire data to (a) include a version number (V1) as the first element. (b) removed the ";)" at the end an replaced it with a "\n". Receiver can change back if needed, and now receiver can just log "as-is" to a text file (making testing easier). Added my (C). Sorry Holger, but I've changed quite a bit now. Jeremy.
2008-09-30Convert to allocated strings. Use write_data(), not send as this doesn't ↵Jeremy Allison1-58/+42
correctly deal with EINTR. Jim and Holger please check this still works. Jeremy.
2008-09-30Revert erroneous commit.Jeremy Allison1-1/+1
Jeremy.
2008-09-30Remove current_user_info - not needed.Jeremy Allison2-5/+3
Jeremy.
2008-09-30Restructure the module so it connects to the remote data sinkJeremy Allison1-150/+156
on connect, and closes the socket on client disconnect. This should make it much more efficient. Store the remote fd in a private data pointer off the handle. Finally we need to remove the fstrings and convert to allocated buffer storage. Jeremy.
2008-09-25Use IPv4/v6 independent calls. Change safe_strcpy/cat to strlcpy/cat (thisJeremy Allison1-84/+97
needs changing to talloc_sprintf) and fix file descriptor resource leaks in error paths. Jim and Holger please check ! Jeremy.
2008-09-24Fix the new vfs_smb_traffic_analyzer build for static linksJim McDonough1-2/+2
2008-09-24SMB traffic analyzer vfs module from Holger Hetterich <hhetter@novell.com>Holger Hetterich1-0/+352
Used to gather data to feed to a database for live and historical analysis of usage per user, per share, etc. Helper apps to read the data still to come. This one still needs to be made ipv6 enabled (connection is made to the helper app).
2008-09-23s3-nbt: fix remaining callers of ndr_push/pull_struct_blob.Günther Deschner2-4/+4
Guenther
2008-09-17Correctly get+set the NT ACL on a file. Now to make us check it on open..Jeremy Allison1-3/+12
Jeremy.
2008-09-17Mark module experimental, fix crash bugs.Jeremy Allison1-2/+9
Jeremy.
2008-09-16First (incomplete) cut of this module. Based on Volker's original work.Jeremy Allison1-0/+315
Jeremy.
2008-09-08When setting an NFSv4 ACL, map generic bitsVolker Lendecke1-0/+4
(This used to be commit dbe7a61be2beac50d1665e38ac374cefbbabec00)
2008-08-26fixed an errno handling bug that could lead to an infinite loopAndrew Tridgell1-2/+2
(This used to be commit 5ccdc58ce91ee40ca7171dd040191291aeb7fe02)
2008-08-26fixed tsmsm_sendfile(). The logic was totally broken.Andrew Tridgell1-4/+7
(This used to be commit 794e48b809036871287df8416a2c669b7e26f216)
2008-08-14Fix bug #5692 - Core dump in full_audit.so.Jeremy Allison3-5/+4
There were some function mismatches in the various GET_NT_ACL modules (some places the fsp parameter has not been removed). Jeremy. (This used to be commit 221cc5e21eb27cdad51f34ec6832467a7bd89213)
2008-08-14Revert "Add a gpfs_prefetch module"Michael Adam1-308/+0
This reverts commit fc9b30bed2d774dca6660b497cb50f982b23b885. Sorry, this got pushed by accident: "This can not go upstream yet because it uses the non-GPL libgpfs." Michael (This used to be commit 26a3cf0be918fe577a979f3e358d58359e42b2f1)
2008-08-14Put prototypes of modules/vfs_irixacl.c to new modules/vfs_irixacl.h.Michael Adam1-0/+45
Thereby (hopefully) fixing the potential build problems with IRIX acls. Michael (This used to be commit 61c201d416bbc37950b980e8598b7ef1292336bc)
2008-08-14Put prototypes of modules/vfs_hpuxacl.c to new modules/vfs_hpuxacl.h.Michael Adam1-0/+58
Thereby (hopefully) fixing the potential build problems with HPUX acls. Michael (This used to be commit 4f2a1de990dc9063a1db877c06a5c1d68924edcf)
2008-08-14Put prototypes of modules/vfs_solarisacl.c to new modules/vfs_solarisacl.h.Michael Adam1-0/+45
Thereby (hopefully) fixing the potential build problems with solaris acls. Michael (This used to be commit 8413c05afcde65006fa7c8743f30b53cc33c1729)
2008-08-14Put prototypes of modules/vfs_tru64acl.c to new modules/vfs_tru64acl.h.Michael Adam1-0/+45
Thereby (hopefully) fixing the build with tru64 acls. Michael (This used to be commit 1ab64b69850489a2648a2543da6d0e1157df68bc)
2008-08-14Put prototypes of modules/vfs_posixacl.c into new modules/vfs_posixacl.h.Michael Adam1-0/+46
Michael (This used to be commit 876f6793434174051084b17f3b02bd1bbb24ec44)
2008-08-13Add a gpfs_prefetch moduleVolker Lendecke1-0/+308
This can not go upstream yet because it uses the non-GPL libgpfs. So it will not be compiled by default and will not be included in the SOFS RPMs. But upon Sven's request, we include it in the git tree and the source RPMs, so that it can be built for in-house tests. (This used to be commit fc9b30bed2d774dca6660b497cb50f982b23b885)
2008-08-13keep compatibility with v3-0-ctdb name for fileid:mapping optionAndrew Tridgell1-1/+1
(This used to be commit 2856d2e4a43fbcc6c8f8ac7b1613828170362861)
2008-07-18Fix the build of vfs_zfsacl.cVolker Lendecke1-16/+1
(cherry picked from commit b83beeda44e1c8d485c2ad6bb8ee539cdcbe8bda) (This used to be commit b46ce28039e8829f5188574ebe84ff3b7d9e65bc)
2008-07-18Change the directory parameter in streams_depot to become consistentVolker Lendecke1-1/+1
This is not built by default and not documented in 3.2.0, so I doubt this will break any setups :-) (cherry picked from commit ca2dfb372cfd9096407fca67a6b65bceda6f72b6) (This used to be commit 9393cdda97a886f4bdd187d76461724edeec9ed3)
2008-07-15Fix from Volodymyr Khomenko <Volodymyr.Khomenko@exanet.com>. Make ntimesJeremy Allison1-2/+6
function more like POSIX and allow NULL arg. Help vfs developers. Jeremy. (This used to be commit 613f2849ad2dc25fe2e5f8a76d69797b5b302bb9)
2008-07-12Remove an unused extern reference in vfs_aixacl2.cVolker Lendecke1-2/+0
(This used to be commit 1dfb9242d1b6000d4b75327adf1a0a0882f3ea6c)
2008-07-11Fix the build of nfs4_acls.cVolker Lendecke1-1/+2
(This used to be commit 2abb7cd867be307e56c02087e700189b17efb894)
2008-07-04Add SMB_VFS_OP_RECVFILE to get it in sync with vfs.hLars Müller1-0/+1
Fix "vfs_full_audit.c: name table not in sync with vfs.h" panic reported by Franz Sirl. (This used to be commit 72b96b75a4a1b523540a24fb758b1965ad66009b)