1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

523 Commits

Author SHA1 Message Date
Andrew Bartlett
a7835f4736 s3-libsmb: Remove unused smb_krb5_mk_error()
Also remove now-unused configure checks for krb5_mk_error().

Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html

Andrew Bartlett
2012-02-10 16:45:13 +11:00
Andreas Schneider
2464a7b0dd s3-libsmb: Remove obsolete smb_krb5_locate_kdc.
Signed-off-by: Günther Deschner <gd@samba.org>

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb  9 14:58:57 CET 2012 on sn-devel-104
2012-02-09 14:58:57 +01:00
Jelmer Vernooij
51e162df8b source3/wscript: Expand tabs, to prevent confusion (whitespace is significant in python/waf). 2012-02-01 01:07:11 +01:00
Stefan Metzmacher
c74a522db1 s3:build: require gss_krb5_export_lucid_sec_context() for ads support
This is needed to detect krb5 with aes for GENSEC_FEATURE_NEW_SPNEGO
at runtime.

metze
2012-01-25 08:44:33 +01:00
Stefan Metzmacher
ab5cdb31e9 Revert "s3:build: for now do not require gsskrb5_extract_authz_data_from_sec_context"
This reverts commit 74abe369df.

Having gsskrb5_extract_authz_data_from_sec_context as symbol in the
library is in indicator that gss_inquire_sec_context_by_oid() would work.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jan 25 05:26:14 CET 2012 on sn-devel-104
2012-01-25 05:26:13 +01:00
Stefan Metzmacher
74abe369df s3:build: for now do not require gsskrb5_extract_authz_data_from_sec_context
We do not use it yet.

metze
2012-01-20 18:44:10 +01:00
Günther Deschner
1bbcc65399 s3-waf: check for KRB5_PDU_NONE as in the autoconf build.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jan 13 11:15:35 CET 2012 on sn-devel-104
2012-01-13 11:15:35 +01:00
Günther Deschner
31d9b24eef s3-waf: also check for gsskrb5_extract_authz_data_from_sec_context() during
configure.

Guenther
2012-01-13 09:29:07 +01:00
Andrew Bartlett
7fb82a5a24 krb5: Require gss_get_name_attribute or Heimdal's PAC parsing to build with krb5
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Jan 10 23:23:07 CET 2012 on sn-devel-104
2012-01-10 23:23:07 +01:00
Andrew Bartlett
19deda26d0 krb5: Require krb5_string_to_key be available to build with krb5 2012-01-10 21:50:07 +01:00
Andrew Bartlett
cfe68f2d5f krb5: Require krb5_set_real_time is available to build with krb5 2012-01-10 21:50:07 +01:00
Andrew Bartlett
0c6af1e2da krb5: Require krb5_principal_compare_any_realm be available to build with krb5 2012-01-10 21:50:07 +01:00
Andrew Bartlett
39d73e2420 krb5: Require krb5_get_renewed_creds be available to build with krb5 2012-01-10 21:50:07 +01:00
Andrew Bartlett
39b476d1c9 krb5: Require krb5_get_init_creds_opt_alloc/free for build with krb5
This also assumes the modern API with a krb5_context argument.

Andrew Bartlett
2012-01-10 21:50:07 +01:00
Andrew Bartlett
fc7b34c83a krb5: Require krb5_fwd_tgt_creds to be available to build with krb5 2012-01-10 21:50:07 +01:00
Andrew Bartlett
016fc0af0c krb5: Require krb5_get_host_realm and krb5_free_host_realm be available to build with krb5 2012-01-10 21:50:07 +01:00
Andrew Bartlett
6b2e742d6c krb5: Require krb5_c_verify_checksum is available to build with krb5 2012-01-10 21:50:07 +01:00
Andrew Bartlett
17e61e4290 krb5: Require krb5_c_enctype_compare is available to build with krb5 2012-01-10 21:50:07 +01:00
Günther Deschner
0f7918425a samba: check for AES encryption type defines.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Jan 10 15:05:38 CET 2012 on sn-devel-104
2012-01-10 15:05:37 +01:00
Jeremy Allison
e8a7d9c822 Add a sys_get_number_of_cores() function that calls sysconf or sysctl
and tunes the aio threads.
2012-01-06 02:42:25 +01:00
Jeremy Allison
3a18a42d13 Add S3 vfs_aio_pthread module to replace broken glibc aio code.
Compiles but not yet tested.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Jan  5 01:43:51 CET 2012 on sn-devel-104
2012-01-05 01:43:51 +01:00
Jelmer Vernooij
05bc4de083 Revert making public of the samba-module library.
This library was tiny - containing just two public functions than were
themselves trivial. The amount of overhead this causes isn't really worth the
benefits of sharing the code with other projects like OpenChange. In addition, this code
isn't really generically useful anyway, as it can only load from the module path
set for Samba at configure time.

Adding a new library was breaking the API/ABI anyway, so OpenChange had to be
updated to cope with the new situation one way or another. I've added a simpler
(compatible) routine for loading modules to OpenChange, which is less than 100 lines of code.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec  3 08:36:33 CET 2011 on sn-devel-104
2011-12-03 08:36:30 +01:00
Günther Deschner
9c4d49863a s3-waf: fix the build with CTDB_CONTROL_CHECK_SRVIDS.
Volker, Michael, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Nov 30 18:37:29 CET 2011 on sn-devel-104
2011-11-30 18:37:29 +01:00
Andrew Bartlett
184e8e5218 build: TDB_ERR_NESTING is used unconditionally
Therefore, do not bother doing an autoconf test looking for it.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Nov 30 00:08:18 CET 2011 on sn-devel-104
2011-11-30 00:08:16 +01:00
Björn Baumbach
b9e6c48678 s3-wafbuild: Fix inotify detection (bug 8580)
Enable inotify if sys or kernel inotify is available.

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Nov  7 16:28:38 CET 2011 on sn-devel-104
2011-11-07 16:28:37 +01:00
Andrew Bartlett
b256799eaf lib/util Rename samba_init_module -> samba_module_init
This is to provide a cleaner namespace in the public samba plugin
functions.

