1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

1327 Commits

Author SHA1 Message Date
Günther Deschner
33fdf8dac2 s3-build: use proper RPC_X_OBJ target names.
Guenther
2010-09-10 13:20:13 +02:00
Björn Jacke
4e104f185e libreplace: move detection of clock_gettime to libreplace 2010-08-31 09:07:13 +02:00
Björn Jacke
e8662248c8 libreplace: move gettimeofday TZ arg check here 2010-08-31 09:07:08 +02:00
Michael Adam
3add3aa17d s3:smbd: add a nfs backend for sysquotas.
This module is based on the Solaris/FreeBSD implementation
of NFS quotas in the quotas.c module.

It implements the SMB_USER_QUOTA_TYPE query of the
get_quotas call. The other types and the set_quota call
are not implemented.
2010-08-25 14:05:51 +02:00
Volker Lendecke
a16a56f601 s3: PAM_RHOST and PAM_TTY are enums on FreeBSD 2010-08-23 22:59:56 +02:00
Kai Blin
45ac8ffdb4 s3: Fix netgrent configure checks for compilers not supporting -Werror-implicit-function-declaration
This should fix bug 7620.
2010-08-21 12:05:40 +02:00
Jeremy Allison
da2554117e Fix bug 7626 - Typo in configure samba_cv__CC_NEGATIVE_ENUM_VALUES two underscores.
Noticed by bj@sernet.de.
2010-08-18 16:25:15 -07:00
Günther Deschner
f24c99fba0 s3-build: always check for python.
This should fix make test. Metze, please check.

Guenther
2010-08-16 12:23:08 +02:00
Andrew Bartlett
71d80e6be0 s3-krb5 Only build ADS support if arcfour-hmac-md5 is available
Modern Kerberos implementations have either defines or enums for these
key types, which makes doing #ifdef difficult.  This shows up in files
such as libnet_samsync_keytab.c, the bulk of which is not compiled on
current Fedora 12, for example.

The downside is that this makes Samba unconditionally depend on the
arcfour-hmac-md5 encryption type at build time.  We will no longer
support libraries that only support the DES based encryption types.
However, the single-DES types that are supported in common with AD are
already painfully weak - so much so that they are disabled by default
in modern Kerberos libraries.

If not found, ADS support will not be compiled in.

This means that our 'net ads join' will no longer set the
ACB_USE_DES_KEY_ONLY flag, and we will always try to use
arcfour-hmac-md5.

A future improvement would be to remove the use of the DES encryption
types totally, but this would require that any ACB_USE_DES_KEY_ONLY
flag be removed from existing joins.

Andrew Bartlett

Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-13 09:08:27 -04:00
Björn Jacke
5390baeb6b tdb: add TDB_DEPS variable filled with required libraries
This is required for Solaris, which needs to link in librt to make use of
fdatasync().
2010-08-13 14:57:44 +02:00
Björn Jacke
616e187d68 s3: fall back to cups-config for underlinked libs
some OpenBSD systems have underlinked cups libraries. If linking against cups
alone fails, try to link against all the cups-config --libs cruft, which we
usually don't want. (bugzila #7244)
2010-08-12 16:30:35 +02:00
Björn Jacke
1d443f6bc2 Revert "s3: Use cups-config --libs"
This reverts commit 911db76114. This was introduced in 18f1f5b56b
intentionally.
2010-08-12 16:30:35 +02:00
Volker Lendecke
911db76114 s3: Use cups-config --libs 2010-08-02 11:55:02 +02:00
Simo Sorce
7eaa15af2c s3-dcerpc: Add sign/seal with gssapi 2010-07-28 12:42:15 -04:00
Volker Lendecke
b6c4eb3c52 s3: Log the correct core path on Linux if core_pattern is set
Contributions from Bill Hymas, IBM
2010-07-26 16:06:21 +02:00
Björn Jacke
c75106fd3a s3: not use as-needed by default and auto use if enable-developer is active
as discussed on samba-technical, we don't want people out there to use it
unwittingly by default. However by enabling it when enable-developer is used we
make sure that we don't break the feature.
2010-07-22 15:51:36 +02:00
Björn Jacke
c58aeaaf31 s3: also run the test prog from the explicit external lib bug check
on Linux linking already stops with a broken ld, on FreeBSD8 linking works but
the binary is broken, so we must check both.

this should be the final fix for bug #7561
2010-07-20 18:12:40 +02:00
Björn Jacke
2a8399f7ce s3: check for explicit external lib bug in ld's as-needed code
Second part of fix for bug #7561

Based on test provided by Olaf Flebbe.
2010-07-20 13:46:42 +02:00
Björn Jacke
09944302a1 s3: add configure swtich to manually disable as-needed
first part fix for bug #7561

