summaryrefslogtreecommitdiffstats
path: root/source3/wscript
Commit message (Collapse)AuthorAgeFilesLines
* media_harmony VFS module: Add and build by default.Andrew Klaassen2012-08-071-0/+1
| | | | | | | | | | | | | - Supersedes previous patch. - Added various fixes for fake mtime functionality. - Now requires lp_cache_locked_write_times patch (bug 8912). - Removed various xattr functions to comply with recent VFS changes. - Changed SMB_STRUCT_DIR to DIR and SMB_STRUCT_DIRENT to struct dirent to comply with recent VFS changes. - Added manpage. - Added sample trigger_avid_update.py script. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Tue Aug 7 15:16:39 CEST 2012 on sn-devel-104
* build: Remove duplicate declaration of --enable-selftestAndrew Bartlett2012-08-061-3/+0
|
* s3:waf: add Darwin sendfile() testBjörn Jacke2012-07-261-0/+23
|
* s3: Compile with pthreadpool by defaultVolker Lendecke2012-07-181-1/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* config: The AIO engine is indepent of HAVE_AIO nowVolker Lendecke2012-07-181-11/+13
| | | | | | | | | Compile the basic aio engine always, it works via libasys/pthreadpool_sync in a sync fashion even if no pthreads are around. Everything else (linux aio, posix aio, aio fork) is now compiled as modules based on specific system capabilities Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Add vfs_aio_posixVolker Lendecke2012-07-181-0/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* build: fix some indentation (tabs/vs spaces) in source3/wscriptMichael Adam2012-07-111-2/+2
| | | | | Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jul 11 19:37:12 CEST 2012 on sn-devel-104
* build: fix waf checks for seteuid on non-Linux platformsMichael Adam2012-07-111-5/+4
| | | | | | An indentation error had linux-specific checks called on non-linux with the effect that "#define USE_LINUX_THREAD_CREDENTIALS 1" was effective.
* Add waf/configure tests for openat.Jeremy Allison2012-07-041-0/+5
| | | | | Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jul 4 02:37:59 CEST 2012 on sn-devel-104
* Fix the waf/autoconf builds to detect correctly the 32-bit or 64-bit syscall ↵Jeremy Allison2012-07-031-14/+63
| | | | | | | ABI on Linux. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Jul 3 05:32:21 CEST 2012 on sn-devel-104
* Disable selections of USE_LINUX_THREAD_CREDENTIALS until we have specificJeremy Allison2012-07-021-11/+15
| | | | | | | 32-bit and 64-bit versions. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Jul 2 03:02:47 CEST 2012 on sn-devel-104
* s3:waf add sendfile support for Tru64, which is the same as HP-UX'sBjörn Jacke2012-06-301-2/+2
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sat Jun 30 02:22:21 CEST 2012 on sn-devel-104
* Try and fix the autoconf build on Solaris/Nexenta/etc.Jeremy Allison2012-06-301-0/+5
| | | | | | | | | Their AC_TRY_RUN doesn't include any current CPPFLAGS. Make the set[res]uid checks independent of this. Needs a small change to the waf build in order to code with the change. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Jun 30 00:32:36 CEST 2012 on sn-devel-104
* Move back to using per-thread credentials on Linux. Fixes the glibc native ↵Jeremy Allison2012-06-291-1/+11
| | | | | | | | | | | | | AIO lost wakeup problem. See this post: https://lists.samba.org/archive/samba-technical/2012-June/085101.html for details. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jun 29 03:57:45 CEST 2012 on sn-devel-104
* s3:waf-build: build the idmap backends tdb2, rid, and hash by default (shared)Michael Adam2012-06-181-1/+2
|
* s3:configure: check for SPLICE_F_MOVE at configure stageStefan Metzmacher2012-06-181-1/+1
| | | | | | | | | This should fix the waf build on AIX, which has a splice symbol. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jun 18 11:43:01 CEST 2012 on sn-devel-104
* s3-auth: Remove auth_netlogondAndrew Bartlett2012-06-161-1/+1
| | | | | | | | | | | | | | | | | auth_netlogond was an important module in the development of the combined Samba 4.0, and was the first module to link smbd with the AD authentication store, showing that it was possible for NTLM authentication to be offloaded to the AD server components. We now have auth_samba4, which provides the full GENSEC stack to smbd, which also matches exactly the group membership and privileges assignment and which is supported and tested as part of the official Samba 4.0 release configuration. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Jun 16 10:13:20 CEST 2012 on sn-devel-104
* s3-passdb: Remove pdb_adsAndrew Bartlett2012-06-161-1/+1
| | | | | | | | | | | | | | | pdb_ads was an important module in the development of the combined Samba 4.0, and was the first module to show that standard samba3 tools such as smbpasswd can be made to operate on the sam.ldb. We now have pdb_samba4, which operates directly on the sam.ldb, rather than via ldapi://, which uses transactions and which is supported and tested as part of the official Samba 4.0 release configuration. This module is not as complete (for example, it does not honour the idmap configuration) and requires that the samba binary be running to operate. Andrew Bartlett
* build: Remove support for non-64bit sendfile()Andrew Bartlett2012-06-161-15/+0
| | | | | | | | | | | Some early Linux 2.6 platforms can not handle sendfile and _FILE_OFFSET_BITS == 64 This disables sendfile() on these platforms. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Jun 16 02:21:28 CEST 2012 on sn-devel-104
* build: fix typo that breaks the HP-UX buildBjörn Jacke2012-06-071-1/+1
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Jun 7 12:49:17 CEST 2012 on sn-devel-104
* build: Tidy up broken posix_fallocate testsAndrew Bartlett2012-06-071-1/+1
| | | | | | | | | This makes the code and output for in waf and autoconf identical. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jun 7 08:35:33 CEST 2012 on sn-devel-104
* build: Rationalise AIO support in configure, ensure on by defaultAndrew Bartlett2012-06-061-2/+0
| | | | | | | | | With this change, the define to check for AIO is HAVE_AIO, consistant with other subsystems. It is now also on by default in the autoconf build, as it has been for waf. Andrew Bartlett
* build: Add newlines for clarityAndrew Bartlett2012-06-051-0/+2
|
* build: Add test for HAVE_BROKEN_POSIX_FALLOCATE to waf buildAndrew Bartlett2012-06-051-0/+13
| | | | | | This was previously only in the autoconf build, added in 3264a98f. Andrew Bartlett
* build: Match autoconf build and disable ACLs on MacOS (darwin)Andrew Bartlett2012-06-031-3/+7
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Jun 3 16:03:59 CEST 2012 on sn-devel-104
* build: Check correctly for sendfile (missing .h in header)Andrew Bartlett2012-06-021-1/+1
| | | | | | This will hopefully fix the build on SLES8, which does not support 64-bit sendfile. Andrew Bartlett
* build: Always attempt to build posix ACLsAndrew Bartlett2012-06-021-8/+3
| | | | | | | These are on more systems than just linux. If the configure test passes then assume it is available. Andrew Bartlett
* lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.cAndrew Bartlett2012-06-021-22/+11
| | | | | | | This also moves all the still-used configure tests etc. The unused OSF API is also removed at this time. Andrew Bartlett
* build: Remove all references to libuuidAndrew Bartlett2012-05-271-2/+0
| | | | | | | | | We simply do not need this library any more. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 27 11:08:22 CEST 2012 on sn-devel-104
* Eliminate dependency on an external uuid library.Andriy Syrovenko2012-05-271-5/+1
|
* Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy2012-05-231-2/+2
| | | | | | | | | | | | | | | | | System MIT krb5 build also enabled by specifying --without-ad-dc When --with-system-mitkrb5 (or --withou-ad-dc) option is passed to top level configure in WAF build we are trying to detect and use system-wide MIT krb5 libraries. As result, Samba 4 DC functionality will be disabled due to the fact that it is currently impossible to implement embedded KDC server with MIT krb5. Thus, --with-system-mitkrb5/--without-ad-dc build will only produce * Samba 4 client libraries and their Python bindings * Samba 3 server (smbd, nmbd, winbindd from source3/) * Samba 3 client libraries In addition, Samba 4 DC server-specific tests will not be compiled into smbtorture. This in particular affects spoolss_win, spoolss_notify, and remote_pac rpc tests.
* s3:auth: remove unused auth_server.cStefan Metzmacher2012-05-151-1/+1
| | | | metze
* waf: move krb5 checks to a separate waf fileAlexander Bokovoy2012-04-231-180/+0
| | | | | | | | | | | | | | | | | With PROCESS_SEPARATE_RULE in wafsamba it is now possible to simplify configuration and checks for MIT/Heimdal Kerberos implementations. 1. Move MIT krb5 checks from source3/wscript to wscript_configure_krb5 2. Make sure they are called same way (--with-mit-krb5-checks) 3. If no configure checks identified MIT krb5 in system (or were disabled), make sure Heimdal build is selected, embedded (default) or system-provided. This makes logic of configuration unchanged for Heimdal builds but adds less hacky way to use MIT krb5 builds. The latter does not work yet as we need to untangle more subsystems from HDB/Heimdal-specific details but lays out a foundation for that. Signed-off-by: Simo Sorce <idra@samba.org>
* rely on sys/inotify.h for inotifyAdrian Bunk2012-04-131-8/+4
| | | | | | | | | sys/inotify.h was added to glibc 2.4 in 2006. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 13 21:15:00 CEST 2012 on sn-devel-104
* krb5_wrap: krb5_string_to_key / krb5_encrypt_block are deprecated.Simo Sorce2012-04-121-4/+5
| | | | | | Remove checks and replace with krb5_c_string_to_key(). Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-waf: remove requirement of having --enable-developer for running system ↵Günther Deschner2012-04-121-1/+1
| | | | | | | | | | | krb5 checks. When you know about "with_mit_krb5_checks" you are most likely a developer already. Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* Add a new module, aio_linux which implements Linux kernel aio support. Docs ↵Jeremy Allison2012-04-111-0/+26
| | | | | | | to follow. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 11 02:29:04 CEST 2012 on sn-devel-104
* On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into ↵Jeremy Allison2012-04-101-1/+0
| | | | | | | libreplace to make it standalone. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 10 04:07:11 CEST 2012 on sn-devel-104
* Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with ↵Jeremy Allison2012-04-091-2/+2
| | | | | | | platforms that don't have these. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 9 21:40:42 CEST 2012 on sn-devel-104
* Bug found by Herb. blkcnt_t st_ex_blksize is defined as a signed value. When ↵Jeremy Allison2012-04-061-0/+14
| | | | | | | | it is on a 32-bit system and defined as a long, then inside vfswrap_get_alloc_size() we cast to a uint64_t. This sign-extends when converting to unsigned, so if the high bit of st_ex_blksize is set we return insane values to clients.
* s3-build: Remove unused configure checks for xattr functionsAndrew Bartlett2012-04-051-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 5 07:13:29 CEST 2012 on sn-devel-104
* s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-2/+2
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett
* s3-build: Remove unused configure checks for xattr functionsAndrew Bartlett2012-04-051-1/+1
|
* s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-2/+2
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
* s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-1/+1
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
* s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-1/+1
|
* build: Remove configure tests for *64 functions and typesAndrew Bartlett2012-04-051-148/+28
| | | | | | We now use the standard types only. Andrew Bartlett
* build: Require 64-bit files support and do not define ↵Andrew Bartlett2012-04-051-10/+0
| | | | HAVE_EXPLICIT_LARGEFILE_SUPPORT
* build: Remove checks for krb5_decode_ap_req, free_AP_REQ and ↵Andrew Bartlett2012-04-031-20/+1
| | | | | | | | | KRB5_TICKET_HAS_KEYINFO Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 3 19:19:33 CEST 2012 on sn-devel-104
* build: Remove unused check for HAVE_KRB5_TKT_ENC_PART2Andrew Bartlett2012-04-031-2/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>