summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
2008-11-10Fix the build (ndr_pull_struct_blob has a different signature in master).Jeremy Allison1-1/+1
Jeremy.
2008-11-10Added vfs_acl_tdb.c module to do ACLs completely in userspace. Passes all of ↵Jeremy Allison2-44/+897
RAW-ACLS except for the last test which uses a non-POSIX chown. More testing/documentation to follow. Jeremy.
2008-11-08Fix a subtle logic bug in the adaption of se_create_child_secdesc(), pass ↵Jeremy Allison1-1/+20
RAW-ACL inheritance tests. Only access masks for SD get/set left to fix. Jeremy.
2008-11-06Start factoring out the inheritance differences.Jeremy Allison1-2/+1
Jeremy.
2008-11-06Don't call FSET_NT_ACL on file create if there's no SD to set. Leave the ↵Jeremy Allison1-4/+0
default ACL in place. Jeremy.
2008-11-06Only one more issue with NULL ACL test left to solve.Jeremy Allison1-1/+1
Jeremy.
2008-11-06Fix crash in module, get more of the NULL acl test right.Jeremy Allison1-14/+18
Jeremy.
2008-11-04Pass all of RAW-ACLS except for inheritence. Working on that next.Jeremy Allison1-1/+1
Jeremy.
2008-11-03Pass all the non-inherited S4 RAW-ACL tests.Jeremy Allison1-0/+4
Jeremy.
2008-11-01Remove sys_dl*() - stubs are already provided by libreplace.Jelmer Vernooij1-8/+8
2008-11-01Move sys_realpath() to libreplace.Jelmer Vernooij1-1/+1
2008-11-01Move sys_lchown() to libreplace.Jelmer Vernooij2-2/+2
2008-11-01Move sys_symlink() to libreplace.Jelmer Vernooij1-2/+2
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)