summaryrefslogtreecommitdiff
path: root/source3/wscript
AgeCommit message (Collapse)AuthorFilesLines
2012-05-23Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy1-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.
2012-05-15s3:auth: remove unused auth_server.cStefan Metzmacher1-1/+1
metze
2012-04-23waf: move krb5 checks to a separate waf fileAlexander Bokovoy1-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>
2012-04-13rely on sys/inotify.h for inotifyAdrian Bunk1-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
2012-04-12krb5_wrap: krb5_string_to_key / krb5_encrypt_block are deprecated.Simo Sorce1-4/+5
Remove checks and replace with krb5_c_string_to_key(). Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-12s3-waf: remove requirement of having --enable-developer for running system ↵Günther Deschner1-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>
2012-04-11Add a new module, aio_linux which implements Linux kernel aio support. Docs ↵Jeremy Allison1-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
2012-04-10On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into ↵Jeremy Allison1-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
2012-04-09Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with ↵Jeremy Allison1-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
2012-04-06Bug found by Herb. blkcnt_t st_ex_blksize is defined as a signed value. When ↵Jeremy Allison1-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.
2012-04-05s3-build: Remove unused configure checks for xattr functionsAndrew Bartlett1-1/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 5 07:13:29 CEST 2012 on sn-devel-104
2012-04-05s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configureAndrew Bartlett1-2/+2
If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett
2012-04-05s3-build: Remove unused configure checks for xattr functionsAndrew Bartlett1-1/+1
2012-04-05s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configureAndrew Bartlett1-2/+2
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configureAndrew Bartlett1-1/+1
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configureAndrew Bartlett1-1/+1
2012-04-05build: Remove configure tests for *64 functions and typesAndrew Bartlett1-148/+28
We now use the standard types only. Andrew Bartlett
2012-04-05build: Require 64-bit files support and do not define ↵Andrew Bartlett1-10/+0
HAVE_EXPLICIT_LARGEFILE_SUPPORT
2012-04-03build: Remove checks for krb5_decode_ap_req, free_AP_REQ and ↵Andrew Bartlett1-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
2012-04-03build: Remove unused check for HAVE_KRB5_TKT_ENC_PART2Andrew Bartlett1-2/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-vfs: initial work on posix:eadb moduleAndrew Bartlett1-1/+1
This is a module that, like vfs_xattr_tdb, stores extended attributes in a DB on disk. This uses the format needed to support the posix:eadb smb.conf option. Andrew Bartlett
2012-03-24libreplace: Add getpeereid implementation.Jelmer Vernooij1-8/+0
2012-03-16build: Do not use --export-dynamic flag on OpenBSD 5.xAmitay Isaacs1-1/+2
With --export-dynamic flag on OpenBSD 5.x, extra symbols get added in the data segment which causes ABI generation script to fail. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Mar 16 16:04:31 CET 2012 on sn-devel-104
2012-03-15build: Do not build with utmp when we do not have utmp.hAndrew Bartlett1-1/+4
This matches the autoconf build, and should partially address bug #8709. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Mar 15 01:12:15 CET 2012 on sn-devel-104
2012-03-01build: look for backtrace_symbols in libexecAndrew Bartlett1-1/+1
2012-02-13s3-build: expliticly require gssapi for HAVE_KRB5 and remove HAVE_GSSAPIAndrew Bartlett1-3/+1
The requirement for gss functions already make this happen, but this is clearer. No code depends on HAVE_GSSAPI any more. Andrew Bartlett
2012-02-10s3-libsmb: Remove unused kerberos_set_creds_enctype()Andrew Bartlett1-4/+0
Also remove the unused configure tests for krb5_c_enctype_compare. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
2012-02-10s3-libsmb: Remove unused kerberos_compatible_enctypesAndrew Bartlett1-4/+1
Also remove the unused configure tests for krb5_c_enctype_compare. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
2012-02-10s3-libsmb: Remove unused smb_krb5_mk_error()Andrew Bartlett1-4/+0
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-09s3-libsmb: Remove obsolete smb_krb5_locate_kdc.Andreas Schneider1-1/+1
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-01source3/wscript: Expand tabs, to prevent confusion (whitespace is ↵Jelmer Vernooij1-321/+321
significant in python/waf).
2012-01-25s3:build: require gss_krb5_export_lucid_sec_context() for ads supportStefan Metzmacher1-2/+14
This is needed to detect krb5 with aes for GENSEC_FEATURE_NEW_SPNEGO at runtime. metze
2012-01-25Revert "s3:build: for now do not require ↵Stefan Metzmacher1-5/+3
gsskrb5_extract_authz_data_from_sec_context" This reverts commit 74abe369df26c58094a601dd6ff8c27c3d0b2b2a. 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-20s3:build: for now do not require gsskrb5_extract_authz_data_from_sec_contextStefan Metzmacher1-3/+5
We do not use it yet. metze
2012-01-13s3-waf: check for KRB5_PDU_NONE as in the autoconf build.Günther Deschner1-0/+1
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-13s3-waf: also check for gsskrb5_extract_authz_data_from_sec_context() duringGünther Deschner1-1/+2
configure. Guenther
2012-01-10krb5: Require gss_get_name_attribute or Heimdal's PAC parsing to build with krb5Andrew Bartlett1-0/+11
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jan 10 23:23:07 CET 2012 on sn-devel-104
2012-01-10krb5: Require krb5_string_to_key be available to build with krb5Andrew Bartlett1-0/+3
2012-01-10krb5: Require krb5_set_real_time is available to build with krb5Andrew Bartlett1-1/+1
2012-01-10krb5: Require krb5_principal_compare_any_realm be available to build with krb5Andrew Bartlett1-0/+3
2012-01-10krb5: Require krb5_get_renewed_creds be available to build with krb5Andrew Bartlett1-1/+4
2012-01-10krb5: Require krb5_get_init_creds_opt_alloc/free for build with krb5Andrew Bartlett1-0/+6
This also assumes the modern API with a krb5_context argument. Andrew Bartlett
2012-01-10krb5: Require krb5_fwd_tgt_creds to be available to build with krb5Andrew Bartlett1-0/+3
2012-01-10krb5: Require krb5_get_host_realm and krb5_free_host_realm be available to ↵Andrew Bartlett1-0/+6
build with krb5
2012-01-10krb5: Require krb5_c_verify_checksum is available to build with krb5Andrew Bartlett1-12/+3
2012-01-10krb5: Require krb5_c_enctype_compare is available to build with krb5Andrew Bartlett1-1/+4
2012-01-10samba: check for AES encryption type defines.Günther Deschner1-0/+2
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-06Add a sys_get_number_of_cores() function that calls sysconf or sysctlJeremy Allison1-1/+1
and tunes the aio threads.
2012-01-05Add S3 vfs_aio_pthread module to replace broken glibc aio code.Jeremy Allison1-0/+3
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
2011-12-03Revert making public of the samba-module library.Jelmer Vernooij1-1/+1
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