based on earlier patch from metze
2010-07-20 13:46:42 +02:00
Björn Jacke
fa4dec31cf Revert "s3: Don't use as-needed"
This reverts commit b9835a1f9d.
2010-07-20 13:46:42 +02:00
Volker Lendecke
b9835a1f9d s3: Don't use as-needed
This is just broken. RHEL5 can't deal with it, FreeBSD8 is broken with it, and
who knows what other platforms are broken. I can rather live with a system that
links in a bit too much than a system that does not work at all.
2010-07-18 12:13:52 +02:00
Volker Lendecke
a7e6b2aeb4 s3: Right now we do not have includes in Makefile.in
Skip the expansion step on non-GNU-make systems
2010-07-17 19:58:21 +02:00
Kai Blin
0b6cebd602 s3 build: Fix *netgrent prototype detection on opensolaris 2010-07-07 09:31:20 +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
ff32f691bb s3 configure: Check for (set|get|end)netgrent prototypes 2010-06-20 09:50:19 +02:00
Björn Jacke
14c8d319e3 s3:configure: use cc for linking on IRIX and fix shlib usage 2010-06-17 11:41:58 +02:00
Volker Lendecke
f0afda14ba Fix aio_read detection for -lrt 2010-06-13 15:23:23 +02:00
Olaf Flebbe
7aa8af144e check if LD_AS_NEEDED breaks linking with libreadline fixes #7209
Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-11 16:07:50 -04:00
Olaf Flebbe
a9b06f58f2 configure.in prevent generation of file "shlib.so" 2010-06-11 09:03:42 -04:00
Björn Jacke
79ec886aa4 s3:build: add shared lib flag for HP-UX compiler 2010-06-05 02:15:29 +02:00
Volker Lendecke
95863bfb5e s3: Add vfs_linux_xfs_sgid
http://oss.sgi.com/bugzilla/show_bug.cgi?id=280 shows an old Linux XFS bug that
still exists: Under certain circumstances the SGID bit is not inherited.
2010-06-02 12:30:51 +02:00
Björn Jacke
a950c6c600 s3:configre: work around shell problem on HP-UX in AC macro 2010-05-31 14:33:51 +02:00
Björn Jacke
17ad28c582 s3: use PICFLAG instead of PIE_FLAGS 2010-05-31 02:20:51 +02:00
Björn Jacke
c2327b24a6 s3: final test for working shlib support requires PIE_LDFLAGS 2010-05-31 00:37:01 +02:00
Björn Jacke
390b0521bd s3: use autoconf macro to get some debug output in config.log 2010-05-30 23:59:45 +02:00
Björn Jacke
96ee9568ed s3: fix check for pie compiler flags
some compilers (HP and Sun e.g.) output warning messages on stderr for unknown
options and we ended up partly using some unwanted random compile flags we
did't intend to use.
2010-05-30 16:25:28 +02:00
Björn Jacke
2bca048367 s3:configure: use the right AC_CACHE_CHECK variable 2010-05-26 10:19:59 +02:00
Michael Adam
8eed328cb5 s3:fix configure after change "add Werror_FLAGS for IBM's xlc"
For me, 24b3725407 broke configure.
The fix in f634450b67 is not complete yet.
After staring at the change a bit, tt seems to me that the
code inserted was just misplaced by one line.

Michael
2010-05-25 09:56:05 +02:00
Björn Jacke
f634450b67 s3: fix the configure run 2010-05-25 09:43:57 +02:00
Björn Jacke
ff0872d59d s3:configure: turn "error warnings" into errors
By default "Missing argument(s)" is just an "error warning" for xlc :-)
The change to turn "error warnings" into errors should fix bug #7427.
2010-05-24 23:34:00 +02:00
Björn Jacke
24b3725407 s3:configure: add Werror_FLAGS for IBM's xlc 2010-05-24 23:28:44 +02:00
Björn Jacke
8e069e245b s3: major overhaul of compiler and linker flags for HP-UX builds
this will fix a number of things like shared library builds. That in turn will
probably trigger some other build bugs...
2010-05-24 13:51:35 +02:00
Björn Jacke
2466dc7eaf s3:build: remove CFLAGS from LDSHFLAGS, SHLD has them already 2010-05-24 12:26:10 +02:00
Volker Lendecke
6e7d39f4dd s3: Another non-gnumake fix
AC_OUTPUT_COMMANDS must be called before AC_OUTPUT and
$MAKEFILE is not defined in ./config.status
2010-05-23 12:44:43 +02:00
Volker Lendecke
7eff96cb43 s3: Factor out compiler-independent defines 2010-05-23 00:33:45 +02:00
Stefan Metzmacher
6427484f84 s3:build: build smbtorture4 when the merged build is selected
metze
2010-05-13 19:42:25 +02:00
Michael Adam
04e1954224 s3:configure: fix a message 2010-05-11 16:42:22 +02:00
Volker Lendecke
36e736871e s3: Test for "__attribute__((destructor))" 2010-05-10 14:11:14 +02:00
Jelmer Vernooij
95421552be Reintroduce merged build, using waf to build smbtorture4. 2010-05-07 18:34:00 +02:00
Jelmer Vernooij
674a78d60a Revert "Revert "s3-build: Remove --enable-merged support.""
This reverts commit 8f8e7c788a.
2010-05-07 18:34:00 +02:00