summaryrefslogtreecommitdiffstats
path: root/source3/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:vfs properly terminate enums in audit modulesChristian Ambach2011-05-243-6/+12
| | | | | | 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
* Make protocol version 2 the default protocol, and only run on version 1 if ↵Holger Hetterich2011-05-181-6/+5
| | | | | | | | | | | | | | | | | | | V1 is explcitly given as a module option. I haven't received a single line of feedback on protocol v1 for at least 1 1/2 years, whereas protocol v2 has an active userbase and more people developing around it. This patch includes a manpage update, describing the new version handling, as well as documenting the recent changes making the module transfer the IP address of the client machine as submitted with 464c69609aa7e582f484c1d357b7c6d3eb2bcbe3. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 18 21:36:44 CEST 2011 on sn-devel-104
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-184-4/+4
| | | | | | | strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
* s3-modules: Fix the build of gpfs.c on RHEL 6.0 with gpfs 3.4.0-4Björn Baumbach2011-05-181-0/+1
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed May 18 11:58:14 CEST 2011 on sn-devel-104
* Ensure we always write the correct incoming mid into the share modeJeremy Allison2011-05-161-2/+4
| | | | table entries.
* gpfs.so: Add gpfs:syncio optionGregor Beck2011-05-161-0/+13
| | | | This enables optimizations for shared file access on gpfs
* lib/util/charset Move built-in charset modules to the top levelAndrew Bartlett2011-05-135-1033/+0
| | | | | | | This removes the 'charset' subsystem and allows these modules to be used across the whole of Samba. Andrew Bartlett
* s3: only include tdb headers where needed.Günther Deschner2011-05-063-0/+3
| | | | Guenther
* Fix broken interface to set_namearray() - don't modify incoming string.Jeremy Allison2011-05-061-1/+1
|
* Fixup use of const.Jeremy Allison2011-05-061-2/+2
|
* More const fixes. Remove CONST_DISCARD.Jeremy Allison2011-05-068-23/+23
|
* Change the char * pointers in the struct to const char * (which is how ↵Jeremy Allison2011-05-061-19/+18
| | | | they're treated).
* Remove magic numbers. Standardize on macro. Move from safe_strcat to strlcat.Jeremy Allison2011-05-041-7/+7
|
* Cope with +1 change on moving from safe_strcat to strlcat.Jeremy Allison2011-05-041-3/+3
|
* s3-waf: add vfs_gpfs_hsm_notify to the build.Günther Deschner2011-05-041-0/+8
| | | | | | | | | Volker, can you please check this is correct ? Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 4 19:03:45 CEST 2011 on sn-devel-104
* vfs_gpfs: Properly notify the offline->online changesVolker Lendecke2011-05-041-0/+110
| | | | | | | This needs to be a separate module that cooperates with vfs_gpfs. If aio_fork is used early in the module chain it (correctly) does not propagate the aio ops down, so vfs_gpfs does not see them. This slim module must come early in the chain for notifies to work properly.
* vfs_gpfs: Block sendfile for offline filesVolker Lendecke2011-05-041-0/+12
|
* vfs_gpfs: Store the winattrs in st.vfs_privateVolker Lendecke2011-05-041-5/+12
| | | | This avoids a considerable amount of gpfs_winattr calls
* s3-vfs: make vfswrap_llistxattr and vfswrap_flistxattr static.Günther Deschner2011-05-041-2/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 4 12:31:10 CEST 2011 on sn-devel-104
* s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCHAndrew Bartlett2011-04-291-3/+3
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett2011-04-292-2/+2
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3:vfs use gpfs_lib_initChristian Ambach2011-04-263-0/+22
| | | | | | | | | | | | With newer GPFS releases, libgpfs contains a function gpfs_lib_init(). It marks the pseudo-device the lib uses as interface to the GPFS kernel module to not be to destroyed after each call to GPFS. This saves us some microseconds creating and removing the device each time we do a call to libgpfs. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Apr 26 20:52:36 CEST 2011 on sn-devel-104
* s3-vfs: rename open function to open_fn.Günther Deschner2011-04-2120-24/+20
| | | | | | | | | | | 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-build: move MAP_FILE define to the only place used.Günther Deschner2011-04-201-0/+4
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 20 19:16:47 CEST 2011 on sn-devel-104
* s3-smbd: fix the AIX 5.3 build.Günther Deschner2011-04-202-0/+5
| | | | | | (AIX defines open to be open64) Guenther
* s3: Fix the build of vfs_gpfs.cVolker Lendecke2011-04-181-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 18 14:40:07 CEST 2011 on sn-devel-104
* Fix bug #8083 - "inherit owner = yes" doesn't interact correctly with ↵Jeremy Allison2011-04-141-3/+27
| | | | | | | | | | | vfs_acl_xattr or vfs_acl_tdb module. If "inherit owner = yes", pass in the directory owner and group owner as the target for CREATOR_OWNER and CREATOR_GROUP substitutions, and also as the owner and primary group of the new security descriptor being applied to the object. Jeremy.
* s3-includes: move readahead prototype to its only user.Günther Deschner2011-04-141-0/+4
| | | | Guenther
* s3: only include smb profiling where needed.Günther Deschner2011-04-142-1/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104
* s3-includes: only include acl prototypes when needed.Günther Deschner2011-04-145-2/+7
| | | | Guenther
* s3-modules: Fix debug messageBjörn Baumbach2011-04-111-1/+1
| | | | | | | | | Print child descriptor instead of parent. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 11 11:48:42 CEST 2011 on sn-devel-104
* Fix bug 8072 - PANIC: create_file_acl_common frees handle two times.Jeremy Allison2011-04-091-51/+48
| | | | | | | | | | | | Caused by premature optimisation storing the parent ACL on the module handle instead of (correctly) on the file fsp. Previous code wasn't reentrant safe. This is less optimal but doesn't crash in the specific case :-). Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 9 02:05:15 CEST 2011 on sn-devel-104
* lib/crypto: rename the SHA256_ functions to samba_SHA256_Andrew Tridgell2011-04-061-3/+3
| | | | | | | this prevents a symbol duplication with the openssl library, which may be linked in via a secondary library dependency Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Fix bug #7080 - Quota only shown when logged as root.Jeremy Allison2011-04-051-2/+2
| | | | | | | | | | | | | | | Remove the final incorrect uses of conn->session_info->utok.uid. When we're in the "admin users" list, then this value is not set to zero. Inspired by the comment on this bug by Dmitry Butskoy <dmitry@butskoy.name>. I'll create a different fix for 3.5.x. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 5 21:53:59 CEST 2011 on sn-devel-104
* s3/vfs_gpfs: s/syncops/gpfsBjörn Jacke2011-04-051-1/+1
| | | | | | | as pointed out by Metze in bug #8031 Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue Apr 5 18:08:42 CEST 2011 on sn-devel-104
* Fix bug #7987 - ACL can get lost when files are being renamed.Jeremy Allison2011-04-023-1/+49
| | | | | | | | | There is no reason for smbd with Windows ACLs to use chmod or fchmod unless it's a file opened with UNIX extensions or with posix pathnames. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 2 02:40:43 CEST 2011 on sn-devel-104
* SMBTA: make vfs_smb_traffic_analyzer aware of the sendfile and recvfile ↵Holger Hetterich2011-03-301-1/+41
| | | | functionality and store the results as common read/write results.
* s3-vfs: try to fix build of aio_fork module.Günther Deschner2011-03-301-1/+2
| | | | Guenther
* s3-vfs acl modules: more non-linux build fixes.Günther Deschner2011-03-307-1/+7
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 30 16:00:02 CEST 2011 on sn-devel-104
* s3-vfs_solarisacl: try to fix the solaris build.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3: only include ntioctl.h where needed.Günther Deschner2011-03-305-0/+5
| | | | Guenther
* s3-auth: vfs modules need auth.hGünther Deschner2011-03-307-0/+7
| | | | Guenther
* s3-vfs: include smbd/smbd.h in vfs modules.Günther Deschner2011-03-3062-0/+63
| | | | Guenther
* s3-passdb: use passdb headers where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-build: only include transfer_file.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-3024-0/+24
| | | | Guenther
* s3-includes: only include system/shmem.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/syslog.h when needed.Günther Deschner2011-03-303-0/+3
| | | | Guenther
* s3: Fix Coverity ID 2226: RESOURCE_LEAKVolker Lendecke2011-03-271-0/+1
| | | | Holger, please check!
* s3: Fix Coverity ID 585: NEGATIVE_RETURNSVolker Lendecke2011-03-271-1/+1
|