Andrew Bartlett
2011-10-28 13:10:28 +02:00
Günther Deschner
b96a9e1c5b s3-waf: make sure we always build example pdb modules with --enable-developer.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Oct 17 17:39:36 CEST 2011 on sn-devel-104
2011-10-17 17:39:36 +02:00
Günther Deschner
235f78aa95 s3-waf: make sure we always build example auth modules with --enable-developer.
Guenther
2011-10-17 15:54:17 +02:00
Brad Smith
d810ada39c Fix sys_fseek wrapper
Signed-off-by: Günther Deschner <gd@samba.org>
2011-10-14 17:52:36 +02:00
Kai Blin
002694c38d s3 waf: Use upper case uselib_store parameter, otherwise the following checks won't find it
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Wed Oct 12 09:49:50 CEST 2011 on sn-devel-104
2011-10-12 09:49:50 +02:00
Günther Deschner
49eba95b2b s3-waf: make sure we build example vfs modules with --enable-developer.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct 11 21:22:55 CEST 2011 on sn-devel-104
2011-10-11 21:22:55 +02:00
Günther Deschner
d6cb58e18d s3-waf: fix configure check for HAVE_LINUX_READAHEAD.
Guenther
2011-10-11 19:50:31 +02:00
Günther Deschner
3522f9dc4b s3-waf: fix configure check for HAVE_LINUX_FALLOCATE64.
Guenther
2011-10-11 19:50:31 +02:00
Günther Deschner
245c8c1c02 s3-waf: fix configure check for HAVE_LINUX_FALLOCATE.
Guenther
2011-10-11 19:50:31 +02:00
Günther Deschner
028cf00293 s3-waf: fix configure check for HAVE_POSIX_FADVISE.
Guenther
2011-10-11 19:50:31 +02:00
Stefan Metzmacher
29dbda56b5 s3:modules: add vfs_dfs_samba4
This module overloads the SMB_VFS_GET_DFS_REFERRAL() hooks,
in order to support the domain, dc and sysvol referrals
for a AD DC.

The config would look like this:

[IPC$]
    vfs objects = dfs_samba4

metze
2011-10-08 01:43:38 +02:00
Andrew Bartlett
64d0230332 build: Remove obsolete --enable/disable-merged-build
All waf builds build everything now.

Andrew Bartlett
2011-10-07 17:45:20 +11:00
Andrew Bartlett
055f017b36 build: Reduce build systems to just top level waf and autoconf
The s3-waf build system is a key component of the top level build, but
with this commit is is no longer available directly.  This reduces the
number of build system combinations in master as we prepare for the
Samba 4.0 release.

Andrew Bartlett
2011-10-07 17:42:03 +11:00
Volker Lendecke
1184e7de59 s3: Use the uid_wrapper
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-10-06 12:15:27 +02:00
Andrew Bartlett
355b5e3a83 modules: standardise on samba_init_module as the hook symbol to resolve 2011-10-06 07:18:07 +02:00
Andrew Bartlett
8316577b75 lib/util/charcnv: Remove broken internal CP850 and CP464 modules
These modules are now known to be faulty, and Samba 3.6.0 didn't
include support for them, so we now require a system iconv if you wish
to support these character sets for the non-ASCII range.

Andrew Bartlett
2011-09-20 04:53:05 +02:00
Günther Deschner
3a07fe5b36 s3-waf: finally make SO_PEERCRED configure check work with stricter CFLAGS.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Sep 16 14:14:48 CEST 2011 on sn-devel-104
2011-09-16 14:14:48 +02:00
Günther Deschner
f98ad9e9ed s3-waf: fix SO_PEERCRED configure check.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Sep 15 20:59:26 CEST 2011 on sn-devel-104
2011-09-15 20:59:26 +02:00
Andrew Bartlett
fc6bb5d47a lib/util/charset: add back loading of charset modules
For autoconf builds these remain as modules, for waf builds they are
built into the charset library.

This is required to provide the CP850 charset when iconv is not available.

The charset modules static for the waf builds because with proper
shared libs, there isn't the same need for these to be in seperate .so
files.  The modules are also not produced if a system iconv is found,
except for developers, to allow testing of both code paths.

Andrew Bartlett
2011-09-10 14:18:06 +02:00
Andrew Bartlett
07840b665f s3-waf: Fix build on FreeBSD when sunacl.h is found
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Aug  8 04:34:35 CEST 2011 on sn-devel-104
2011-08-08 04:34:35 +02:00
Christian Ambach
fb766cd597 s3-waf: fix a libcrypto configure check
the parameters to conf.CHECK_FUNCS_IN were in the wrong order

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Thu Jul 21 16:49:52 CEST 2011 on sn-devel-104
2011-07-21 16:49:51 +02:00
Günther Deschner
56db9c9f27 s3-waf: remove s3-waf specific dynconfig.
This merge finally makes --with-logfilebase=foo and friends work appropriately.

Andrews, Andreas, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Jun 28 17:54:42 CEST 2011 on sn-devel-104
2011-06-28 17:54:41 +02:00
Andrew Bartlett
4d2c56c4b1 s3-net: Bind our gettext results to 'unix charset'
This ensures that the translations and any embedded strings are in the
same charset.  It won't be the one from the user's locale (we no
longer auto-detect that), but it will be self-consistent.

Thanks to Steve Langasek for pointing this function out!

Andrew Bartlett
2011-06-23 13:47:27 +02:00
Andrew Bartlett
de0e011944 lib/util/charset: Remove autodetection of charset from LOCALE
In the past, our LOCALE would set the display charset of Samba.  The
display charset has now been removed.  This patch removes the support
code that detected the locale from the environment.  We cannot safely
have 'unix charset' follow the locale (at it creates files on disk and
entries in databases that must not vary), so this code is unused.

