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

1260 Commits

Author SHA1 Message Date
Michael Adam
9113ce82b5 s3:build: remove checks for deprecated ctdb controls.
Michael
2010-02-12 23:12:10 +01:00
Michael Adam
d4c0afa841 build: Add a configure check for CTDB_CONTROL_TRANS3_COMMIT.
This is the new implementation of ctdb transactions using the
global lock feature. It is needed by the current dbwrap_ctdb code.

Michael
2010-02-12 23:12:10 +01:00
Björn Jacke
2aff1d6bca s3: quiet the unresolved symbol warnings of the Compaq compiler when linking our vfs modules 2010-02-08 02:32:39 +01:00
Simo Sorce
70534adee1 tdb: raise version to 1.2.1
after recent fixes we need to raise the version to 1.2.1 so that
we can require also the right patched version.
2010-02-06 10:48:39 -05:00
Björn Jacke
27920f4f90 s3:configure: check complete set of EA functions only when we found at least one
this saves us some time in configure
2010-02-02 18:35:59 +01:00
Jeremy Allison
687e4eba3c Fix bug #7079 - cliconnect gets realm wrong with trusted domains.
Passing NULL as dest_realm for cli_session_setup_spnego() was
always using our own realm (as for a NetBIOS name). Change this
to look for the mapped realm using krb5_get_host_realm() if
the destination machine name is a DNS name (contains a '.').
Could get fancier with DNS name detection (length, etc.) but
this will do for now.

Jeremy.
2010-01-30 19:24:28 -08:00
Björn Jacke
118725c892 s3: by default don't use pthread pool support 2010-01-29 12:43:13 +01:00
Björn Jacke
1f7e97a8a2 s3: syntax fix 2010-01-27 23:45:14 +01:00
Björn Jacke
6bade10a1e s3: get pthread detection also on HP-UX right 2010-01-27 18:59:16 +01:00
Björn Jacke
5439e1a03f s3: fix detection and flags for using pthread
I hope this fixes the build on Tru64, IRIX and maybe bug #6983
2010-01-26 00:19:10 +01:00
Björn Jacke
e8a99ac980 s3: fix dnsupdate configure check 2010-01-21 01:09:01 +01:00
Lars Müller
30ea9932f5 Add cross option to samba_cv_linux_getgrouplist_ok
"cross" as an option got removed accidentl with commit e5a95132 while
moving in direction of 3.2.

Patch proposed by Richard Sharpe <realrichardsharpe@gmail.com>.
2010-01-20 12:41:43 +01:00
Björn Jacke
3bf9bbb275 s3: build with dnsupdate support when possible 2010-01-20 00:09:38 +01:00
Olivier Sessink
31e142854b s3: Add the "scannedonly" vfs virus scanner interface module 2010-01-12 22:57:18 +01:00
Björn Jacke
e172b219ee ѕ3:configure: use gettimeofday check from lib/util/ 2010-01-06 18:28:16 +01:00
Jonas Gorski
e3ee8ffc1b s3: Fix bug 6992, make test for getgrouplist cacheable 2009-12-17 11:38:03 +01:00
Bo Yang
c7e3a2dc31 s3: check for PAM_RADIO_TYPE.
Signed-off-by: Bo Yang <boyang@samba.org>
2009-12-10 19:29:24 +08:00
Björn Jacke
b6174662df s3:configure: check for lutimes, futimes and futimens 2009-12-09 02:58:40 +01:00
Stefan Metzmacher
886fe5b920 s3: require tdb 1.1.7 with tdb_check()
metze
2009-12-07 19:56:55 +01:00
Volker Lendecke
a902c4cc50 s3: Support NetWkstaGetInfo 101 and 102 2009-12-06 13:07:03 +01:00
Björn Jacke
3264a98ff1 s3: check if glibc has broken posix_fallocate 2009-12-04 23:29:56 +01:00
Björn Jacke
a2929a638f s3:build: remove redundant qnx block size definition 2009-12-03 00:14:16 +01:00
Björn Jacke
1d013fd032 s3:build: fix shared library build on QNX
Fixes #6860. Thanks to Matt Kraai!
2009-12-03 00:02:44 +01:00
Björn Jacke
95c1862610 s3: prefer posix_fallocate for doing "strict allocate"
posix_fallocate is more efficient than manual zero'ing the file. When
preallocation in kernel space is supported it's extremely fast. Support for
preallocation at fs layer via posix_fallocate and fallocate at kernel site
can be found in Linux kernel 2.6.23/glibc 2.10 with ext4, XFS and OCFS2. Other
systems that I know of which support fast preallocation in kernel space are
AIX 6.1 with JFS2 and recent Solaris versions with ZFS maybe UFS2, too.

