summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_extd_audit.c
Commit message (Collapse)AuthorAgeFilesLines
* build: Remove SMB_STRUCT_DIR defineAndrew Bartlett2012-04-051-2/+2
|
* vfs: Make function pointer names consistent. They all end in _fnRichard Sharpe2011-12-121-10/+10
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104
* param: Merge param headers into lib/param/loadparm.hAndrew Bartlett2011-06-291-0/+1
| | | | | | | This defines a common table format, so we can in future define a common table. Andrew Bartlett
* s3:vfs properly terminate enums in audit modulesChristian Ambach2011-05-241-2/+4
| | | | | | without the proper terminations of the enums, invalid arguments for the audit modules will lead to a smbd crash as the loop in lp_enum() will attempt to access memory behind the array
* s3-vfs: rename open function to open_fn.Günther Deschner2011-04-211-1/+1
| | | | | | | | | | | This should finally fix the AIX build and allow to remove AIX specific ifdefs. Guenther Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 21 02:01:20 CEST 2011 on sn-devel-104
* s3-vfs: include smbd/smbd.h in vfs modules.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/syslog.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* Restructure the connect function code to always callJeremy Allison2009-11-301-4/+6
| | | | | | | | down to NEXT-> before initializing. This allows us to do cleanup (by calling DISCONNECT) if initialization fails. Also fix vfs_acl_xattr which was failing to call the NEXT connect function. Jeremy.
* Make the smbd VFS typesafeVolker Lendecke2009-07-241-29/+16
|
* s3: Finish plumbing the fsp->fsp_name smb_fname conversion through the modules.Tim Prouty2009-07-201-4/+4
|
* s3: Plumb smb_filename through SMB_VFS_UNLINKTim Prouty2009-07-061-4/+5
|
* s3 audit: Remove some recently introduced memory leaks in the audit modulesTim Prouty2009-07-061-3/+3
|
* s3 audit: Remove the usesless static function declarations from the audit ↵Tim Prouty2009-07-061-51/+30
| | | | modules
* s3: Plumb smb_filename through SMB_VFS_RENAMETim Prouty2009-07-061-5/+11
|
* s3: Change SMB_VFS_OPEN to take an smb_filename structTim Prouty2009-06-171-5/+7
| | | | | | | | | | | | This was a little messy because of all of the vfs modules I had to touch. Most of them were pretty straight forward, but the streams modules required a little attention to handle smb_filename. Since the use of smb_filename enables the vfs modules to access the raw, over-the-wire stream, a little bit of the handling that was being done by split_ntfs_stream_name has now been shifted into the individual stream modules. It may be a little more code, but overall it gives more flexibility to the streams modules, while also allowing correct stream handling.
* More warning fixes for Solaris.Jeremy Allison2009-02-231-4/+4
| | | | Jeremy.
* s3/vfs_extd_audit: Don't ignore "syslog = 0".Karolin Seeger2009-01-211-59/+86
| | | | | | | | This fixes bug #5956. Thanks to Oskar Wycislak <cantorek [at] gmail.com> for reporting and providing a patch! Karolin
* Remove redundant parameter fd from SMB_VFS_CLOSE().Michael Adam2008-04-211-5/+5
| | | | | | | Now all those redundant fd's have vanished from the VFS API. Michael (This used to be commit 14294535512a7f191c5008e622b6708e417854ae)
* Fix Coverity warningsVolker Lendecke2008-03-231-1/+5
| | | | | ID 449, 448, 447, 446, 445, 444, 443, 442, 441, 440, 439, 438, 437 (This used to be commit 0d50b4ee9068d04d1d9eb7786e08775d7ba16bc8)
* Remove redundant parameter fd from SMB_VFS_FCHMOD_ACL().Michael Adam2008-01-081-3/+3
| | | | | Michael (This used to be commit 7b201c177b3668f54751ba17d6a0b53ed913e7f7)
* Remove redundant parameter fd from SMB_VFS_FCHMOD().Michael Adam2008-01-071-3/+3
| | | | | Michael (This used to be commit a54d5604da556d1250ca9948d4acc4a187a9fede)
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r20261: merge 20260 from samba_3_0_24Herb Lewis2007-10-101-0/+1
| | | | | clean up a bunch of no previous prototype warnings (This used to be commit c60687db112405262adf26dbf267804b04074e67)
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-30/+30
| | | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
* r10619: Allow syslog facility and priority to be set viaDeryck Hodge2007-10-101-10/+33
| | | | | | | | | | | | | | | | smb.conf for audit modules. Facility may be set to USER or LOCAL0-LOCAL7. Any of the syslog priority settings may be used. smb.conf will look like: audit:facility = LOCAL5 audit:priority = INFO (Or full_audit:facility, or whatever audit module is used.) deryck (This used to be commit c619ee38f0aee43de571524c8ef3bf6b27b30e74)
* r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a ↵Jeremy Allison2007-10-101-3/+3
| | | | | | | | UNIX vendor not understanding abstract data types :-(. Jeremy. (This used to be commit be5b4e2fa3ed30b0ff01b47d2354e5f782a12e25)
* r7893: Add in the extra parameters to opendir() to fix the large ↵Jeremy Allison2007-10-101-3/+3
| | | | | | | | directory/insane app problem. Rev vfs version. Doesn't change the normal codepath. Jeremy. (This used to be commit 0f03a6bdcdbdf60da81e0aeffa84ac6e48fc6a04)
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2007-10-101-6/+6
| | | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy (This used to be commit 9506b8e145982b1160a2f0aee5c9b7a54980940a)
* r404: Revert the change 378 to vfs_extd_audit.c, the parseable auditingVolker Lendecke2007-10-101-198/+95
| | | | | | | | Implement vfs_full_audit.c that can log every vfs.h operation. So if you change vfs.h, from now on you also have to change full_audit :-) Volker (This used to be commit 9cb9c5f7c97fe8f76735a77b321c9500d28b55b2)
* r378: Add an option extd_audit:parseable=True. This gives messages of the formVolker Lendecke2007-10-101-95/+198
| | | | | | | | | Apr 27 16:05:59 delphin smbd_audit[14946]: 1011|192.168.234.100|unlink|New Folder/TESTDIR.TMP where 1011 is the user's uid, 192.168.234.100 is the client IP etc. Volker (This used to be commit 9a1a8e26636d75cb7d1880558430bbffd5057052)
* Found out a good number of NT_STATUS_IS_ERR used the wrong way.Simo Sorce2003-06-221-1/+1
| | | | | | | | | | | | As abartlet rememberd me NT_STATUS_IS_ERR != !NT_STATUS_IS_OK This patch will cure the problem. Working on this one I found 16 functions where I think NT_STATUS_IS_ERR() is used correctly, but I'm not 100% sure, coders should check the use of NT_STATUS_IS_ERR() in samba is ok now. Simo. (This used to be commit c501e84d412563eb3f674f76038ec48c2b458687)
* Prefix VFS API macros with SMB_ for consistency and to avoid problems with ↵Alexander Bokovoy2003-05-141-27/+27
| | | | | | VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out (This used to be commit c2689ed118b490e49497a76ed6a2251262018769)
* Fix VFS layer:Alexander Bokovoy2003-05-111-107/+134
| | | | | | | | | | 1. Finally work with cascaded modules with private data storage per module 2. Convert VFS API to macro calls to simplify cascading 3. Add quota support to VFS layer (prepare to NT quota support) Patch by Stefan (metze) Metzemacher, with review of Jelmer and me Tested in past few weeks. Documentation to new VFS API for third-party developers to follow (This used to be commit 91984ef5caa2d13c5d52e1f535bd3bbbae1ec978)
* Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij2003-04-281-2/+2
| | | | | function. Patch by metze with some minor modifications. (This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
* More merges from HEAD:Jelmer Vernooij2003-04-161-9/+6
| | | | | | | - Stephan Kulow's changes (fixing warnings in libsmbclient) - VFS modules - Seperating libs (This used to be commit 6e9b7802335428c88ecf4e44a0e2395ac58e96b5)
* Added my name to copyright.John Terpstra2003-02-071-0/+1
| | | | (This used to be commit 143df82aeb3c590e603bb006d01ee50b91602204)
* Added audit module that logs info to smbd log file as well as syslog.John Terpstra2003-02-071-0/+318
(This used to be commit 0ce5f23bdb6796260303b4884b3f62f4329ee6c8)