As an example, imagine a database is manipulated in the
administrator's locale, and then read by smbd starting up in the
system default locale.  Or smbd restarted by the administrator rather
than a startup script.  Both of these situations could corrupt
databases or filenames on disk.

Andrew Bartlett
2011-06-23 13:47:27 +02:00
Rusty Russell
0e4c358e27 tdb_compat.h: divert every tdb build and includes to tdb_compat
We change all the headers and wscript files to use tdb_compat; this
means we have one place to decide whether to use TDB1 or TDB2.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20 11:18:34 +02:00
Rusty Russell
754c677b0b lib: import ccan modules for tdb2
Imported from git://git.ozlabs.org/~ccan/ccan init-1161-g661d41f

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20 11:18:34 +02:00
Jeremy Allison
5abab13851 Add check for the getcwd function being able to take NULL,0 arguments. 2011-06-01 02:54:51 +02:00
Andrew Bartlett
a47c7f6b4c s3-passdb: added pdb_samba4
This uses direct LDB operations and calls to the dsdb library to allow
passdb operations (such as pdbedit and smbpasswd) offline, and uses
transactions internally for database consistency.

Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-05-08 19:00:28 +02:00
Andrew Bartlett
d1df1cb714 build: Allow the C code to know if this is a waf build
This allows addition of functionality that can't be handled (for
example, due to dependencies) in the autoconf build.

Andrew Bartlett
2011-05-08 17:36:25 +02:00
Gordon Ross
ac25835ab7 Fix Samba3 on OpenIndiana.
I'd like Samba to use the native OpenLDAP and MIT Kerberos libs.
Attached are some patches to do that. (relative to git master)
It does not build for me without these.

