summaryrefslogtreecommitdiff
path: root/source3/wscript
AgeCommit message (Collapse)AuthorFilesLines
2011-04-28s3-libads: Use ldap_init_fd() to connect to AD server in socket_wrapperAndrew Bartlett1-2/+2
This means that we control the connection setup, don't rely on signals for timeouts and the connection uses socket_wrapper where that is required in our test environment. According to bug reports, this method is also used by curl and other tools, so we are not the first to (ab)use the OpenLDAP libs in this way. It is ONLY enabled for socket_wrapper at this time, as this is the best way to get 'make test' working for S3 winbind tests in an S4 domain. Andrew Bartlett
2011-04-27s3-waf: add pthreadpool support.Günther Deschner1-0/+7
Volker, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 27 17:57:32 CEST 2011 on sn-devel-104
2011-04-27s3-waf: check for pthread support.Günther Deschner1-0/+31
Guenther
2011-04-27s3-waf Don't enable profiling by defaultAndrew Bartlett1-1/+1
This is disabled by default in the s3-autoconf build. Andrew Bartlett
2011-04-27auth/kerberos Add check for gss_inquire_sec_context_by_oidAndrew Bartlett1-1/+1
Not all kerberos distributions have this function. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 27 07:39:08 CEST 2011 on sn-devel-104
2011-04-27s3-gse: Don't release the mech OID from gss_accept_security_contextAndrew Bartlett1-1/+1
This is constant data according to the man pages I find for this fucntion, and causes a segfault to free() when linked to Heimdal. I am advised that while it is constant for gss_mech_krb5, it may not be for other mechanisms, so an assert will ensure this is dealt with by the programmer who extends this code in future. Andrew Bartlett
2011-04-27auth/kerberos: Create common helper to get the verified PAC from GSSAPIAndrew Bartlett1-1/+1
This only works for Heimdal and MIT Krb5 1.8, other versions will get an ACCESS_DEINED error. We no longer manually verify any details of the PAC in Samba for GSSAPI logins, as we never had the information to do it properly, and it is better to have the GSSAPI library handle it. Andrew Bartlett
2011-04-23Revert "s3-vfs: another attempt to fix the Tru64 build."Stefan Metzmacher1-2/+0
This reverts commit 52909271879d909533a86c3a448839debb6497c6. A better fix will follow. metze
2011-04-22s3-vfs: another attempt to fix the Tru64 build.Günther Deschner1-0/+2
vfsops struct on Tru64 has a vfs_init function pointer. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 22 01:49:59 CEST 2011 on sn-devel-104
2011-04-22s3-waf: try to fix the build on sunos5.Günther Deschner1-0/+2
Guenther
2011-04-22s3-waf: fix typo in comment.Günther Deschner1-1/+1
Guenther
2011-04-20s3-gse: Allow the GSSAPI wrapper to load a keytab using gss_krb5_import_cred()Andrew Bartlett1-1/+1
This Heimdal function does not set the global state, and allows the GSSAPI server to progress further when compiled against Heimdal (such as in the top level build). The ability to specify a keytab has been removed from the API as it is unused, and and the Heimdal function (avoiding setting global variables) works with an open keytab. Andrew Bartlett
2011-04-18s3 waf: Mimic the autoconf check for netgrentKai Blin1-3/+7
The autoconf check for netgrent headers makes sure that the compiler flag used (-Werror-implicit-function-declaration) is recognized by the compiler before using it for the test. Mimic this behaviour in the waf checks. Thanks to gd for noticing this. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Apr 18 16:24:15 CEST 2011 on sn-devel-104
2011-04-14libcli/auth Move krb5 wrapper functions from s3 into commonAndrew Bartlett1-77/+1
This requires a small rework of the build system to ensure that the correct #define statements are made in both the s3 and top level builds. We now define the various HAVE_ macros in config.h at all times, using heimdal_build/wscript_configure when that is in use. Andrew Bartlett
2011-04-14s3-waf: add --with-profiling-data configure option.Günther Deschner1-0/+5
Guenther
2011-04-05s3-waf: fix typo in ctdb checks.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Apr 5 17:20:19 CEST 2011 on sn-devel-104
2011-04-02s3:waf: add cluster support / ctdb checks.Michael Adam1-0/+196
The checks are roughtly taken from the autoconf ctdb checks. I was not able to implement checks with CHECK_DECL, CHECK_TYPE, CHECK_HEADER and friends, because the ctdb headers seem to need too special a setup of includes and defines in order to compile. So I used CHECK_CODE() in all checks. In the long run, this should be changed. I supported a --with-ctdb-dir options to allow for building against a ctdb that is not installed into /usr (e.g. against a local git checkout). In order to implement this, I had to hand includes in to the CHECK_CODE function. Here I found a problem with CHECK_CODE (or even the core waf conf.check() function: The CHECK_CODE function does not expand the includes it gets (i.e. '#' is not expanded to the base dir, and relative paths are left relative). But the core check() function seems to ignore all include paths that are not absolute paths. Hence in particular the usual default '# .' for the includes is useless. So I preprocessed the list of includes for the cluster checks. But I assume that it would be useful to move this expansion into CHECK_CODE or even into the core waf check function. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Apr 2 03:26:55 CEST 2011 on sn-devel-104
2011-03-19s3: use getgrset() when it is availableChristian Ambach1-1/+1
When getgrouplist() is not defined, use getgrset() if it is defined instead of using the initgroups() + getgroups() combo Major contributions from Yannick Bergeron <yaberger@ca.ibm.com> Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Mar 19 10:09:38 CET 2011 on sn-devel-104
2011-03-19s3-waf: use HAVE_ADS env to decide whether to build libads.soGünther Deschner1-0/+2
Guenther
2011-03-17s3-waf: add --with-pam_smbpass configure option.Günther Deschner1-0/+1
We build pam_smbpass independent from this configure option though. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 17 14:52:33 CET 2011 on sn-devel-104
2011-03-17s3-waf: move HAVE_LDAP_SASL_WRAPPING define to the HAVE_LDAP block.Günther Deschner1-5/+5
Guenther
2011-03-15s3-build: try to silence annoying "Ignoring invalid value 'vlp' for ↵Günther Deschner1-3/+3
parameter 'printing'" warning on the buildfarm. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Mar 15 23:38:43 CET 2011 on sn-devel-104
2011-03-10s3-waf: fix typo.Günther Deschner1-1/+1
Guenther
2011-03-04s3-waf: add wildcard commands from main wscript.Günther Deschner1-1/+11
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Mar 4 02:11:11 CET 2011 on sn-devel-104
2011-03-04s3-waf: add check for SEEKDIR_RETURNS_VOID.Günther Deschner1-0/+5
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Mar 4 01:13:54 CET 2011 on sn-devel-104
2011-03-04s3-waf: add check for HAVE_FUNCTION_ATTRIBUTE_DESTRUCTOR.Günther Deschner1-0/+6
Guenther
2011-03-04libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner1-2/+0
already used). Bjoern, Metze, please check. Guenther
2011-02-23s3-waf: start adding checks for quota support.Günther Deschner1-0/+8
Guenther
2011-02-22s3-waf: add check for getspnam().Günther Deschner1-0/+5
Guenther
2011-02-22s3-waf: add check for TDB_ERR_NESTING.Günther Deschner1-0/+5
Guenther
2011-02-22s3-waf: add check for sendfile on AIX.Günther Deschner1-0/+23
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 22 22:36:53 CET 2011 on sn-devel-104
2011-02-22s3-waf: add check for sendfile on solaris.Günther Deschner1-0/+50
Guenther
2011-02-22s3-waf: add check for sendfile on hpux.Günther Deschner1-0/+37
Guenther
2011-02-22s3-waf: add check for sendfile on freebsd.Günther Deschner1-0/+24
Guenther
2011-02-22s3-waf: add check for sendfile on linux.Günther Deschner1-0/+45
Guenther
2011-02-22s3-waf: make sure ENABLE_BUILD_FARM_HACKS is enabled when run on the buildfarm.Günther Deschner1-0/+3
Guenther
2011-02-22s3-waf: add check for ftruncate extend.Günther Deschner1-0/+6
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 22 13:35:48 CET 2011 on sn-devel-104
2011-02-22s3-waf: add check for realpath() NULL arg.Günther Deschner1-0/+21
Guenther
2011-02-22s3-waf: add check for makedev().Günther Deschner1-0/+11
Guenther
2011-02-22s3-waf: add check for TIME_T_MAX.Günther Deschner1-0/+25
Guenther
2011-02-22s3-waf: add check for /proc/sys/kernel/core_pattern.Günther Deschner1-0/+3
Guenther
2011-02-22s3-waf: work around broken cups-config --libs outputAndrew Tridgell1-2/+5
"cups-config --libs" returns -lgssapi_krb5, which ties it to the system krb5 library. It should get this via the indirect dependency of libcups.so instead. Work around this by using 'cups' as the library and avoid using --libs in the cups-config command Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: added support for in-tree heimdal in source3 waf buildAndrew Tridgell1-3/+80
this sets up the right defines for a in-tree heimdal build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: use Logs.warn() not print for configure warningsAndrew Tridgell1-15/+15
this highlights the warning for the user Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: make pieces of the source3 waf wscript depends on toplevel_buildAndrew Tridgell1-37/+40
this will allow the toplevel build to use source3/wscript for configure options Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18s3-waf: we need to globally -Ilib/replaceGünther Deschner1-1/+1
Guenther
2011-02-18s3-waf: fix popt support.Günther Deschner1-0/+2
Guenther
2011-02-18s3-libads Remove MIT-specific krb5_princ_realm macro calls.Andrew Bartlett1-0/+11
When compiled against heimdal, we need to use a more elegant API. Andrew Bartlett
2011-02-18s3-waf: fixed the include paths for samba public librariesAndrew Tridgell1-4/+8
this fixes the extra global includes for the s3 waf build to be conditional on whether talloc, tevent and tdb are system libraries or not. This fixes a problem where in-tree includes could be used with system libraries Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-17s3-waf: add check for "struct sigevent" and some of its members.Günther Deschner1-0/+11
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 17 12:01:58 CET 2011 on sn-devel-104