Simo Sorce
d43c2c0945
krb5_samba: Add support for krb5_princ_size when using Heimdal
2012-04-23 19:20:38 -04:00
Jeremy Allison
fbaaf4b21f
Add complete test program for Linux kernel aio inside configure.in (I discovered yesterday there are systems with only half the glibc changes needed to implement userspace kaio.
2012-04-23 09:19:16 -07:00
Adrian Bunk
55cbf7ba34
rely on sys/inotify.h for inotify
...
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-13 21:15:00 +02:00
Simo Sorce
c13c065a9b
krb5_wrap: krb5_string_to_key / krb5_encrypt_block are deprecated.
...
Remove checks and replace with krb5_c_string_to_key().
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-12 12:06:43 +02:00
Jeremy Allison
81d17493d6
Remove overly complex attemt to define blkcnt_t and blksize_t. AC_CHECK_TYPE should just do it.
...
Still trying to fix the buildfarm.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Apr 12 04:28:29 CEST 2012 on sn-devel-104
2012-04-12 04:28:29 +02:00
Jeremy Allison
2216d3f08a
Try and fix autoconf on the build farm. Always include sys/types.h when working out sizeof(blkcnt_t).
2012-04-11 17:11:28 -07:00
Jeremy Allison
fe707f6549
Add a new module, aio_linux which implements Linux kernel aio support. Docs 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-11 02:29:04 +02:00
Jeremy Allison
d425a4cd3d
On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into 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-10 04:07:11 +02:00
Jeremy Allison
5701a4d861
Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with 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-09 21:40:40 +02:00
Jeremy Allison
a92c532573
Bug found by Herb. blkcnt_t st_ex_blksize is defined as a signed value. When 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-06 14:20:12 -07:00
Andrew Bartlett
48166468fe
s3-build: Remove unused configure checks for xattr functions
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 5 07:13:29 CEST 2012 on sn-devel-104
2012-04-05 07:13:28 +02:00
Andrew Bartlett
19eee33d82
s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configure
...
If this is ever needed again, it would be more appropriate as an options argument
to removexattr.
Andrew Bartlett
2012-04-05 13:39:01 +10:00
Andrew Bartlett
c70ac29c54
s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configure
...
If this is ever needed again, it would be more appropriate as an options argument
to listxattr.
Andrew Bartlett
2012-04-05 13:39:00 +10:00
Andrew Bartlett
c5b17c5555
s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configure
...
If this is ever needed again, it would be more appropriate as an options argument
to listxattr.
Andrew Bartlett
2012-04-05 13:39:00 +10:00
Andrew Bartlett
b2f7cfa848
s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configure
2012-04-05 13:39:00 +10:00
Andrew Bartlett
e1b7a5c750
build: combine off_t 64 bit and largefile test
2012-04-05 02:39:08 +02:00
Andrew Bartlett
694d81a7b5
build: Fix configure test that was declaring an off64_t
2012-04-05 02:39:08 +02:00
Andrew Bartlett
b4e58111b9
build: Remove configure tests for *64 functions and types
...
We now use the standard types only.
Andrew Bartlett
2012-04-05 02:39:08 +02:00
Andrew Bartlett
d5c7de8650
build: Require 64-bit files support and do not define HAVE_EXPLICIT_LARGEFILE_SUPPORT
2012-04-05 02:39:08 +02:00
Andrew Bartlett
db1f277979
build: use only standard _FILE_OFFSET_BITS=64 macro for large files
...
(We also already use any other macro as set by getconf LFS_CFLAGS, and
the standard AC_SYS_LARGEFILE macro in libreplace).
This is instead of using the transitional *64 posix largefile API
Andrew Bartlett
2012-04-05 02:39:08 +02:00
Andrew Bartlett
fba028afbd
build: Remove checks for krb5_decode_ap_req, free_AP_REQ and 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-03 19:19:33 +02:00
Andrew Bartlett
bc3e52d9d0
build: Remove unused check for HAVE_KRB5_TKT_ENC_PART2
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03 17:47:32 +02:00
Jelmer Vernooij
71d41a015a
libreplace: Add getpeereid implementation.
2012-03-24 16:00:36 +01:00
Andrew Bartlett
ad8b150b9b
s3-build: gss_krb5_export_lucid_sec_context is no longer used in the s3 build
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Mar 23 04:37:36 CET 2012 on sn-devel-104
2012-03-23 04:37:35 +01:00
Ira Cooper
b990279304
util: Add --disable-fault-handling.
...
On some platforms you can not debug coredumps after the default signal handler
gets done dumping core. This allows waf to have an option to disable our
default signal handler.
2012-03-15 05:55:03 +01:00
Matthieu Patou
442f1c81df
autoconf: make autoconf build work on OS X 10.6
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Mar 14 08:31:19 CET 2012 on sn-devel-104
2012-03-14 08:31:19 +01:00
Matthieu Patou
b68f72c7f5
lib/crypto: Detect CommonCrypto and use it if available
...
CommonCrypto/CommonDigest is available on Mac and there is function in
the libc for MD5 calculation. MD5Final is a C define of CC_MD5_Final.
Under some circumstance we have the symbol defined twice in samba
binaries on Snow Leopard at least.
By detecting CommonCrypto/CommonDigest we end up always using the system
version if available.
2012-03-14 06:52:27 +01:00
Ira Cooper
e19cf64356
addns: Fix the Solaris/Illumos build.
...
uuid_t is not defined without including sys/uuid.h, configure+waf checks added.
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-03-07 11:01:33 -08:00
Amitay Isaacs
5c5111ca03
s3-ctdb: Enable CTDB readonly support only if CTDB supports it
...
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Mon Mar 5 02:47:36 CET 2012 on sn-devel-104
2012-03-05 02:47:36 +01:00
Volker Lendecke
6c1c092f07
s3: Test for statfs before statfs64
...
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Fri Mar 2 12:04:35 CET 2012 on sn-devel-104
2012-03-02 12:04:34 +01:00
Brad Smith
8bdc289099
s3: Further fix for bug 8777
2012-03-02 10:30:07 +01:00
Volker Lendecke
558ef5e26e
s3-configure: Add CFLAGS_APPEND variable
...
This makes it possible to add some CFLAGS to the end of the CFLAGS list. I use
it for adding -Wno-unused-value when compiling with clang.
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Sun Feb 26 01:21:49 CET 2012 on sn-devel-104
2012-02-26 01:21:48 +01:00
Brad Smith
71a6d33432
s3: Fix bug 8777, sys_statvfs() wrapper support for OpenBSD/FreeBSD/DragonFly
2012-02-25 09:42:24 +01:00
Andrew Bartlett
6b573e73fc
s3-auth: Use common gensec_ntlmssp
...
There is no longer any samba3-specific code left here.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-02-17 10:48:10 +01:00
Andrew Bartlett
3bf922111a
s3-build: expliticly require gssapi for HAVE_KRB5 and remove HAVE_GSSAPI
...
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-13 04:41:05 +01:00
Andrew Bartlett
5c2a2135c9
s3-libsmb: Remove unused kerberos_set_creds_enctype()
...
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-10 16:45:15 +11:00
Andrew Bartlett
292974ed0c
s3-libsmb: Remove unused kerberos_compatible_enctypes
...
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-10 16:45:14 +11:00
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
Andrew Bartlett
b93326b968
s3-build: remove EXEEXT from Makefiles
...
As far as I am aware, we do not actually build on any platforms that
require this. The last Stratos VOS release on
ftp://ftp.stratus.com/vos/samba/samba.html was 3.0.5
Andrew Bartlett
2012-02-09 00:27:08 +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 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-25 05:26:13 +01:00
Stefan Metzmacher
c41d3c187e
s3:configure.in: move gss_wrap_iov check to the other function checks
...
This also makes sure we search for it if it's in -lgssapi
instead of -lgssapi_krb5 or -lgss.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jan 20 20:23:13 CET 2012 on sn-devel-104
2012-01-20 20:23:13 +01:00
Stefan Metzmacher
fbb292ec14
s3:configure.in: require gssapi for ads support
...
This matches the waf checks.
metze
2012-01-20 18:44:10 +01:00
Stefan Metzmacher
004906e73c
s3:configure.in: move krb5_set_real_time check to other function checks
...
metze
2012-01-20 18:44:10 +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
Stefan Metzmacher
018af56bf2
s3:configure.in: fix the shell logic in krb5 checks
...
metze
2012-01-20 18:44:10 +01:00
Volker Lendecke
9f50dfb5ce
s3: ADS support is needed for dns updates
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Jan 14 15:32:15 CET 2012 on sn-devel-104
2012-01-14 15:32:13 +01:00
Günther Deschner
07664f9a99
s3-autoconf: fix the build of the pdb_ldap shared module in autoconf build as well.
...
Guenther
2012-01-13 09:44:23 +01:00
Stefan Metzmacher
342be2851a
s3:build: add auth/gensec/spnego.o
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jan 13 06:32:30 CET 2012 on sn-devel-104
2012-01-13 06:32:30 +01:00