People who have a system with preallocation in kernel space might want to set
"strict allocate = yes". This reduces file fragentation and it's also safer for
setups with quota being turned on.

As of today most systems still don't have preallocation in kernel space, and
that's why "strict allocate = no" will stay the default for now.
2009-12-02 21:21:43 +01:00
Volker Lendecke
53744f01dc s3: Cope with older external libtdb 2009-12-02 00:38:03 +01:00
Günther Deschner
ecb071ca2a Revert "s3-build: taise tdb version when building against system libtdb library."
This reverts commit ea20678c55.

Just one new error code does probably not justify raising the required tdb version.

Guenther
2009-12-02 00:38:03 +01:00
Michael Adam
9d8867f676 s3:build: fix detection of CTDB headers on systems without system-libtalloc
Michael
2009-12-01 17:10:25 +01:00
Michael Adam
51b6e23f9a s3:build: fix the build when no external talloc and tdb are installed.
The check for the external libs and the addition of the include paths
to the CPPFLAGS was too late in configure.

This patch moves the whole subsystem/library section up right below
the detection of "BLDSHARED".
And it updates not only SAMBA_CPPFLAGS but also SAMBA_CONFIGURE_CPPFLAGS
so that many tests that use these flags can now succeed.

Michael
2009-12-01 17:10:24 +01:00
Günther Deschner
ea20678c55 s3-build: taise tdb version when building against system libtdb library.
Try to fix the build on "buildsamba02". At least fixes the build on fedora12
with libtdb-devel-1.1.5-2.fc12.x86_64 installed.

Volker, please check.

Guenther
2009-12-01 01:24:33 +01:00
Günther Deschner
51328a7056 s3-kerberos: fix the build on Mac OS X 10.6.2.
Guenther
2009-11-27 20:10:32 +01:00
Günther Deschner
04f8c229de s3-kerberos: only use krb5 headers where required.
This seems to be the only way to deal with mixed heimdal/MIT setups during
merged build.

Guenther
2009-11-27 16:36:00 +01:00
Günther Deschner
1a8f838274 s3-kerberos: Fix Bug #6929: build with recent heimdal.
Heimdal changed the KRB5_DEPRECATED define (which now may not take an identifier
for activation) in new releases (like 1.3.1).

Guenther
2009-11-27 01:40:35 +01:00
Günther Deschner
5b3a32be97 s3-kerberos: next step to resolve Bug #6929: build with recent heimdal.
Based on patch from Allan <allan@archlinux.org>.

Also should fix the FreeBSD build on the buildfarm.

Guenther
2009-11-26 10:15:45 +01:00
Günther Deschner
c438b2b392 s3-kerberos: add check for prerequisite krb5/krb5.h header while checking for krb5/locate_plugin.h.
(Needed for new Heimdal versions).

Guenther
2009-11-25 21:39:49 +01:00
Günther Deschner
35dcc133c9 s3-kerberos: add smb_krb5_get_{creds,credentials} incl. support for S4U2SELF impersonation.
Guenther
2009-11-06 12:43:03 +01:00
Günther Deschner
2cd507fe14 s3-kerberos: add configure checks for krb5_get_creds_X api.
Guenther
2009-11-06 12:43:02 +01:00
Björn Jacke
51cb96271b s3: add support for full windows timestamps resolution on files
setting nanosecond timestamps using utimensat() was first supported by Linux
kernel 2.6.22 and glibc 2.6. It's specified in POSIX.1-2008.

