summaryrefslogtreecommitdiff
path: root/source3/configure.in
AgeCommit message (Collapse)AuthorFilesLines
2009-02-18S3: Allow SMBD processes to survive in low memory condidtionstodd stecher1-0/+28
This commit adds a configure argument which allows for setting MADV_PROTECT in the madvise() API. With this enabled the kernel won't kill SMBD when it's running low on memory.
2009-02-17s3:build: improve the check for a working krb5-config.Michael Adam1-1/+1
Not only check if it exists and is executable, but also check whether it accepts the command line "krb5-config --libs gssapi". Chris Hoogendyk <hoogendyk@bio.umass.edu> has reported configure failing on a Solaris machine due to krb5-config raising errors on these options. Michael
2009-02-14It seems some systems use f_flags instead of f_flag. Use the appropriate one.Derrell Lipman1-0/+17
2009-02-13s3: Test module for perfcount systemtodd stecher1-1/+2
Add 'perfcount module = pc_test' to exercise this module. Results are logged into smb.log every 50 operations (configurable via smb.conf).
2009-02-13OneFS implementation of BRL VFS ops:Zack Kirsch1-1/+1
* Much of the beginning should look familiar, as I re-used the OneFS oplock callback record concept. This was necessary to keep our own state around - it really only consists of a lock state, per asynchronous lock that is currently unsatisfied. The onefs_cbrl_callback_records map to BLRs by the id. * There are 4 states an async lock can be in. NONE means there is no async currently out for the lock, as opposed to ASYNC. DONE means we've locked *every* lock (keep in mind a request can ask for multiple locks at a time.) ERROR is an error. * onefs_cbrl_async_success: The lock_num is incremented, and the state changed, so that when process_blocking_lock_queue is run, we will try the *next* lock, rather than the same one again. * onefs_brl_lock_windows() has some complicated logic: * We do a no-op if we're passed a BLR and the matching state is ASYNC -- this means Samba is trying to get the same lock twice, and we just need to wait longer, so we return an error. * PENDING lock calls happen when the lock is being queued on the BLQ -- we do async in this case. * We also do async in the case that we're passed a BLR, but the lock is not pending. This is an async lock being probed by process_blocking_lock_queue. * We do a sync lock for any normal first request of a lock. * Failure is returned, but it doesn't go to the client unless the lock has actually timed out.
2009-02-12There are systems where nanosleep is in libc *and* in librt.Björn Jacke1-2/+1
Let's just do the test in librt when the first one failed.
2009-02-12tidy up timestamp checksBjörn Jacke1-286/+14
AC_CHECK_MEMBERS should be a sufficient check, there's no need to do manual compile tests. We can also assume that we have ctime and atime members when we have the mtime member.
2009-02-12today valgrind is available on 64bit Linux, tooBjörn Jacke1-12/+0
2009-02-09s3 OneFS: Add kernel oplocks implementationTim Prouty1-0/+2
A few functions in oplocks_onefs.c need to be accessed from the onefs vfs module. It would be ideal if oplocks were implemented at the vfs layer, but since they aren't yet, a new header is added to source3/include to make these functions available to the onefs vfs module. oplocks_onefs.o doesn't need to be linked into the onefs vfs module explicitly, since it is already linked into smbd by default.
2009-02-09S3 OneFS: Add in Isilon specific performance counter moduletodd stecher1-1/+3
2009-02-09S3: New module interface for SMB message statistics gatheringtodd stecher1-1/+2
This changelist allows for the addition of custom performance monitoring modules through smb.conf. Entrypoints in the main message processing code have been added to capture the command, subop, ioctl, identity and message size statistics.
2009-02-09look for nanosleep in librt, some Unix flavours have it thereBjörn Jacke1-0/+1
2009-02-06s3-spoolss: prepare to use generated spoolss.Günther Deschner1-3/+3
Guenther
2009-02-04s3-eventlog: remove old eventlog server.Günther Deschner1-2/+2
Guenther
2009-02-03merged-build: force non-shared build for samba4Stefan Metzmacher1-0/+3
This should fix 'make test4'. metze
2009-01-30s3 build: Remove unused fstat check to fix a bunch of HAVE_FSTAT warningsTim Prouty1-1/+1
2009-01-29add configure check for Tru64 sub-second timestamp resolutionBjörn Jacke1-0/+40
2009-01-30s3:build: fix build on AIX - only test for splice on linuxMichael Adam1-0/+7
Michael
2009-01-29add configure check for AIX style sub-second resolution supportBjörn Jacke1-2/+42
2009-01-29rather cosmetic fix for failed birthtime configure checksBjörn Jacke1-3/+3
2009-01-29give configure check "sub-second timestamps without struct timespec" a ↵Björn Jacke1-1/+1
chance to succeed
2009-01-29s3:configure: autodetect ctdb/cluster supportStefan Metzmacher1-4/+115
We need to make sure ctdb has transaction support and we autodetect ipv6 support. metze
2009-01-27Fix detection of dns_sd libraries.Jeremy Allison1-1/+1
Jeremy.
2009-01-27async_req: Fix the S4 buildKai Blin1-1/+1
2009-01-23This change allows for the autoconfigre detection of sub-second time ↵todd stecher1-1/+39
resolution in the FreeBSD stat structure
2009-01-23async_req: Move to top level dirKai Blin1-0/+1
2009-01-22Move configure test files to the top-level and share them between s3 andJelmer Vernooij1-11/+11
s4.
2009-01-21Move check_python.m4 to common m4 directory.Jelmer Vernooij1-1/+1
2009-01-21Automagically expand includes in Makefile.in during configure timeJelmer Vernooij1-1/+17
when make is not GNU Make.
2009-01-21Only check for Perl once in Samba 3.Jelmer Vernooij1-11/+8
2009-01-21Move check_make.m4 to the top-level.Jelmer Vernooij1-1/+1
2009-01-09s3-svcctl: remove last traces of hand-marshalled svcctl code.Günther Deschner1-2/+2
Guenther
2009-01-05s3: build lib/tevent staticly into samba3Stefan Metzmacher1-0/+10
metze
2008-12-17s3-ntsvcs: remove last traces of hand-marshalled NTSVCS.Günther Deschner1-2/+2
Guenther
2008-12-17Compile libluaVolker Lendecke1-0/+1
2008-12-16nsswitch: Move source3 files to top level dir.Kai Blin1-19/+19
Don't move source4 files yet to not confuse git's rename tracking too much.
2008-12-10Also search for -lgpfs which is available as GPL in GPFS PTF8Volker Lendecke1-0/+14
(cherry picked from commit 3c93c96fd0fe362c35fe8127058f94868abc9342) Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10Revert "Also search for -lgpfs which is available as GPL in GPFS PTF8"Volker Lendecke1-14/+0
This reverts commit 3c93c96fd0fe362c35fe8127058f94868abc9342.
2008-12-10Also search for -lgpfs which is available as GPL in GPFS PTF8Volker Lendecke1-0/+14
2008-12-02Add support for OneFS ACLsSteven Danneman1-0/+4
Add to the OneFS VFS module, support for NTFS ACLs through the calls: SMB_VFS_FGET_NT_ACL() SMB_VFS_GET_NT_ACL() SMB_VFS_FSET_NT_ACL() Also create several new onefs specific smb.conf parameters in onefs.h
2008-12-02Add OneFS VFS module skeleton.Tim Prouty1-0/+15
Also set configure to autodetect OneFS OS and build this VFS module.
2008-12-02configure.in: Fix smbtorture_s3 tests.Kai Blin1-1/+1
Seems like Jeremy forgot to fix configure.in when importing d448132 to master in 8d674e35. Generate the vfs_streams_depot module so make test works again.
2008-11-24Allow SYSLOG_FACILITY to be modified with a new configure option called ↵Dan Sledz1-0/+16
--with-syslog-facility
2008-11-23s3 build: when detecting to use internal zlib, put "-I../lib/zlib" first in ↵Michael Adam1-1/+1
CFLAGS This should fix a build error on our Tru64 build farm box where a zlib.h is found in an include path handed in via external CFLAGS, but that zlib.h belongs to an old zlib. So in ndr_compression.c, "#include <zlib.h>" includes the wrong header for the internal zlib. Michael
2008-11-21FreeBSD configure check for backtrace_symbolsDan Sledz1-0/+2
On FreeBSD backtrace_symbols is defined in libexecinfo.so.1. Look for it there as well.
2008-11-13i18n/l10n pam_winbindBo Yang1-1/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2008-11-12s3: Add support for storing dos attributes as st_flags in the stat struct.Tim Prouty1-0/+19
Some filesystems have support for storing dos attributes directly in the inode's st_flags and accessing them through the stat struct. This patch: - Adds a configure check to see if the special flags are available. - Implements getting and setting dos attributes in the stat struct and inode, respectively. This will not change the existing functionality of any system that doesn't have the special flags available.
2008-11-10Added vfs_acl_tdb.c module to do ACLs completely in userspace. Passes all of ↵Jeremy Allison1-1/+2
RAW-ACLS except for the last test which uses a non-POSIX chown. More testing/documentation to follow. Jeremy.
2008-11-02Samba3: Remove more configure tests already done by libreplace.Jelmer Vernooij1-29/+11
2008-11-01Remove sys_chroot() - libreplace already provides an alternative.Jelmer Vernooij1-1/+1