summaryrefslogtreecommitdiffstats
path: root/source/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* Add functions to delete NTACL on posix ACL set.Jeremy Allison2008-11-202-77/+185
| | | | | Jeremy. (cherry picked from commit 0c4d1d187bb93e65c7de38071cf54e8554b150b9)
* Fix bug #5900 reported by monyo@samba.gr.jp - vfs_readonly.so does not work.Jeremy Allison2008-11-181-0/+13
| | | | | Jeremy. (cherry picked from commit 37233a3f62f4b0e5d4fc3376687f445656bded41)
* Fix bug 5901: Default for streams_depot locationTAKAHASHI Motonobu2008-11-181-1/+9
| | | | (cherry picked from commit c9c50ced497476ef43ec0cc5a205a89c2b9318ba)
* Move v2 from timestamp to 16-byte hash. Got the change in before on disk ↵Jeremy Allison2008-11-182-40/+20
| | | | | | | format is fixed. Jeremy. (cherry picked from commit 9393c99a834724d66b027e73adaa82cfedb97185)
* Added vfs_acl_tdb.c module to do ACLs completely in userspace. Passes all of ↵Jeremy Allison2008-11-182-44/+897
| | | | | | | RAW-ACLS except for the last test which uses a non-POSIX chown. More testing/documentation to follow. Jeremy. (cherry picked from commit 10d07c79dea075e62f4e9fdec3abd63996fec08c)
* Fix a subtle logic bug in the adaption of se_create_child_secdesc(), pass ↵Jeremy Allison2008-11-181-1/+20
| | | | | | | RAW-ACL inheritance tests. Only access masks for SD get/set left to fix. Jeremy. (cherry picked from commit f383a518f68568c36edc7f438d903d3636a42d45)
* Start factoring out the inheritance differences.Jeremy Allison2008-11-181-2/+1
| | | | | Jeremy. (cherry picked from commit d6ec9a28711e2a5e404354408c012d6d70a8ca3f)
* Don't call FSET_NT_ACL on file create if there's no SD to set. Leave the ↵Jeremy Allison2008-11-181-4/+0
| | | | | | | default ACL in place. Jeremy. (cherry picked from commit 630b6b7d28ce8e7dcce2dfa432271e9159a38f8e)
* Only one more issue with NULL ACL test left to solve.Jeremy Allison2008-11-181-1/+1
| | | | | Jeremy. (cherry picked from commit 5b2d6d5d3615c90b5b73b4d9db69c48b40b367b2)
* Fix crash in module, get more of the NULL acl test right.Jeremy Allison2008-11-181-14/+18
| | | | | Jeremy. (cherry picked from commit 687cb150e2a2f7b3616625718ac5b8f67086ad77)
* Pass all of RAW-ACLS except for inheritence. Working on that next.Jeremy Allison2008-11-181-1/+1
| | | | | Jeremy. (cherry picked from commit cc8207790ef2fc38635415501a83a0161d48015a)
* Pass all the non-inherited S4 RAW-ACL tests.Jeremy Allison2008-11-181-0/+4
| | | | | Jeremy. (cherry picked from commit adbab86c4c3adb6c0750f081efe4cba242761213)
* Get closer to passing S4 RAW-ACLs.Jeremy Allison2008-11-181-15/+76
| | | | | Jeremy. (cherry picked from commit 5fd164ca99074e4b358d53aaef56aa64520b6efd)
* Unify se_access_check with the S4 code. Will makeJeremy Allison2008-11-181-3/+3
| | | | | | | calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy. (cherry picked from commit 82a25d224b63148c4f9d38ae477328b12a5a03a6)
* Start moving us closer to passing S4 RAW-ACL test using the vfs_acl_xattr ↵Jeremy Allison2008-11-181-0/+51
| | | | | | | module. Inheritance fails at the moment though. Jeremy. (cherry picked from commit acc14f232f6924a702c881266b9a73e37397de92)
* Inherit Windows ACLs on a new directory.Jeremy Allison2008-11-181-13/+55
| | | | | Jeremy. (cherry picked from commit af1cbfac50050ee7c185ea5267dc3c7a8159077a)
* Fix CID 606 - failed to return -1 after socket() fail.Jeremy Allison2008-11-181-0/+1
| | | | | Jeremy. (cherry picked from commit d83c9e985195c8caf5222c7352684c325db0771b)
* Allow a new file to inherit the Windows ACL from its parent.Jeremy Allison2008-11-181-82/+174
| | | | | | Now to do the same for directories. Jeremy. (cherry picked from commit 7a7b1602d6234ab133ea40533ef81733f12dddb6)
* Whitespace tidyup and an optimization to remove a talloc.Jeremy Allison2008-10-151-7/+5
| | | | | Jeremy. (cherry picked from commit 2d063842365341ecbbbf0413e9870b1680d2e138)
* Enable optional anonymization of user names,Holger Hetterich2008-10-151-1/+24
| | | | | | if the configuration parameter anonymization_prefix is defined in smb.conf, and use the prefix given there. (cherry picked from commit 84355feee9a718e8ffe854df1129461d65d114dc)
* Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison2008-10-152-6/+4
| | | | | Jeremy. (cherry picked from commit 5e77ccaa866d422e56c28af610692b8167d630e8)
* Make use of ZERO_STRUCT (the first memset was actually wrong)Volker Lendecke2008-10-151-3/+3
| | | | (cherry picked from commit 723fe06bf20e5f6e9c2075f66de01475ff8bfc68)
* Fixed "might be uninitialized" warningTim Prouty2008-10-151-2/+2
| | | | (cherry picked from commit 1f95d82dd1b86e308d75e9f755f83c34e6ceb28d)
* Deal with inheritance from parent directory when setting WindowsJeremy Allison2008-10-151-0/+16
| | | | | | ACLs. Jeremy. (cherry picked from commit efc3de5e2490be615121f7231cd1611df2163e78)
* Fix const warning.Jeremy Allison2008-10-151-1/+1
| | | | | Jeremy. (cherry picked from commit 2b8c7a53860b43435f1b68235abd14e2f850a8f5)
* Update vfs version as I've added a const to the security_descriptor paramter ↵Jeremy Allison2008-10-158-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. (cherry picked from commit 3869464895d51588ed156606051812efb26755a9)
* Make map_errno_from_nt_status() a generic call, not just a cli specific one.Jeremy Allison2008-10-151-22/+36
| | | | | | Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files. Jeremy. (cherry picked from commit acaaf6e2effd34a159ceb6ff1dbfd2cfb650e613)
* Fixed build warning "passing arg from incompatible pointer type"Tim Prouty2008-10-151-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 (cherry picked from commit a1dd4fc647340238eac10d411f531e37dba901b9)
* Turn the socket connections into a refcounted list - in the common case ↵Jeremy Allison2008-10-021-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. (cherry picked from commit 9a90ceac52f8623dde2bf50e630b10aebbc0e28d)
* Convert to allocated strings. Use write_data(), not send as this doesn't ↵Jeremy Allison2008-10-011-58/+42
| | | | | | | | correctly deal with EINTR. Jim and Holger please check this still works. Jeremy. (cherry picked from commit bec55237c9c5687d947562524124b7aa76209b8f)
* Remove current_user_info - not needed.Jeremy Allison2008-10-011-4/+2
| | | | | Jeremy. (cherry picked from commit 093fc8c6bf1420c0f1e171598c4894b4df24862c)
* Restructure the module so it connects to the remote data sinkJeremy Allison2008-10-011-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. (cherry picked from commit e3e89077a5559eda39ea27f0ce6f9f0ebeba8f1e)
* Use IPv4/v6 independent calls. Change safe_strcpy/cat to strlcpy/cat (thisJeremy Allison2008-09-291-84/+97
| | | | | | | needs changing to talloc_sprintf) and fix file descriptor resource leaks in error paths. Jim and Holger please check ! Jeremy. (cherry picked from commit eb249830ae4037244de6616b4ec8771568da34c6)
* Fix the new vfs_smb_traffic_analyzer build for static linksJim McDonough2008-09-291-2/+2
| | | | (cherry picked from commit 41887550fbacae887d9ad28559cc8bdcc6ac84ac)
* SMB traffic analyzer vfs module from Holger Hetterich <hhetter@novell.com>Holger Hetterich2008-09-291-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). (cherry picked from commit bd9499baa078ce3ea3640ce441a0e078b59a423f)
* Correctly get+set the NT ACL on a file. Now to make us check it on open..Jeremy Allison2008-09-211-3/+12
| | | | | Jeremy. (cherry picked from commit e60be05baff1a0d9f99cd2be8fbfd66e76893c1d)
* Mark module experimental, fix crash bugs.Jeremy Allison2008-09-211-2/+9
| | | | | Jeremy. (cherry picked from commit 299fbaad957d214f47bb468f751bb500bb1956a2)
* First (incomplete) cut of this module. Based on Volker's original work.Jeremy Allison2008-09-211-0/+315
| | | | | Jeremy. (cherry picked from commit b1c55f5616b16a698a751a90fb209e0549332dc7)
* When setting an NFSv4 ACL, map generic bitsVolker Lendecke2008-09-091-0/+4
| | | | | (cherry picked from commit dbe7a61be2beac50d1665e38ac374cefbbabec00) (cherry picked from commit 77b3ca1a4be4ae780186ab4d46ec114b8dea41a8)
* fixed an errno handling bug that could lead to an infinite loopAndrew Tridgell2008-09-081-2/+2
| | | | | (cherry picked from commit 5ccdc58ce91ee40ca7171dd040191291aeb7fe02) (cherry picked from commit 2cd7bedcb7d5d9c218dae2cc08b1131d844b738b)
* fixed tsmsm_sendfile(). The logic was totally broken.Andrew Tridgell2008-09-081-4/+7
| | | | | (cherry picked from commit 794e48b809036871287df8416a2c669b7e26f216) (cherry picked from commit 44fcdd73b059b83f0dca86237881d76c95649714)
* Put prototypes of modules/vfs_irixacl.c to new modules/vfs_irixacl.h.Michael Adam2008-08-221-0/+45
| | | | | | | | Thereby (hopefully) fixing the potential build problems with IRIX acls. Michael (cherry picked from commit 61c201d416bbc37950b980e8598b7ef1292336bc) (cherry picked from commit f68b0d02879ddfb6a7faad8f7bb4fe51ce4c2f09)
* Put prototypes of modules/vfs_hpuxacl.c to new modules/vfs_hpuxacl.h.Michael Adam2008-08-221-0/+58
| | | | | | | | Thereby (hopefully) fixing the potential build problems with HPUX acls. Michael (cherry picked from commit 4f2a1de990dc9063a1db877c06a5c1d68924edcf) (cherry picked from commit 50b0bd094ec0aa86ab0b6e109f7539b04d877e9f)
* Put prototypes of modules/vfs_solarisacl.c to new modules/vfs_solarisacl.h.Michael Adam2008-08-221-0/+45
| | | | | | | | Thereby (hopefully) fixing the potential build problems with solaris acls. Michael (cherry picked from commit 8413c05afcde65006fa7c8743f30b53cc33c1729) (cherry picked from commit 2482f86705320ae578fcccc3fc8a285c5c2c059f)
* Put prototypes of modules/vfs_tru64acl.c to new modules/vfs_tru64acl.h.Michael Adam2008-08-221-0/+45
| | | | | | | | Thereby (hopefully) fixing the build with tru64 acls. Michael (cherry picked from commit 1ab64b69850489a2648a2543da6d0e1157df68bc) (cherry picked from commit 19008ca631320a07949a5516abdc382fb78e1711)
* Put prototypes of modules/vfs_posixacl.c into new modules/vfs_posixacl.h.Michael Adam2008-08-221-0/+46
| | | | | | Michael (cherry picked from commit 876f6793434174051084b17f3b02bd1bbb24ec44) (cherry picked from commit ec75422f1a09d92ac4034287a950b9172589474e)
* Fix bug #5692 - Core dump in full_audit.so.Jeremy Allison2008-08-193-5/+4
| | | | | | There were some function mismatches in the various GET_NT_ACL modules (some places the fsp parameter has not been removed). Jeremy. (cherry picked from commit cb49b48e5cb1d8530292bac41052ef163fddec43)
* Revert "Add a gpfs_prefetch module"Michael Adam2008-08-191-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 (cherry picked from commit a2c751a26b3f85e96e91c3a65c94c2e6fba30e3c)
* Add a gpfs_prefetch moduleVolker Lendecke2008-08-131-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.
* keep compatibility with v3-0-ctdb name for fileid:mapping optionAndrew Tridgell2008-08-131-1/+1
|