This effectively makes us use Windows' full 100ns timestamp resolution -
actually just an improvement from 10^-6 to 10^-7.

For now Linux CIFS vfs will also just be able to make use of 100ns resolution,
not 1ns.
2009-11-04 15:54:51 +01:00
Michael Adam
08d2a3f4bf s3:configure: add a check for the new CTDB_CONTROL_TRANS2_ACTIVE
Michael
2009-11-03 01:02:37 +01:00
Volker Lendecke
9ab1f793ff s3: Fix the RPC server SUBSYSTEM declaration
If I read SMB_SUBSYSTEM right then the 2nd argument needs to be the file where
the static_init_rpc (in this case) is defined. This seems to have moved from
server.c to process.c.

Jelmer, please check!

Volker
2009-10-31 11:28:55 +01:00
Björn Jacke
4ae950d211 ѕ3:buildsystem: fix depenencies for libreplace
This problem became visible after adding the picky -z defs linker option: On
Solaris libreplace had unresolved symbols, which showed up in the libtalloc
build. PAM_WINBIND_EXTRA_LIBS and WINBIND_NSS_EXTRA_LIBS had been workarounds
to make things work at two placeѕ. These variables have been obsoleted now.
This patch introduces LIBREPLACE_LIBS which contans the linker flags needed for
linking anything using libreplace.
2009-10-31 00:48:20 +01:00
Stefan Metzmacher
ee13e9c0be s3:configure: only check for gpfs_gpl.h
The header is everything we need in order to build vfs_gpfs.

metze

Signed-off-by: Michael Adam <obnox@samba.org>
2009-10-28 13:08:26 +01:00
Björn Jacke
4243e6e3a9 s3:configure: add support for Solaris' ld -z ignore
try linker flags for ignoring unused libs in this order:
-Wl,--as-needed (gcc like + binutils)
-Wl,-z,ignore (gcc like + Solaris linker)
-z ignore (old Sun C)
2009-10-20 10:52:07 +02:00
Björn Jacke
f96f8f9c77 s3: make unresolved symbols in libs throw errors
except for the Samba internal plugins unresolved symbol references should not
show up in shared libraries. For historical reasons it's the default behaviour
of linkers to ignore those in shared libs. We use -z defs (alias
--no-undefined) to not ignore them in shared libs.
2009-10-20 10:52:06 +02:00
Björn Jacke
718d2801d6 s3:configure: fix avahi activation
Avahi was correctly found but not activated since e4a26c942.
2009-10-18 17:06:29 +02:00
Björn Jacke
7655282ede s3: build pam_smbpass when possible 2009-10-16 23:46:52 +02:00
Andrew Tridgell
a6e4cb500b s3: fixed krb5 build problem on ubuntu karmic
Karmic has MIT krb5 1.7-beta3, which has the symbol
krb5_auth_con_set_req_cksumtype but no prototype for it.

See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531635
2009-10-16 10:40:50 +11:00
Günther Deschner
67b544ba96 s3-build: we need to have talloc 2.0.1 when building with external talloc.
2.0.0 did not got the exports right.
This and the 2.0.1 talloc fixes resolve bug #6808.

Guenther
2009-10-14 17:45:59 +02:00
Björn Jacke
984d001cae s3:Makefile: another attempt to fix the wbclient dependency
in the dependencies we always used a variable that was not jet defined.
2009-10-04 02:20:21 +02:00
Björn Jacke
be348842f5 Revert "s3:Makefile: fix libwbclient dependencies with static build"
This reverts commit d7795f2afa.
2009-10-04 02:20:20 +02:00
Volker Lendecke
70e1d816b3 s3: Make default_[static|shared]_modules a bit more readable 2009-10-03 14:39:51 +02:00