1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

1343 Commits

Author SHA1 Message Date
Günther Deschner
7ee75c9548 lib/addns: move DNS client library to the main directory.
Guenther
2011-01-06 16:42:56 +01:00
Andreas Schneider
8ece780d1b s3-build: Remove broken RPC modules support.
With the current module support for rpc we're not able to call the init
functions with the rpc callback structure. So init functions and
shutdown functions aren't called. These init functions are needed to
setup pre requirements like migrating the printer databases and register
at the endpoint mapper. The shutdown functions cleanup memory and
deregister from the endpoint mapper.
2011-01-04 11:23:21 +01:00
Jeremy Allison
8998f4b013 Added call out to a Linux-compatible fallocate() when we need to extend a file
allocation extent without changing end-of-file size.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Dec 21 02:41:24 CET 2010 on sn-devel-104
2010-12-21 02:41:23 +01:00
Volker Lendecke
d39fedaa69 s3: FreeBSD has getpeereid(), use it 2010-12-19 23:25:06 +01:00
Björn Jacke
70a7da0e10 s3/configure: fix GNU ld version detection with old gcc releases
needed as old gcc releases output everything to stderr, even stdout output from
ld

Fixes 

Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Fri Nov 26 20:15:24 CET 2010 on sn-devel-104
2010-11-26 20:15:24 +01:00
Björn Jacke
dbcf73c457 ѕ3/configue: set Tru64 cc's PIC switch right (none)
-fPIC made shared library builds fail there
2010-11-26 01:52:36 +01:00
Andrew Tridgell
57f9de012e s3-torture: remove the merged_build tests for building smbtorture4
s3 now builds smbtorture4 if the required packages (perl, python, ads)
are available. This should ensure that smbtorture4 is built in the
build farm when possible
2010-11-24 00:19:15 +01:00
Jeremy Allison
5e0130c51e Fix bug - atime limit.
On a 64-bit time_t system make MAX_TIME_T the max value that
can be represented in a struct tm. This allows applications to
set times in the future beyond the 32-bit time_t limit (2037).

This is only in source3/configure.in, needs adding to the waf
configure/build system (but I'll need help with that).

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Nov 23 21:00:14 CET 2010 on sn-devel-104
2010-11-23 21:00:14 +01:00
Björn Jacke
842a8e4312 s3/configure: fix typo and warning
Autobuild-User: Björn Jacke <bjacke@samba.org>
Autobuild-Date: Mon Nov  8 20:58:20 UTC 2010 on sn-devel-104
2010-11-08 20:58:20 +00:00
Volker Lendecke
d6d2f8a8f2 s3: Build idmap_autorid by default 2010-11-08 13:39:51 +01:00
Christian Ambach
9aab4149af s3:idmap: add a new ID mapping module autorid
This is an initial implementation of the idmap_autorid module.
It works similar to the idmap_rid module but requires less
configuration. It will automatically pick ranges for each domain,
so you do not have to bother any more about adding an idmap
configuration for all of the domains in the forest.

This is very easy to use and to configure and much more
deterministic and faster than idmap_tdb, the typical choice
of Samba users up to now.
2010-11-08 13:39:51 +01:00
Abhidnya P Chirmule
2cfee006e1 s3: Add a vfs_time_audit module
This warns if a file system is slow

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Oct 28 08:56:44 UTC 2010 on sn-devel-104
2010-10-28 08:56:44 +00:00
Volker Lendecke
48dccbf2b5 s3: Move #define VALGRIND to config.h
This fixes the valgrind overrun in the tdb jenkins hash
2010-10-03 12:03:36 +02:00
Jelmer Vernooij
9af570a2ef s3-configure: Require at least version 1.2.6 of external TDB, which has
TDB_INCOMPATIBLE_HASH.
2010-10-01 18:49:40 +02:00
Volker Lendecke
66731461a6 tdb: add restore
Based on an idea by Simon McVittie, largely rewritten
2010-09-23 12:19:09 -07:00
Björn Jacke
81d257e8ae s3: don't build krb5 locator plugin if we don't build winbind
this fixes bug 
2010-09-21 10:54:37 -07:00
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 )
2010-08-12 16:30:35 +02:00
Björn Jacke
1d443f6bc2 Revert "s3: Use cups-config --libs"
This reverts commit 911db761148. This was introduced in 18f1f5b56b140
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 
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 

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 

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 b9835a1f9d8b81e4121a01a190dffaefe67cbe5c.
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
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