(OpenIndiana is an off-shoot of OpenSolaris  See http://www.openindiana.org)

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat May  7 02:20:14 CEST 2011 on sn-devel-104
2011-05-07 02:20:14 +02:00
Günther Deschner
0d1b2d2033 s3-waf: add vfs_gpfs_hsm_notify to the build.
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
2011-05-04 19:03:45 +02:00
Andrew Bartlett
e1eae82285 kerberos: Only include gssapi/gssapi_krb5.h when available 2011-04-30 04:58:04 +02:00
Andrew Bartlett
a427652010 s3-libads: Use ldap_init_fd() to connect to AD server in socket_wrapper
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-28 05:30:21 +02:00
Günther Deschner
66b26195d2 s3-waf: add pthreadpool support.
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-27 17:57:32 +02:00
Günther Deschner
cad8fafa03 s3-waf: check for pthread support.
Guenther
2011-04-27 16:51:02 +02:00
Andrew Bartlett
a60889e006 s3-waf Don't enable profiling by default
This is disabled by default in the s3-autoconf build.

Andrew Bartlett
2011-04-27 21:10:30 +10:00
Andrew Bartlett
47e2870228 auth/kerberos Add check for gss_inquire_sec_context_by_oid
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-27 07:39:08 +02:00
Andrew Bartlett
cd7112ba84 s3-gse: Don't release the mech OID from gss_accept_security_context
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-27 11:56:48 +10:00
Andrew Bartlett
6ec4306f8c auth/kerberos: Create common helper to get the verified PAC from GSSAPI
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-27 11:56:48 +10:00
Stefan Metzmacher
1cf715ed21 Revert "s3-vfs: another attempt to fix the Tru64 build."
This reverts commit 5290927187.

A better fix will follow.

metze
2011-04-23 11:17:47 +02:00
Günther Deschner
5290927187 s3-vfs: another attempt to fix the Tru64 build.
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-22 01:49:59 +02:00
Günther Deschner
0e00351570 s3-waf: try to fix the build on sunos5.
Guenther
2011-04-22 00:49:54 +02:00
Günther Deschner
a505806aa0 s3-waf: fix typo in comment.
Guenther
2011-04-22 00:49:28 +02:00
Andrew Bartlett
3a2afe4285 s3-gse: Allow the GSSAPI wrapper to load a keytab using gss_krb5_import_cred()
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-20 04:31:07 +02:00
Kai Blin
c2a62e8546 s3 waf: Mimic the autoconf check for netgrent
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-18 16:24:15 +02:00
Andrew Bartlett
4ba1375526 libcli/auth Move krb5 wrapper functions from s3 into common
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-14 16:38:26 +10:00
Günther Deschner
1b4d27d45a s3-waf: add --with-profiling-data configure option.
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
a7ba4b5baa s3-waf: fix typo in ctdb checks.
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-05 17:20:19 +02:00
Michael Adam
d143bc444c s3:waf: add cluster support / ctdb checks.
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-04-02 03:26:55 +02:00
Christian Ambach
ed46dfc4f1 s3: use getgrset() when it is available
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-19 10:09:38 +01:00
Günther Deschner
33b8d0a6ff s3-waf: use HAVE_ADS env to decide whether to build libads.so
Guenther
2011-03-19 00:11:18 +01:00
Günther Deschner
1413af95fc s3-waf: add --with-pam_smbpass configure option.
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-17 14:52:33 +01:00
Günther Deschner
7bc381bdc5 s3-waf: move HAVE_LDAP_SASL_WRAPPING define to the HAVE_LDAP block.
Guenther
2011-03-17 14:05:48 +01:00
Günther Deschner
5e3da3fc50 s3-build: try to silence annoying "Ignoring invalid value 'vlp' for 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-15 23:38:43 +01:00
Günther Deschner
88ff230ae9 s3-waf: fix typo.
Guenther
2011-03-10 23:25:04 +01:00
Günther Deschner
e63f0dfba1 s3-waf: add wildcard commands from main wscript.
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-04 02:11:10 +01:00
Günther Deschner
6b3d68fffd s3-waf: add check for SEEKDIR_RETURNS_VOID.
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-04 01:13:54 +01:00
Günther Deschner
0fb246ba73 s3-waf: add check for HAVE_FUNCTION_ATTRIBUTE_DESTRUCTOR.
Guenther
2011-03-04 00:28:28 +01:00
Günther Deschner
9167d70e77 libreplace: move "struct timespec" checks into libreplace (where timespec is already used).
Bjoern, Metze, please check.

Guenther
2011-03-04 00:28:27 +01:00
Günther Deschner
6b587d74d9 s3-waf: start adding checks for quota support.
Guenther
2011-02-23 22:33:52 +01:00
Günther Deschner
8bca9df258 s3-waf: add check for getspnam().
Guenther
2011-02-22 22:57:55 +01:00
Günther Deschner
b1e5dc716e s3-waf: add check for TDB_ERR_NESTING.
Guenther
2011-02-22 22:57:55 +01:00
Günther Deschner
7f0ef4fb4a s3-waf: add check for sendfile on AIX.
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-22 22:36:53 +01:00
Günther Deschner
2b53e7eec7 s3-waf: add check for sendfile on solaris.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
6c32fe5207 s3-waf: add check for sendfile on hpux.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
2babc4fcf4 s3-waf: add check for sendfile on freebsd.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
d71c024131 s3-waf: add check for sendfile on linux.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
ef896e647a s3-waf: make sure ENABLE_BUILD_FARM_HACKS is enabled when run on the buildfarm.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
79b41dcae1 s3-waf: add check for ftruncate extend.
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-22 13:35:48 +01:00
Günther Deschner
4fe3ecefa0 s3-waf: add check for realpath() NULL arg.
Guenther
2011-02-22 12:46:06 +01:00
Günther Deschner
33d676cd7e s3-waf: add check for makedev().
Guenther
2011-02-22 12:46:06 +01:00
Günther Deschner
bd333551bd s3-waf: add check for TIME_T_MAX.
Guenther
2011-02-22 12:46:06 +01:00
Günther Deschner
2984003275 s3-waf: add check for /proc/sys/kernel/core_pattern.
Guenther
2011-02-22 12:46:06 +01:00
Andrew Tridgell
15c0440349 s3-waf: work around broken cups-config --libs output
"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-22 02:51:09 +01:00
Andrew Tridgell
de71662908 s3-waf: added support for in-tree heimdal in source3 waf build
this sets up the right defines for a in-tree heimdal build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
0234ac4e3c s3-waf: use Logs.warn() not print for configure warnings
this highlights the warning for the user

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
76e3af95c3 s3-waf: make pieces of the source3 waf wscript depends on toplevel_build
this will allow the toplevel build to use source3/wscript for
configure options

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Günther Deschner
3c9703f485 s3-waf: we need to globally -Ilib/replace
Guenther
2011-02-18 15:39:28 +01:00
Günther Deschner
a2f4a17b5e s3-waf: fix popt support.
Guenther
2011-02-18 15:34:27 +01:00
Andrew Bartlett
0bad0e3ff2 s3-libads Remove MIT-specific krb5_princ_realm macro calls.
When compiled against heimdal, we need to use a more elegant API.

Andrew Bartlett
2011-02-18 17:00:34 +11:00
Andrew Tridgell
88508291fe s3-waf: fixed the include paths for samba public libraries
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-18 15:09:47 +11:00
Günther Deschner
2045cd7ed7 s3-waf: add check for "struct sigevent" and some of its members.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 17 12:01:58 CET 2011 on sn-devel-104
2011-02-17 12:01:58 +01:00
Günther Deschner
ce718bb521 s3-waf: add check for "struct utimbuf".
Guenther
2011-02-17 11:16:06 +01:00
Andrew Tridgell
e1f2442096 s3-waf: move the KRB5_DEPRECATED configure check out of lib/replace
this needs to be in souce3/, as otherwise it can't handle an in-tree
kerberos library

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-17 00:55:56 +01:00
Günther Deschner
9e822f1032 s3-waf: add check for struct stat st_flags member.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 23:04:35 CET 2011 on sn-devel-104
2011-02-16 23:04:35 +01:00
Günther Deschner
afb77d135e s3-waf: add some missing checks for macosx.
Guenther
2011-02-16 21:59:15 +01:00
Günther Deschner
5d3f956925 s3-waf: add check for __NR_inotify_init declaration.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 19:28:18 CET 2011 on sn-devel-104
2011-02-16 19:28:18 +01:00
Günther Deschner
a029235b3e s3-waf: add check for various sysconf() variables.
Guenther
2011-02-16 18:39:41 +01:00
Günther Deschner
9d78512b2b s3-waf: add check for posix_fadvise().
Guenther
2011-02-16 18:39:40 +01:00
Günther Deschner
1cc0fb5a9a s3-waf: add check for hires timestamps in struct stat.
Guenther
2011-02-16 18:39:38 +01:00
Günther Deschner
3b3f13a7fb s3-waf: add check for "struct flock64".
Guenther
2011-02-16 18:39:35 +01:00
Günther Deschner
8701b0d645 s3-waf: add check for broken (glibc2.1/x86) 64 bit fcntl locking.
Guenther
2011-02-16 18:39:32 +01:00
Günther Deschner
4e32fd9d5c s3-waf: add check for fcntl locking.
Guenther
2011-02-16 18:39:28 +01:00
Günther Deschner
b3f76482d2 s3-waf: add check for "struct dirent64".
Guenther
2011-02-16 18:01:23 +01:00
Günther Deschner
6531ac6a65 s3-waf: next attempt to fix cups and non-cups builds.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 16:57:40 CET 2011 on sn-devel-104
2011-02-11 16:57:40 +01:00
Günther Deschner
414f39872d s3-waf: try to deal with underlinked cups libraries.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 15:28:32 CET 2011 on sn-devel-104
2011-02-11 15:28:32 +01:00
Günther Deschner
1bad50f648 s3-waf: rework the way SMBLDAP subsystem is built a little.
Guenther
2011-02-11 12:22:41 +01:00
Günther Deschner
44f2344a92 s3-waf: try to deal with system w/o ldap; also move module processing to the end of wscript.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 02:30:40 CET 2011 on sn-devel-104
2011-02-11 02:30:40 +01:00
Günther Deschner
6bc6d5dcfb s3-waf: try to fix the {net|free|open}bsd build.
Guenther
2011-02-10 23:46:45 +01:00
Günther Deschner
80d87e68de s3-waf: dont try to redefine 'pam', we checked above...
Found by solaris waf buildfarm build.

Guenther
2011-02-10 23:39:14 +01:00
Günther Deschner
1fc14a6543 s3-waf: do not make pam support mandatory.
Guenther
2011-02-10 21:24:34 +01:00
Günther Deschner
4de3e733da s3-waf: fix cups checks when lib is there but headers aren't.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 21:24:37 CET 2011 on sn-devel-104
2011-02-10 21:24:37 +01:00
Günther Deschner
5ecda05967 s3-waf: better checks for gssapi support.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 19:24:12 CET 2011 on sn-devel-104
2011-02-10 19:24:12 +01:00
Günther Deschner
7de21e6294 s3-waf: fix krb5 checks logic.
Guenther
2011-02-10 12:58:06 +01:00
Günther Deschner
d0406ab7f0 s3-waf: make ads support detection a little more robust.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  9 23:38:50 CET 2011 on sn-devel-104
2011-02-09 23:38:50 +01:00
Günther Deschner
9239db35e6 s3-waf: make sure we dont activate dnsupdate support w/o gssapi.
Guenther
2011-02-09 22:51:08 +01:00
Günther Deschner
a0e576178b s3-waf: we check for attr in ../lib/util/script already, so we cannot set to EMPTY here.
Hopefully fixes the irix build.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  9 18:58:15 CET 2011 on sn-devel-104
2011-02-09 18:58:15 +01:00
Günther Deschner
ada4c66ea3 s3-waf: as long as we dont have --with-featureX=yes|no|auto handling, avoid exiting.
Guenther
2011-02-09 18:14:19 +01:00
Günther Deschner
9081cb0fd8 s3-waf: check k5crypto in some more locations.
Guenther
2011-02-09 18:14:19 +01:00
Günther Deschner
62cd1e08b3 s3-waf: support non-default krb5-config and cups-config locations.
Guenther
2011-02-09 18:14:19 +01:00
Jeremy Allison
ad3d1adea3 Add configure checks for fdopendir. 2011-02-08 15:06:00 -08:00
Günther Deschner
4b7d0492bb s3-waf: add --with-automount option.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb  7 14:11:03 CET 2011 on sn-devel-104
2011-02-07 14:11:03 +01:00
Günther Deschner
13d8290d0d s3-waf: fix wrong check for vfs_aio_fork dependencies.
Guenther
2011-02-07 13:21:50 +01:00
Günther Deschner
bcdacff168 s3-waf: add support for --with-aio-support.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb  7 12:30:57 CET 2011 on sn-devel-104
2011-02-07 12:30:57 +01:00
Günther Deschner
3a60e5496f s3-waf: only build auth_netlogond in developer build.
Volker, please check.

Guenther
2011-02-07 11:44:55 +01:00
Günther Deschner
81a3f7a520 s3-waf: add --with-syslog option.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb  7 10:50:39 CET 2011 on sn-devel-104
2011-02-07 10:50:39 +01:00
Günther Deschner
45f86fd681 s3-waf: recurse into ../lib/util/wscript_configure
This gets us all the statvfs checks.

Guenther
2011-02-07 10:01:58 +01:00
Günther Deschner
72910c34df s3-waf: add support for iprint.
Guenther
2011-02-07 10:01:50 +01:00
Günther Deschner
fbbe321d19 s3-waf: fix the build after linux netlink changes.
Volker, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  1 23:21:50 CET 2011 on sn-devel-104
2011-02-01 23:21:50 +01:00
Günther Deschner
35a7bebe2b s3-waf: On FreeBSD, compile zfsacl if sunacl.h is around.
Volker, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Jan 31 10:51:10 CET 2011 on sn-devel-104
2011-01-31 10:51:10 +01:00
Günther Deschner
ef0a3903f0 s3-waf: fix lib/addns include path.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Jan 24 16:15:58 CET 2011 on sn-devel-104
2011-01-24 16:15:58 +01:00
Günther Deschner
c675b1c827 s3-waf: no need anymore to include "source4" globally.
Guenther
2011-01-24 15:28:21 +01:00
Günther Deschner
fa5fdb1a4e s3-waf: finally enable large file support.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Jan 12 11:59:22 CET 2011 on sn-devel-104
2011-01-12 11:59:22 +01:00
Günther Deschner
e2a3ff184e s3-waf: add check for SO_PEERCRED.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Jan 12 02:29:48 CET 2011 on sn-devel-104
2011-01-12 02:29:48 +01:00
Günther Deschner
4c8b9bee14 s3-waf: add checks for Linux readahead.
Guenther
2011-01-12 01:44:22 +01:00
Günther Deschner
4412eb9d00 s3-waf: more fallocate checks stolen from autoconf.
Guenther
2011-01-12 01:44:22 +01:00
Günther Deschner
b0f4f6f464 s3-waf: add checks for fallocate fallocate64.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Jan 12 00:56:57 CET 2011 on sn-devel-104
2011-01-12 00:56:56 +01:00
Andreas Schneider
d2e93cce88 s3-waf: Fixed the static rpc service build.
Autobuild-User: Andreas Schneider <asn@samba.org>
Autobuild-Date: Tue Jan  4 12:09:48 CET 2011 on sn-devel-104
2011-01-04 12:09:48 +01:00
Günther Deschner
a5cfdde558 s3-waf: try to fix the build with snow leopard.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Dec 13 15:03:08 CET 2010 on sn-devel-104
2010-12-13 15:03:08 +01:00
Günther Deschner
b4d398f8e3 s3-waf: add -Wl,--export-dynamic to LDFLAGS.
Our binaries did not export symbols so e.g. smbd could not load vfs modules.
Patch from tridge.

We might remove this later on, once we decide to resolve all symbols and fix all
dependencies in s3 modules.

Guenther
2010-12-13 10:53:42 +01:00
Andrew Tridgell
16c36a8cb5 s3-waf: fixed version number handling 2010-12-08 05:26:06 +01:00
Günther Deschner
94cfb49bb7 s3-waf: add configure/declaration checks for fdatasync, readahead and splice.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Dec  7 16:50:23 CET 2010 on sn-devel-104
2010-12-07 16:50:23 +01:00
Günther Deschner
c5b2fd05af s3-waf: add valgrind configure checks.
Guenther
2010-12-07 16:06:17 +01:00
Günther Deschner
af4a4f58b5 s3-waf: build vfs_fileid module if possible.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Dec  7 14:01:46 CET 2010 on sn-devel-104
2010-12-07 14:01:46 +01:00
Günther Deschner
6b1ba79fbf s3-waf: add support for --with-dnsupdate.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Dec  7 13:07:51 CET 2010 on sn-devel-104
2010-12-07 13:07:51 +01:00
Günther Deschner
b73e4e36f5 s3-waf: add pam configure checks.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Dec  6 17:34:45 CET 2010 on sn-devel-104
2010-12-06 17:34:45 +01:00
Günther Deschner
189b4bc1c2 s3-waf: add krb5 configure check for WRFILE_KEYTAB.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Dec  3 13:54:25 CET 2010 on sn-devel-104
2010-12-03 13:54:24 +01:00
Günther Deschner
704f138b8e s3-waf: add krb5 configure checks for enctype 23.
Guenther
2010-12-03 13:07:53 +01:00
Günther Deschner
5676acbb73 s3-waf: more krb5 configure checks.
Guenther
2010-12-03 13:07:45 +01:00
Günther Deschner
71e2d9e7e8 s3-waf: more krb5 configure checks.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec  1 19:35:50 CET 2010 on sn-devel-104
2010-12-01 19:35:50 +01:00
Günther Deschner
4c2ef4ffaa s3-waf: add configure check for dirfd and build vfs_syncops vfs_dirsort if possible.
Guenther
2010-12-01 18:50:53 +01:00
Günther Deschner
a699729447 s3-waf: add idmap_ldap to default static module list.
Guenther
2010-12-01 18:50:53 +01:00
Günther Deschner
651a15d252 s3-waf: align some krb5/gssapi configure checks with classic build.
Guenther
2010-12-01 18:50:53 +01:00
Günther Deschner
133a2ffd00 s3-waf: avoid module name uppercasing.
This finally allows mixed case module names like the classic build
(./configure --shared_modules=charset_CP850)

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec  1 18:39:14 CET 2010 on sn-devel-104
2010-12-01 18:39:14 +01:00
Andrew Tridgell
fe5c48cbed waf: added --git-local-changes configure option
if you use --git-local-changes then the version number that waf
extracts from git will have a '+' on the end if you have local
changes, as determined by running 'git diff'.

This used to be the default, but unfortunately it is far too slow on
some systems. On a NFS build system I was using the first line of
configure took about 2 minutes.

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Nov 16 01:51:54 UTC 2010 on sn-devel-104
2010-11-16 01:51:54 +00:00
Jelmer Vernooij
7b964c7269 samba_version: When working from git checkout, display git revision SHA1 rather
than Bazaar revision ids.
2010-11-12 17:42:13 +00:00
Günther Deschner
528edcc789 s3-waf: add idmap_autorid to the build.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Nov  8 14:17:27 UTC 2010 on sn-devel-104
2010-11-08 14:17:27 +00:00
Günther Deschner
8b71438490 s3-waf: add check for httpConnect and httpConnectEncrypt.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Nov  4 14:10:40 UTC 2010 on sn-devel-104
2010-11-04 14:10:40 +00:00
Günther Deschner
090fcb0114 s3-waf: add vfs_time_audit to the build.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Oct 28 15:14:27 UTC 2010 on sn-devel-104
2010-10-28 15:14:27 +00:00
Stefan Metzmacher
2b74cea5f0 s3-waf: use git to calculate the version if available
metze
2010-10-25 08:16:28 +00:00
Andrew Tridgell
ec98bb55c6 s3-waf: fixed waf configure for recent changes 2010-10-25 11:12:03 +11:00
Günther Deschner
0ff7e0c998 samba: share readline wrappers among all buildsystems.
Guenther
2010-10-01 22:30:22 +02:00
Günther Deschner
9dcd5e6c8f s3-waf: add basic make test infrastructure, not able to test yet.
Guenther
2010-09-29 08:54:00 +02:00
Andrew Tridgell
cd3eddbb59 waf: we don't need the preprocessor recursion limit any more
thanks to ita for this
2010-09-28 11:36:40 -07:00
Günther Deschner
2cf5c661c6 s3-waf: add vfs_linux_xfs_sgid to the list of default shared modules.
Guenther
2010-09-28 20:03:54 +02:00
Günther Deschner
5fcd0471e5 s3-waf: add pam_smbpass.
Guenther
2010-09-28 09:41:54 +02:00
Günther Deschner
7afa7b8a84 s3-waf: rework static and shared list handling a little.
Guenther
2010-09-27 00:39:38 +02:00
Günther Deschner
4584a12b6a s3-waf: add missing IDMAP modules.
Guenther
2010-09-27 00:39:38 +02:00
Günther Deschner
2839c8f0b2 s3-waf: support --with-acl-support, at least for posix acls.
Guenther
2010-09-27 00:39:37 +02:00
Günther Deschner
ca2bbe00dc s3-waf: add some module specific functions for s3 waf build.
Thanks to Kai.

Guenther
2010-09-27 00:39:37 +02:00
Günther Deschner
0a1d153b25 s3-waf: add check for seteuid method.
Thanks to Kai and Metze!

Guenther
2010-09-23 18:15:09 -07:00
Sumit Bose
6bcab329e7 s3-waf: build samldap passdb backend
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-27 12:14:14 +02:00
Günther Deschner
c43e832c51 s3-waf: fix the waf build with more recent MIT krb5 libs.
(such as MIT krb5 1.7.1 on fedora 13).

This whole area needs more work and love later, for now it builds at least.

Kai, please check.

Guenther
2010-08-11 12:47:57 +02:00
Andreas Schneider
5cefbfef26 s3-rpc_server: Added callbacks for init and shutdown of a rpc service.
This adds two callback function for each rpc service. One is for
initialisation and the other for shutdown. rpc_<service>_unregister()
needs to be called to execute the shutdown function.
2010-07-19 12:59:18 +02:00
Kai Blin
cfee179d03 s3: Attempt to fix the build on NetBSD
Unlike Linux and OSX, NetBSD seems to have *netgrent prototypes in netgroup.h.
2010-06-20 16:29:38 +02:00
Kai Blin
a453b87d68 s3-waf: Change the (set|get|end)netgrent checks to match the configure.in checks 2010-06-20 09:50:19 +02:00
Kai Blin
83ad437a9c s3-waf: Add check for iconv 2010-06-17 08:09:49 +02:00
Kai Blin
7a1c24705d s3-waf: Work around missing *netgrent prototypes on OSX 10.4 2010-06-17 08:09:49 +02:00
Kai Blin
a6c921fef7 s3-waf: Add check for dirent.d_off member 2010-06-01 15:11:15 +02:00
Kai Blin
458b2484c7 s3-waf: Check for device major and minor macros 2010-06-01 07:55:06 +02:00
Kai Blin
b497447e17 s3-waf: Add check for asm/types.h 2010-06-01 07:55:06 +02:00
Kai Blin
0fddbe472e s3-waf: Check if compiler supports LL suffix 2010-05-31 22:26:31 +02:00
Kai Blin
3811fdab5c s3-waf: Check for broken nisplus include files 2010-05-31 22:26:30 +02:00
Kai Blin
209555ef09 s3-waf: support avahi builds 2010-05-30 23:29:39 +02:00
Kai Blin
8e2b69ca46 s3-waf: Add more darwin-specific options 2010-05-30 23:29:20 +02:00
Kai Blin
f3b04854b8 s3-waf: Set HAVE_GSSAPI if gssapi libs were found 2010-05-30 22:54:27 +02:00
Kai Blin
f7333629f8 s3-waf: Support builds with utmp accounting 2010-05-28 15:17:35 +02:00
Kai Blin
4eba4b07c6 s3-waf: Match the defines from the autotools build on PACKAGE_* 2010-05-28 14:35:45 +02:00
Kai Blin
3d2c99f13b s3-waf: Detect which version of krb5_enctype_to_string is used
Pair-Programmed-With: Günther Deschner <gd@samba.org>
2010-05-28 12:59:29 +02:00
Andrew Bartlett
892a4b24e7 waf Read VERSION file inside WAF to set package version
This replaces the call to mkversion.sh in both the Samba3 and Samba4
WAF builds.

Andrew Bartlett
2010-05-28 15:20:03 +10:00
Kai Blin
49a80fe671 s3-waf: Fix typo
Sorry for the noise
2010-05-27 22:45:13 +02:00
Kai Blin
21e8548c0a s3-waf: Also set "developer" env when building in developer mode 2010-05-27 22:42:59 +02:00
Günther Deschner
20f843b678 s3-waf: more work on krb5 build.
Guenther
2010-05-26 22:53:13 +02:00
Kai Blin
eb6d6114f3 s3-waf: Allow to build with kerberos support 2010-05-26 22:53:04 +02:00
Kai Blin
9e194cd673 s3-waf: Check for additional options on *xattr 2010-05-26 00:28:34 +02:00
Kai Blin
5a023e73f7 s3-waf: Add darwin to the host_os-specific checks 2010-05-26 00:28:34 +02:00
Kai Blin
b2546ee557 s3-waf: Don't hardcode the name of the awk executable in wscript_build 2010-05-26 00:28:34 +02:00
Günther Deschner
8e41f2e66a s3-waf: very simple start on getting krb5 build to work.
Guenther
2010-05-25 12:27:05 +02:00
Kai Blin
136ea7b91d s3-waf: Actually make --with/--without-swat work 2010-05-21 00:15:52 +02:00
Kai Blin
c926acf7f1 s3-waf: Really disable winbindd build when --without-winbind is specified 2010-05-21 00:15:52 +02:00
Kai Blin
73f6fed4d6 s3-waf: more elaborate host_os check for STAT_ST_BLOCKSIZE 2010-05-20 22:16:15 +02:00
Kai Blin
17b136a79f s3-waf: fix the winbindd build again 2010-05-20 22:16:15 +02:00
Stefan Metzmacher
1c6ba8551d s3-waf: Also include source4/ when looking for headers 2010-05-20 22:16:15 +02:00
Kai Blin
8e04ad2db1 s3-waf: build shared modules as subsystems 2010-05-20 22:16:15 +02:00
Kai Blin
2650198ff7 s3-waf: autogenerate lists of static modules 2010-05-20 22:16:15 +02:00
Kai Blin
997114564d s3-waf: tdb includes are in lib/tdb/include 2010-05-20 22:16:15 +02:00
Kai Blin
0e7e039778 s3-waf: Autogenerate the static and dynamic init function calls 2010-05-20 22:16:15 +02:00
Kai Blin
25f33a3f8e s3-waf: add popt and tdb include dirs to the includes list 2010-05-20 22:16:15 +02:00
Kai Blin
be712a8eea s3-waf: Build swat 2010-05-20 22:16:14 +02:00
Kai Blin
4acb54c6a0 s3-waf: Fix global includes to fix waf configure --help output 2010-05-20 22:16:14 +02:00
Kai Blin
4478413da9 s3-waf: Add dummy configuration option for pthreadpool 2010-05-20 22:16:14 +02:00
Kai Blin
81967f5087 s3-waf: Add dummy configuration option for utmp 2010-05-20 22:16:14 +02:00
Kai Blin
f4ff7a298d s3-waf: Add dummy configuration option for sendfile-support 2010-05-20 22:16:14 +02:00
Kai Blin
cba7fd170c s3-waf: Add dummy configuration options for quotas 2010-05-20 22:16:14 +02:00
Kai Blin
f4ebdc98c2 s3-waf: Add dummy configuration option for PAM 2010-05-20 22:16:14 +02:00
Kai Blin
76e054ba98 s3-waf: Add configuration option for merged build
This doesn't enable the merged build, but doesn't error out when the --disable-merged-build configuration option is set
2010-05-20 22:16:14 +02:00
Andrew Tridgell
c85008e084 s3-waf: move the KRB5_DEPRECATED check into lib/replace
this needs to be with the krb5.h check
2010-05-20 22:16:13 +02:00
Kai Blin
ca7226500c s3-waf: Don't recurse into tsocket dir during configure 2010-05-20 22:16:13 +02:00
Andrew Tridgell
730c57048e s3-waf: Add enable selftest configuration option 2010-05-20 22:16:13 +02:00
Andrew Tridgell
0077761f7e s3-waf: correctly handle the libcap dependency when libcap is not installed 2010-05-20 22:16:13 +02:00
Kai Blin
fa48325bb6 s3-waf: build wbinfo using waf 2010-05-20 22:16:13 +02:00
Kai Blin
c7a1708740 s3-waf: Add ctags command 2010-05-20 22:16:13 +02:00
Kai Blin
8e32f81d4d s3-waf: Support smbd build without ldap and kerberos 2010-05-20 22:16:13 +02:00
Kai Blin
d59df05ff9 s3-waf: Allow building without ads/ldap/krb5 even if the libs are installed 2010-05-20 22:16:13 +02:00
Kai Blin
771a8c17af s3-waf: Allow using --enable/--disable options as well 2010-05-20 22:16:13 +02:00
Andrew Tridgell
99a2171f8b s3-waf: correctly handle cups dependencies when cups development packages are not installed 2010-05-20 22:16:13 +02:00
Kai Blin
3d1c0f1a21 s3-waf: Add helper that facilitates defining --with-x and --without-x options 2010-05-20 22:16:13 +02:00
Kai Blin
adfd1db476 s3-waf: Fix the CUPS dependency 2010-05-20 22:16:13 +02:00
Andrew Tridgell
419873f2ee s3-waf: All sorts of nasty hacks to finally get smbd to build/link
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-05-20 22:16:13 +02:00
Kai Blin
538edd5fc0 s3-waf: Add some more krb5 checks
There is still quite a few of them missing.
2010-05-20 22:16:13 +02:00
Kai Blin
1316fa7b78 s3-waf: Check for LDAP 2010-05-20 22:16:13 +02:00
Kai Blin
2b5f82f259 s3-waf: Move cups, ldap and krb5 checks to the end of the wscript file 2010-05-20 22:16:13 +02:00
Kai Blin
d3c9d299e8 s3-waf: Check for KRB5_DEPRECATED handling 2010-05-20 22:16:13 +02:00
Kai Blin
6f6b32044e s3-waf: Fake some defines that need to be set by configure options later 2010-05-20 22:16:13 +02:00
Kai Blin
a967deacdc s3-waf: Add more objects trying to build smbd 2010-05-20 22:16:12 +02:00
Andrew Tridgell
553324bc10 s4-waf: move to a universal method of recursing into subdirs
This works with both standalone lib builds and bundled builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
c2d17cf978 s4-waf: set default for bundled libraries 2010-04-06 20:27:12 +10:00
Andrew Tridgell
a247ce8ef9 s3-waf: added options for static/shared module building
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-06 20:27:08 +10:00
Kai Blin
ecafbd3ec8 s3-waf: check for default charsets 2010-04-06 20:27:07 +10:00
Andrew Tridgell
e19196110c s3-waf: more configure tests and minor fixes 2010-04-06 20:27:04 +10:00
Andrew Tridgell
e642c5a155 s3-waf: added build subdir for dynconfig generation 2010-04-06 20:27:04 +10:00
Kai Blin
8f33da10da build: Change checks to conform to new CHECK_* behaviour 2010-04-06 20:27:04 +10:00
Kai Blin
38f8b86c77 build: Check if the compiler will optimize out functions 2010-04-06 20:27:03 +10:00
Kai Blin
f7569922d9 build: check for int types included from rpc/rpc.h 2010-04-06 20:27:03 +10:00
Kai Blin
3bc6cf8097 build: Check for POSIX capabilities 2010-04-06 20:27:03 +10:00
Kai Blin
22d9f3d7c5 build: Check for various members of struct stat 2010-04-06 20:27:03 +10:00
Kai Blin
ea76743394 build: Fix package name and package string case 2010-04-06 20:27:03 +10:00
Kai Blin
998a9da867 build: Check for functions needed by Samba3 2010-04-06 20:27:03 +10:00
Kai Blin
c37f6e649d build: Check for kernel share modes 2010-04-06 20:27:03 +10:00
Kai Blin
565191e39f build: Check for IRIX kernel oplock types 2010-04-06 20:27:03 +10:00
Kai Blin
23ba9ad6e2 build: Check for Linux kernel oplocks 2010-04-06 20:27:03 +10:00
Kai Blin
207869dbf4 build: Check for kernel change notify support 2010-04-06 20:27:02 +10:00
Kai Blin
048b821b29 build: check for inotify support 2010-04-06 20:27:02 +10:00
Kai Blin
208bb86aae build: check for headers needed to generate stack traces 2010-04-06 20:27:02 +10:00
Kai Blin
33ef088f3d build: Check for krb5 headers 2010-04-06 20:27:02 +10:00
Kai Blin
ac9d39d108 build: Check for LDAP libraries 2010-04-06 20:27:02 +10:00
Kai Blin
59074dcfb1 build: Check for CUPS 2010-04-06 20:27:02 +10:00
Kai Blin
41e8e54406 build: Add a basic wscript file for Samba3 2010-04-06 20:27:02 +10:00