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

1407 Commits

Author SHA1 Message Date
Volker Lendecke
0cf317f36f s3: Remove the lua interpreter again
This was meant to support async winbind. But as the hairy parts of async
winbind (getgrent) are done without it, it can go again.
2009-09-29 13:51:43 +02:00
Björn Jacke
9e49ad558e s3: build with pam support when possible 2009-09-17 21:05:54 +02:00
Björn Jacke
18f1f5b56b s3: ignore cups-config to tidy up library dependencies
contrary to krb5-config for example, which outputs useful things, cups-config
--libs does not output libs we have to link against. It outputs libs that cups
linked against. We just have to link against cups.
2009-09-15 19:48:32 +02:00
Björn Jacke
f410d23185 s3: BSD needs sys/sysctl.h included to build properly
FreeBSD (and other BSDs, too) need sys/sysctl.h inclueded to use sysctlbyname().

Thanks to Timur Bakeyev for that.
2009-09-15 06:54:31 +02:00
Matt Kraai
6657598168 Do not redefine strupr
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-02 13:02:39 +02:00
Simo Sorce
a28b499e80 s3: Fix libtalloc so version 2009-08-30 13:54:42 -04:00
Aravind Srinivasan
c1b8eb884b s3: Add catia to the list of modules compiled by default
Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-08-28 16:38:57 -07:00
Andrew Tridgell
2c846058ff LIBREPLACEOBJ now contains the full path 2009-08-24 16:30:00 +10:00
Stefan Metzmacher
851b01f64e s3:configure: require talloc >= 2.0.0
metze
2009-08-24 16:30:00 +10:00
Jeremy Allison
88fd98b7c4 Fix EVERY SINGLE build on the buildfarm that doesn't have
bindtextdomain or textdomain. C'mon, this is what configure.in
is *FOR*.
Jeremy.
2009-08-12 17:44:48 -07:00
Björn Jacke
2540710b5e s3:configure: honor CFLAGS in compile tests
When compilation is done for the architecture that's not the compiler's
default, for example by setting CFLAGS to -m64, then compile tests might fail
when they are done with the comiler's default arch. This should fix
bugzilla #6162.
2009-07-05 13:11:20 +02:00
Simo Sorce
2738178d13 Restore ABI compatibility for talloc. 2009-07-03 08:45:29 -04:00
Björn Jacke
b54e48b830 s3:configure: fix syntax error in avahi configure test 2009-07-03 14:26:28 +02:00
Matt Kraai
0b06aa2304 s3:configure: define _LARGEFILE64_SOURCE on QNX 2009-07-03 11:43:52 +02:00
Andrew Tridgell
acfb01a8f6 change talloc to 2.0.0
This is needed to prevent samba3 and samba4 from using an ABI
incompatible system version of talloc

See ongoing discussion on the samba-technical mailing list
2009-07-02 15:19:40 +10:00
Jeff Layton
f7250144ed umount.cifs: don't build it by default
Now that the sanity checks for mount.cifs default to matching the
behavior of /bin/mount, then there is virtually no need for umount.cifs.
The only exception is when someone enables the loose setuid behavior in
mount.cifs.

If an unprivileged user mounts a share that isn't in /etc/fstab, then
/bin/mount won't allow that user to unmount it. In that situation,
umount.cifs will be necessary to allow unmounting the share.

Signed-off-by: Jeff Layton <jlayton@samba.org>
Acked-by: Steve French <smfrench@us.ibm.com>
2009-06-30 15:03:13 -04:00
Michael Adam
69af9eacb9 s3:build: check for external liblua, link lua statically if using internal lib
So liblua is treated the same way as libtalloc and libtdb.

Michael
2009-06-29 23:25:38 +02:00
Volker Lendecke
04e4d03868 The solaris linker seems to require an extra mention of dependent libs 2009-06-26 23:15:51 +02:00
Michael Adam
23c7eccc27 s3:build: build talloctort only when using the internal liballoc
Fixes the build with the external libtalloc.
And is the reasonable thing to do anyways.

Michael
2009-06-19 21:13:38 +02:00
Michael Adam
bd70351b94 s3:build: build the tdb tools only when using the internal libtdb
This fixes the build when internal libtdb is used.

Michael
2009-06-19 21:13:38 +02:00
Michael Adam
5ceda58b8d s3:build: check for availability of external libtdb and use it if available
Link internal libtalloc statiaclly if extenal libtalloc is not found
or does not have appropriate version.

Michael
2009-06-19 21:13:37 +02:00
Michael Adam
ec154a1d81 s3:build: link libtalloc statically if using internal libtalloc
Michael
2009-06-19 21:13:37 +02:00
Jelmer Vernooij
3174de69d5 Fix build with external talloc. 2009-06-11 16:31:07 +02:00
Timur I. Bakeyev
16f5aedea0 Check for dmalloc at the end of the configure
Enabling dmalloc in Samba3 build leads to the wrong detection of the
strndup() function - there isn't one in FreeBSD prior to 7.2, but
dmalloc defines it, so, farther tests with -ldmalloc added wrongly
find it. the cheapest fix is to move dmalloc detection and inclusion
to the bottom of configure, so it can't affect detection of the system
capabilities.

Here is the patch.

With regards,
Timur Bakeyev.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08 13:20:52 +02:00
Volker Lendecke
23b501e02a Add an early prototyp of pdb_ads.c.
The purpose of this module is to connect to a locally running samba4 ldap
server for an alternative "Franky" setup. Right now it contains a couple of
gross hacks: For example it just takes the s4-chosed RID directly as uid/gid...

Checking in tldap and pdb_ads now, I think 3777 insertions are enough for a
start...
2009-06-06 13:10:30 +02:00
Volker Lendecke
3ada1a19ab Attempt to fix the build on HP/UX 2009-05-26 23:38:22 +02:00
Volker Lendecke
e3b5e286d0 Do not do a merged build without shared libs
Jelmer, you might want to take a look at Andrew B's problem with

--enable-developer --disable-shared --disable-shared-libs
2009-05-20 08:59:27 +02:00
Volker Lendecke
8811aa1376 Only build the krb5 locator when building shared libs 2009-05-20 08:41:57 +02:00
Volker Lendecke
05870b7ee7 Another attempt at fixing the static build of vfs_notify_fam 2009-05-19 20:46:52 +02:00
Volker Lendecke
3e1b6487e7 Fix detection of "enum FAMCodes" 2009-05-19 20:46:52 +02:00
Volker Lendecke
31a2347a0a Fix static linking of vfs_notify_fam 2009-05-16 19:22:03 +02:00
Michael Adam
66dff4073d s3:build: extend the support fo Debian GNU/kFooBar to kOpenSolaris
As suggested by Robert Millan.

Michael
2009-05-12 08:41:01 +02:00
Michael Adam
5fba1e938c s3:build: support non-linux gnu ports
This is based on a patch by the debian package maintainers,
adapted for the merged branch.

Michael
2009-05-12 08:41:01 +02:00
Jeremy Allison
3d6f4a7af7 Fix bug #6330 - DFS doesn't work on AIX. Jeremy. 2009-05-08 11:39:05 -07:00
Björn Jacke
ddd37c2b23 s3:configure: "test" only takes one "=" 2009-05-08 00:33:30 +02:00
Geza Gemes
5c2404fb86 Fix bug 6136: New AFS syscall conventions
Haven't checked this myself, but as I've already got several reports that Samba
won't compile against current OpenAFS anymore, I just believe Geza Gemes. This
patch only affects AFS code, so it should not hurt anything else.

Volker
2009-05-03 22:16:01 +02:00
Volker Lendecke
cacfd6ee01 Explicitly link in pthreads for lib/pthreadpool if required
No idea why it works on my Linux without -lpthread ... :-)
2009-05-02 17:15:02 +02:00
Volker Lendecke
db2cc8c9f2 Add thread pool
Included if pthreads are found, can be disabled with --enable-pthreadpool=no

Tim, Steven, I haven't yet seen comments from you. You have been asking for
such a thing at SambaXP. Do you like this? :-)
2009-05-01 12:30:58 +02:00
Björn Jacke
740c2c4366 ѕ3/configure: fix regexp for ld version recognition
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-04-22 16:05:36 +02:00
Jelmer Vernooij
31120c9eac Move syslog check out of m4 library file into configure.in 2009-04-20 16:25:17 +02:00
Volker Lendecke
ffdc2a3fe8 Print an error if trying a merged build without a system kerberos lib
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-04-01 16:31:10 +02:00
Michael Adam
993c87495b s3:build: rename WINBIND_LIBS -> LIBWBCLIENT_LIBS for unification
Michael
2009-04-01 10:41:34 +02:00
Michael Adam
baf39de623 s3:build: unify linking of libwbclient with a @LIBWBCLIENT_TARGET@
just like for the libs configured with SMB_LIBRARY().
This makes @LIBWBCLIENT_STATIC@ vanish from the object collections.

Michael
2009-04-01 10:41:33 +02:00
Björn Jacke
4b184eaea1 s3/cups: add encryption support 2009-03-30 11:11:19 +02:00
Volker Lendecke
63aae58fdc Use avahi to register _smb._tcp in smbd 2009-03-23 17:09:53 +01:00
Volker Lendecke
93e13fe3e0 Add tevent avahi binding 2009-03-23 17:09:53 +01:00
Volker Lendecke
4c1794c41c Add avahi detection to configure 2009-03-23 17:09:53 +01:00
Volker Lendecke
dfa93041ab Disable dns_sd by default 2009-03-23 17:09:53 +01:00
Michael Adam
a4cc3e2538 s3:build: prevent from setting "-O -g", check for $debug first.
This makes configure actually behave as the comments describe.
The reversal of order was introduced by mistake in
90ea8ae9b1

Michael
2009-03-23 14:22:37 +01:00
Björn Jacke
2dc8ce59b2 don't set -O twice
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-23 14:20:46 +01:00
Volker Lendecke
1bff89c4ad Only build the dirsort module if we have the dirfd function
Fix the build on HP/UX
2009-03-22 13:17:42 +01:00
Andy Kelk
2835d0d463 Add dirsort module 2009-03-22 11:44:13 +01:00
Günther Deschner
36d0785806 s3-spoolss: remove rpc_server/srv_spoolss.c alltogether.
Guenther
2009-03-18 17:09:33 +01:00
Steve Langasek
c6b570ce30 s3: Fix bugs in the detection of the GNU ld version (Bug #6147)
This bug results in a failure to use linker scripts to limit the set of symbols
exported by our shared libraries.

Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 22:10:23 +01:00
Björn Jacke
c7dba467f2 remove needless rpath stuff for default paths as early as possible
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 16:50:38 +01:00
Björn Jacke
586a4da5dd fix configure check for external talloc libs 2009-03-16 07:51:46 +01:00
Jelmer Vernooij
251bf8aab5 Merge branch 'checktalloc' of /home/jelmer/samba4 2009-03-15 13:52:01 +01:00
Jelmer Vernooij
0c72c503fa Fix fallback if system doesn't provide talloc. 2009-03-14 21:06:41 +01:00
Jelmer Vernooij
61447dfbbf Allow using external libtalloc. 2009-03-14 20:56:26 +01:00
Björn Jacke
e6777e5266 fix configure check by avoiding main(main(...))
AC_TRY_LINK automatically wraps a main(). Double main() causes this test to fail
on some compilers.
2009-03-11 12:08:51 -07:00
Volker Lendecke
3d280639c4 Add a vfs_preopen module to hide fs latencies 2009-03-10 18:11:56 +01:00
Steven Danneman
5a9f668dab s3: Remove madvise support
This reverts 193be432.  The MADVISE_PROTECT is inherited by all child
processes and cannot be unset.  The intention of the original patch was
to protect the parent process, but allow children to be killed in low
memory.  Since this isn't possible with the current API, reverting the
whole feature.
2009-03-04 11:07:27 -08:00
Dan Sledz
aeab22b55c s3: Rename auth_onefs_wb and pdb_onefs_sam
auth_onefs_wb.c -> auth_wbc.c
pdb_onefs_sam.c -> pdb_wbc_sam.c

No changes to functionality
2009-02-24 16:08:06 -08:00
Steven Danneman
c207fe42a7 s3: Fix build break in d9a842b2
* actually check for existance of sysctlbyname()
2009-02-20 23:25:49 -08:00
Dan Sledz
fc02c3b089 Introduce a new passdb backend: pdb_onefs_sam
Implements a custom backend for onefs that exclusively uses the wbclient
interface for all passdb calls.
It lacks some features of a standard passdb.
In particular it's a read only interface and doesn't implement privileges.
2009-02-20 19:39:07 -08:00
Dan Sledz
c383022f89 Introduce a new authentication backend auth_onefs_wb
This new backend is custom tailored to onefs' unique requirements:
1) No fallback logic
2) Does not validate the domain of the user
3) Handles unencrypted passwords
2009-02-20 19:39:07 -08:00
Dan Sledz
e311dcff22 Allow building with an external libwbclient library
Introduce a new configure option --with-wbclient which specifies a
location to find a compatible libwbclient library to link against.  This
options is overwritten by --with-winbind
2009-02-20 19:39:06 -08:00
todd stecher
d9a842b26f S3: Detect max_open_files from system
- Attempt to use syscalls to determine max-open-files value.
- Add in periodic logging when max file limit reached
2009-02-20 16:35:48 -08:00
Tim Prouty
73d5f14c04 s3 OneFS: Add shadow copy module 2009-02-19 21:09:31 -08:00
todd stecher
c441f58ded S3: Allow SMBD processes to survive in low memory condidtions
This commit adds a configure argument which allows for setting MADV_PROTECT
in the madvise() API.  With this enabled the kernel won't kill SMBD when
it's running low on memory.
2009-02-18 18:08:32 -08:00
Michael Adam
08bef5bba0 s3:build: improve the check for a working krb5-config.
Not only check if it exists and is executable, but also
check whether it accepts the command line "krb5-config --libs gssapi".

Chris Hoogendyk <hoogendyk@bio.umass.edu> has reported configure
failing on a Solaris machine due to krb5-config raising errors on
these options.

Michael
2009-02-17 18:21:52 +01:00
Derrell Lipman
2b097cbb4e It seems some systems use f_flags instead of f_flag. Use the appropriate one. 2009-02-14 16:01:05 -05:00
todd stecher
dbe2588e46 s3: Test module for perfcount system
Add 'perfcount module = pc_test' to exercise this module. Results are
logged into smb.log every 50 operations (configurable via smb.conf).
2009-02-13 12:59:30 -08:00
Zack Kirsch
a3531314dd OneFS implementation of BRL VFS ops:
* Much of the beginning should look familiar, as I re-used the OneFS oplock
  callback record concept. This was necessary to keep our own state around - it
  really only consists of a lock state, per asynchronous lock that is currently
  unsatisfied.  The onefs_cbrl_callback_records map to BLRs by the id.
* There are 4 states an async lock can be in. NONE means there is no async
  currently out for the lock, as opposed to ASYNC. DONE means we've locked
  *every* lock (keep in mind a request can ask for multiple locks at a time.)
  ERROR is an error.
* onefs_cbrl_async_success: The lock_num is incremented, and the state changed,
  so that when process_blocking_lock_queue is run, we will try the *next* lock,
  rather than the same one again.
* onefs_brl_lock_windows() has some complicated logic:
    * We do a no-op if we're passed a BLR and the matching state is ASYNC --
      this means Samba is trying to get the same lock twice, and we just need
      to wait longer, so we return an error.
    * PENDING lock calls happen when the lock is being queued on the BLQ -- we
      do async in this case.
    * We also do async in the case that we're passed a BLR, but the lock is not
      pending. This is an async lock being probed by process_blocking_lock_queue.
    * We do a sync lock for any normal first request of a lock.
    * Failure is returned, but it doesn't go to the client unless the lock has
      actually timed out.
2009-02-13 10:08:55 -08:00
Björn Jacke
4f6d172825 There are systems where nanosleep is in libc *and* in librt.
Let's just do the test in librt when the first one failed.
2009-02-12 13:00:45 +01:00
Björn Jacke
263b798db9 tidy up timestamp checks
AC_CHECK_MEMBERS should be a sufficient check, there's no need to do manual
compile tests. We can also assume that we have ctime and atime members when we
have the mtime member.
2009-02-12 13:00:44 +01:00
Björn Jacke
aff48fba18 today valgrind is available on 64bit Linux, too 2009-02-12 13:00:44 +01:00
Tim Prouty
16d2c2fa58 s3 OneFS: Add kernel oplocks implementation
A few functions in oplocks_onefs.c need to be accessed from the onefs
vfs module.  It would be ideal if oplocks were implemented at the vfs
layer, but since they aren't yet, a new header is added to
source3/include to make these functions available to the onefs vfs
module.  oplocks_onefs.o doesn't need to be linked into the onefs vfs
module explicitly, since it is already linked into smbd by default.
2009-02-09 23:47:45 -08:00
todd stecher
f8c0d2fe01 S3 OneFS: Add in Isilon specific performance counter module 2009-02-09 13:23:44 -08:00
todd stecher
54c51a66e3 S3: New module interface for SMB message statistics gathering
This changelist allows for the addition of custom performance
monitoring modules through smb.conf. Entrypoints in the main message
processing code have been added to capture the command, subop, ioctl,
identity and message size statistics.
2009-02-09 13:23:44 -08:00
Björn Jacke
c7377b2c4d look for nanosleep in librt, some Unix flavours have it there 2009-02-09 09:15:52 +01:00
Günther Deschner
e11fa4cc33 s3-spoolss: prepare to use generated spoolss.
Guenther
2009-02-06 18:54:51 +01:00
Günther Deschner
a63d4c5ed1 s3-eventlog: remove old eventlog server.
Guenther
2009-02-04 22:51:39 +01:00
Stefan Metzmacher
c3ab292655 merged-build: force non-shared build for samba4
This should fix 'make test4'.

metze
2009-02-03 16:31:01 +01:00
Tim Prouty
2c2545d45a s3 build: Remove unused fstat check to fix a bunch of HAVE_FSTAT warnings 2009-01-30 14:41:07 -08:00
Björn Jacke
ede1732195 add configure check for Tru64 sub-second timestamp resolution 2009-01-29 15:26:13 -08:00
Michael Adam
a44649cf98 s3:build: fix build on AIX - only test for splice on linux
Michael
2009-01-30 00:17:56 +01:00
Björn Jacke
11f32204f8 add configure check for AIX style sub-second resolution support 2009-01-29 09:51:36 -08:00
Björn Jacke
f9926a4944 rather cosmetic fix for failed birthtime configure checks 2009-01-29 09:51:35 -08:00
Björn Jacke
bc84bd7b71 give configure check "sub-second timestamps without struct timespec" a chance to succeed 2009-01-29 09:51:35 -08:00
Stefan Metzmacher
11163720e6 s3:configure: autodetect ctdb/cluster support
We need to make sure ctdb has transaction support
and we autodetect ipv6 support.

metze
2009-01-29 17:40:13 +01:00
Jeremy Allison
ca3a801a82 Fix detection of dns_sd libraries.
Jeremy.
2009-01-27 16:19:09 -08:00
Kai Blin
a7e620522e async_req: Fix the S4 build 2009-01-27 12:38:11 +01:00
todd stecher
7bb3860f49 This change allows for the autoconfigre detection of sub-second time resolution in the FreeBSD stat structure 2009-01-23 21:05:38 -08:00
Kai Blin
85b36d95fb async_req: Move to top level dir 2009-01-23 17:57:33 +01:00
Jelmer Vernooij
e490c1b8c8 Move configure test files to the top-level and share them between s3 and
s4.
2009-01-22 11:35:28 +01:00
Jelmer Vernooij
f607ad2e90 Move check_python.m4 to common m4 directory. 2009-01-21 18:07:41 +01:00
Jelmer Vernooij
2c1d70ab79 Automagically expand includes in Makefile.in during configure time
when make is not GNU Make.
2009-01-21 17:21:45 +01:00
Jelmer Vernooij
3a4e61ecd8 Only check for Perl once in Samba 3. 2009-01-21 16:49:36 +01:00
Jelmer Vernooij
4967f6948f Move check_make.m4 to the top-level. 2009-01-21 16:46:52 +01:00
Günther Deschner
22a96cbe31 s3-svcctl: remove last traces of hand-marshalled svcctl code.
Guenther
2009-01-09 17:08:19 +01:00
Stefan Metzmacher
321d875af9 s3: build lib/tevent staticly into samba3
metze
2009-01-05 15:07:36 +01:00
Günther Deschner
43d0a4813b s3-ntsvcs: remove last traces of hand-marshalled NTSVCS.
Guenther
2008-12-17 23:52:42 +01:00
Volker Lendecke
5659f18b86 Compile liblua 2008-12-17 12:57:18 +01:00
Kai Blin
6821d898d7 nsswitch: Move source3 files to top level dir.
Don't move source4 files yet to not confuse git's rename tracking too much.
2008-12-16 13:02:45 +01:00
Volker Lendecke
57a9380f7b Also search for -lgpfs which is available as GPL in GPFS PTF8
(cherry picked from commit 3c93c96fd0)

Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10 23:58:25 +01:00
Volker Lendecke
0114cb52ca Revert "Also search for -lgpfs which is available as GPL in GPFS PTF8"
This reverts commit 3c93c96fd0.
2008-12-10 23:13:48 +01:00
Volker Lendecke
3c93c96fd0 Also search for -lgpfs which is available as GPL in GPFS PTF8 2008-12-10 18:30:28 +01:00
Steven Danneman
85b8cccab0 Add support for OneFS ACLs
Add to the OneFS VFS module, support for NTFS ACLs through the calls:

SMB_VFS_FGET_NT_ACL()
SMB_VFS_GET_NT_ACL()
SMB_VFS_FSET_NT_ACL()

Also create several new onefs specific smb.conf parameters in onefs.h
2008-12-02 20:35:45 -08:00
Tim Prouty
239f815e30 Add OneFS VFS module skeleton.
Also set configure to autodetect OneFS OS and build this VFS module.
2008-12-02 20:35:45 -08:00
Kai Blin
ac6c003078 configure.in: Fix smbtorture_s3 tests.
Seems like Jeremy forgot to fix configure.in when importing d448132 to master
in 8d674e35. Generate the vfs_streams_depot module so make test works again.
2008-12-02 10:26:42 +01:00
Dan Sledz
417f187645 Allow SYSLOG_FACILITY to be modified with a new configure option called --with-syslog-facility 2008-11-24 15:34:33 -08:00
Michael Adam
09bc3a2f9c s3 build: when detecting to use internal zlib, put "-I../lib/zlib" first in CFLAGS
This should fix a build error on our Tru64 build farm box where a zlib.h is
found in an include path handed in via external CFLAGS, but that zlib.h belongs
to an old zlib. So in ndr_compression.c, "#include <zlib.h>" includes the wrong
header for the internal zlib.

Michael
2008-11-23 02:02:26 +01:00
Dan Sledz
c23a6dc3ec FreeBSD configure check for backtrace_symbols
On FreeBSD backtrace_symbols is defined in libexecinfo.so.1.  Look for it
there as well.
2008-11-21 16:37:43 -08:00
Bo Yang
a8722a190b i18n/l10n pam_winbind
Signed-off-by: Günther Deschner <gd@samba.org>
2008-11-13 12:43:58 +01:00
Tim Prouty
d38bffd412 s3: Add support for storing dos attributes as st_flags in the stat struct.
Some filesystems have support for storing dos attributes directly in
the inode's st_flags and accessing them through the stat struct.  This
patch:

- Adds a configure check to see if the special flags are available.
- Implements getting and setting dos attributes in the stat struct and
  inode, respectively.

This will not change the existing functionality of any system that
doesn't have the special flags available.
2008-11-12 09:48:50 -08:00
Jeremy Allison
8076e50fad Added vfs_acl_tdb.c module to do ACLs completely in userspace. Passes all of RAW-ACLS except for the last test which uses a non-POSIX chown. More testing/documentation to follow.
Jeremy.
2008-11-10 17:57:22 -08:00
Jelmer Vernooij
b327c0a2da Samba3: Remove more configure tests already done by libreplace. 2008-11-02 17:39:41 +01:00
Jelmer Vernooij
6a2caa34b2 Remove sys_chroot() - libreplace already provides an alternative. 2008-11-01 03:46:09 +01:00
Jelmer Vernooij
c2a4db0c63 Remove tests for functions provided by libreplace from configure. 2008-11-01 03:43:30 +01:00
Andrew Tridgell
a9fed0955c use glibc sys/inotify.h header
when we first added the inotify code glibc didn't have the inotify
functions yet. Now that it does we can use the official header and
avoid the asm/unistd.h syscall workaround
2008-10-30 12:30:04 -07:00
Jelmer Vernooij
aafe9ca1aa Fix definition of environ on Mac OS X (bugzilla: #5412). 2008-10-27 23:39:53 +01:00
Jelmer Vernooij
9de5172a20 Remove duplicate check for volatile, move all utime-checks to
libreplace.
2008-10-27 23:23:15 +01:00
Jelmer Vernooij
8fe59b9b00 Automatically enable merged build (for more complete 'make test') when possible during developer builds. 2008-10-21 16:04:54 +02:00
Jelmer Vernooij
6ba693b5de Make sure crypt libs get included. 2008-10-19 14:54:16 +02:00
Jelmer Vernooij
33032d591f Move ufc to libreplace. 2008-10-18 17:49:41 +02:00
Jelmer Vernooij
9d9f5b44ed Use common detection function for zlib. 2008-10-18 14:14:44 +02:00
Jelmer Vernooij
daeceff217 Fix typo. 2008-10-15 01:30:11 +02:00
Jelmer Vernooij
65fdcd92fa Build zlib (required for ndr_compression) if it's not pulled in through
other means.
2008-10-15 01:04:13 +02:00
Jelmer Vernooij
ecca199486 Fix merged build . 2008-10-14 23:25:12 +02:00
Jelmer Vernooij
009dcbf477 Give the user a hint about whether a merged build would be possible. 2008-10-14 22:39:19 +02:00
Jelmer Vernooij
5c16a06185 Allow auto-detect if --enable-merged-build was not specified. 2008-10-14 21:46:58 +02:00
Volker Lendecke
439086099a Add netlogond auth method
This authenticates against a local running samba4 using SamLogonEx. We retrieve
the machine password using samba4's mymachinepwd script and store the schannel
key for re-use in secrets.tdb.
2008-10-06 09:54:17 +02:00
Volker Lendecke
9097a67def Fix bug 5798: "CFLAGS info lost in configure"
Michael, please check and merge to the other branches if it's right.

Thanks,

Volker
2008-10-02 02:27:30 +02:00
Günther Deschner
c12c69c6ee libgpo: add gpext_security module build to configure.
Guenther
2008-09-27 00:58:10 +02:00
Holger Hetterich
964fb9f249 SMB traffic analyzer vfs module from Holger Hetterich <hhetter@novell.com>
Used to gather data to feed to a database for live and historical
analysis of usage per user, per share, etc.

Helper apps to read the data still to come.  This one still needs to be
made ipv6 enabled (connection is made to the helper app).
2008-09-24 19:16:57 -04:00
Stefan Metzmacher
ec0eab7f0b s3:configure: add -L./bin also for the merged build
metze
2008-09-24 23:11:13 +02:00
Volker Lendecke
6660ac5d0a Fix make pch in the merged build 2008-09-23 01:44:41 +02:00
Gerald (Jerry) Carter
7d5fb989ac idmap_adex: Add new idmap plugin for support RFC2307 enabled AD forests.
The adex idmap/nss_info plugin is an adapation of the Likewise
Enterprise plugin with support for OU based cells removed
(since the Windows pieces to manage the cells are not available).

This plugin supports

  * The RFC2307 schema for users and groups.
  * Connections to trusted domains
  * Global catalog searches
  * Cross forest trusts
  * User and group aliases

Prerequiste: Add the following attributes to the Partial Attribute
Set in global catalog:

  * uidNumber
  * uid
  * gidNumber

A basic config using the current trunk code would look like

 [global]
      idmap backend = adex
      idmap uid = 10000 - 19999
      idmap gid = 20000 - 29999
      idmap config US:backend = adex
      idmap config US:range = 20000 - 29999
      winbind nss info = adex

       winbind normalize names = yes
       winbind refresh tickets = yes
       template homedir = /home/%D/%U
       template shell = /bin/bash
2008-09-22 15:46:19 -07:00
Jeremy Allison
507050ab55 Ensure vfs_acl_xattr is built.
Jeremy.
2008-09-17 12:21:19 -07:00
Jelmer Vernooij
06999ae473 Merge branch 'master' of ssh://git.samba.org/data/git/samba into singlelib 2008-09-17 14:34:54 +02:00
Jelmer Vernooij
94855cd692 Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
Gerald (Jerry) Carter
63554b4078 idmap_hash: Add the idmap/nss-info provider from Likewise Open.
* Port the Likewise Open idmap/nss_info provider (renamed to
  idmap_hash).

* uids & gids are generated based on a hashing algorithm that collapse
  the Domain SID to a 31 bit number.  The reverse mapping from the
  high order 11 bits to the originat8ing sdomain SID is stored in
  a has table initialized at start up.

* Includes support for "idmap_hash:name_map = <filename>" for the
  name aliasing layer.  The name map file consist of entries in
  the form "alias = DOMAIN\name"
2008-09-16 10:28:11 -07:00
Jelmer Vernooij
9ef623beda Merge branch 'singlepopt' into single
Conflicts:
	source4/Makefile
2008-09-16 17:20:54 +02:00
Jelmer Vernooij
c8bff39df6 Use a single copy of popt in samba3 and samba4. 2008-09-16 17:20:16 +02:00
Jelmer Vernooij
a347ab83f4 Merge branch 'singlensswrap' into single
Conflicts:
	source3/configure.in
	source4/Makefile
	source4/configure.ac
	source4/lib/nss_wrapper/nss_wrapper.c
	source4/lib/replace/system/passwd.h
	source4/main.mk
2008-09-16 17:07:11 +02:00
Jelmer Vernooij
ca2da61540 Use single cope of nss_wrapper in Samba 3 and Samba 4. 2008-09-16 17:05:00 +02:00
Jelmer Vernooij
7fdca97040 Merge branch 'singlesw' into single
Conflicts:
	source3/lib/socket_wrapper/socket_wrapper.c
	source4/lib/replace/system/network.h
2008-09-16 16:46:22 +02:00
Jelmer Vernooij
bf21371c09 Merge branch 'singlereplace' into single
Conflicts:
	source4/configure.ac
	source4/torture/local/config.mk
2008-09-16 16:45:10 +02:00
Jelmer Vernooij
f957aeaee6 Merge branch 'singletdb' into single 2008-09-16 16:44:16 +02:00
Jelmer Vernooij
41669237cd Use single copy of socket_wrapper in Samba 3 and Samba 4. 2008-09-16 16:39:45 +02:00
Jelmer Vernooij
0888ffa2b7 Make Samba 3 and Samba 4 both use the same single copy of libreplace. 2008-09-16 16:30:14 +02:00
Jelmer Vernooij
7111645d3c Use single copy of tdb in both samba3 and samba4. 2008-09-16 15:16:31 +02:00
Jelmer Vernooij
80a5da73e9 Share talloc source code between Samba 3 and Samba 4. 2008-09-16 14:36:41 +02:00
Timur
4dfa72423e Fix aio on FreeBSD. 2008-09-15 18:45:10 -07:00
Jelmer Vernooij
a3a4c9a1fd Fix standalone build. 2008-09-15 15:49:27 +02:00
Jelmer Vernooij
25b08eb2e2 Add flag for merged build. 2008-09-15 15:16:54 +02:00
Jelmer Vernooij
c592ec0e13 Import merged build patch. 2008-09-15 14:30:15 +02:00
Jelmer Vernooij
66060a0ba7 Rename object variables to avoid clashes with Samba 4.
(This used to be commit c77758de5d)
2008-09-09 19:03:49 +02:00
Michael Adam
c1d4ae3b59 configure: fix typo in GNU ld version-script test.
Michael
(This used to be commit 0d9f3dfc4c)
2008-09-05 11:41:48 +02:00
Jelmer Vernooij
174fd4a731 Use different variable names for talloc and tdb object file names than
Samba 4.
(This used to be commit 3f821e8c88)
2008-09-04 23:43:58 +02:00
Jeremy Allison
1cae2ac905 Add st_birthtime and friends for accurate create times on systems that support it (*BSD and MacOSX).
Should have done this ages ago, sorry.
Jeremy.
(This used to be commit 4c3a955890)
2008-08-27 15:06:14 -07:00
Andrew Tridgell
d9f61dbdc9 Avoid a race condition in glibc between AIO and setresuid().
See this test: http://samba.org/~tridge/junkcode/aio_uid.c

The problem is that setresuid() tries to be clever about threads, and
tries to change the euid of any threads that are running. If a AIO read
or write completes while this is going on then the signal from the thread
where the IO completed is lost, as it gets -1/EPERM from rt_sigqueueinfo()

The simplest fix is to try to use setreuid() instead of setresuid(),
as setreuid() doesn't try to be clever. Unfortunately this also means
we must use become_root()/unbecome_root() in the aio code.
(This used to be commit 56c5a6f024)
2008-08-26 14:39:42 +02:00
Jeff Layton
2c96b1fd5b cifs.upcall: enable building by default on linux
When building on linux, default to building cifs.upcall. Throw a
warning if ADS support is disabled or keyutils isn't installed.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit d8018d15f0)
2008-08-21 19:41:14 -04:00
Michael Adam
f14e833c53 libsmbclient examples: add Makefile.internal.in for building from a samba source
Without needing to install libsmbclient to /usr/local/samba first.

Michael
(This used to be commit f0e47bce2e)
2008-08-21 12:16:05 +02:00
Michael Adam
762439025a Revert "Add a gpfs_prefetch module"
This reverts commit fc9b30bed2.

Sorry, this got pushed by accident:

"This can not go upstream yet because it uses the non-GPL libgpfs."

Michael
(This used to be commit 26a3cf0be9)
2008-08-14 17:46:28 +02:00
Volker Lendecke
b0935e5663 Add a gpfs_prefetch module
This can not go upstream yet because it uses the non-GPL libgpfs. So it will
not be compiled by default and will not be included in the SOFS RPMs. But upon
Sven's request, we include it in the git tree and the source RPMs, so that it
can be built for in-house tests.
(This used to be commit fc9b30bed2)
2008-08-13 11:54:05 +02:00
Günther Deschner
9d88cc3394 netapi: generate the netapi testsuite makefile.
Guenther
(This used to be commit a2247a5b19)
2008-08-11 19:02:28 +02:00
Jeremy Allison
6d99eedafc Try and fix the build for systems that don't have krb5_auth_con_set_req_cksumtype().
Jeremy.
(This used to be commit 8598e7b06e)
2008-08-08 15:15:36 -07:00
Jeremy Allison
e8c7ff3e88 Add Derrick Schommer's <dschommer@F5.com> kerberos delegation patch. Some
work by me and advice by Love.
Jeremy.
(This used to be commit ecc3838e4c)
2008-08-08 14:32:15 -07:00
Zach Loafman
472519eb69 Check for f_frsize when using statvfs
Add a configure test for the availability of f_frsize in struct statvfs
(for broken platforms that define statvfs but still have
f_bsize/f_iosize). Also add sys/types.h to the other struct statvfs test
(again, some platforms need it).
(This used to be commit 591bf1d15f)
2008-07-22 15:00:48 +02:00
Zach Loafman
45bbad9ca0 Add --enable-picky-developer
This adds an --enable-picky-developer option that will halt compilation
on warnings. Yes, this could be handled by a direct Makefile change, but
people should be encourage to do it!
(This used to be commit 10a2ab4077)
2008-07-22 15:00:48 +02:00
Jeremy Allison
cdabee2bb4 This patchset comprises a number of cleanups for the cifs upcall
binary. The biggest change is that it renames it from cifs.spnego
to cifs.upcall since the cifs.spnego name really isn't applicable
anymore.

It also fixes a segfault when the program is run without any args
and adds a manpage. Comments and/or suggestions appreciated.

This set should apply cleanly to the 3.3 test branch.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jeremy.
(This used to be commit c633f10d9e)
2008-07-16 17:27:05 -07:00
Zach Loafman
55f676550a Fix realpath() check so that it doesn't generate a core() when it fails.
(This used to be commit 5fdbf89c89)
2008-07-10 15:24:57 -07:00
Michael Adam
373c315788 build: remove library-versions.in - it is not used any more.
Michael
(This used to be commit e2699b7f86)
2008-07-07 20:34:04 +02:00
Michael Adam
576d1dc66d build: set SONAME version of libraries from configure, not using library-versions
This sets the library versions (previously gotten from library-versions
file during make) already at configure time.

For library "foo", the version is stored in the LIBFOO_SOVER configure
variable.  For all libraries except libwbclient, this is done through the
call of SMB_LIBRARY().

NOTE: Currently the versions are hard-coded in the SMB_LIBRARY() calls in
configure.in, but this change makes it easier to retrieve the version from
the libraries source dir at configure time, e.g. for talloc and tdb.

Michael
(This used to be commit 3c300f9f8c)
2008-07-07 20:34:04 +02:00
Michael Adam
d51180e4b8 build: handle libaddns by SMB_LIBRARY() and correctly create SONAME file.
Create .so file as a symlink.

Michael
(This used to be commit bbf665ad57)
2008-07-07 20:34:03 +02:00
Michael Adam
fc54fc52f4 build: handle libsmbsharemodes by SMB_LIBRARY() and correctly create SONAME file.
Create libsmbsharemodes.so as a symlink.

Michael
(This used to be commit 1157048146)
2008-07-07 20:34:02 +02:00
Michael Adam
1b20cf1324 build: handle libsmbclient by SMB_LIBRARY() and correctly create soname file.
Create libsmbclient.so as a symlink to libsmbclient.so.0.

Michael
(This used to be commit c463bd0cb9)
2008-07-07 20:34:02 +02:00
Karolin Seeger
006515d889 Revert "build: add symbol versioning when we build with gnu ld"
This reverts commit cb5492978b.

For more information, please have a look at the discussion on
samba-technical starting with [1].

[1] http://lists.samba.org/archive/samba-technical/2008-June/059511.html

Karolin
(cherry picked from commit 1e5aeb96f9)
(This used to be commit d06baf0e74)
2008-06-27 13:46:26 +02:00
Andrew Bartlett
086de4ddb5 Without stdlib.h we don't get a prototype for free().
This test fails if GCC emits any warnings (presumably to detect the
function propertly), but unless we include this message then free()
fail.  Why we need to call free in a configure test is probably
something to blame on valgrind...

Andrew Bartlett
(This used to be commit d013f6fadc)
2008-06-17 22:45:29 +10:00
Volker Lendecke
e7530f567c Use the correct cups-devel test for HAVE_IPRINT also
(This used to be commit a42d7e1146)
2008-06-14 11:10:13 +02:00
Volker Lendecke
c08611a6c5 Correctly check for presence of cups-devel
On SuSE at least cups-config belongs to cups-libs which does not contain the
headers which are in cups-devel.
(This used to be commit 2408d2493f)
2008-06-14 10:39:25 +02:00
Volker Lendecke
67f3ee618b Add -brtl to the AIX linker flags
Thanks to William Jojo
(cherry picked from commit 74b195b544)
(This used to be commit 5ffad12d68)
2008-06-12 13:17:37 +02:00
Stefan Metzmacher
b19587b464 configure: we require autoconf 2.54
I've tested with autoconf from 2.53 to 2.62.

metze
(This used to be commit a268a6d251)
2008-06-09 11:05:06 +02:00
Stefan Metzmacher
4461f0a6ee configure: fix warnings with autoconf-2.62 rename SMB_BUILD_ => samba_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(This used to be commit 89663ab4d1)
2008-06-09 11:04:56 +02:00
Stefan Metzmacher
7f70c126b2 configure: fix warnings with autoconf-2.62 rename samba_stat_hires => samba_cv_stat_hires
AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(This used to be commit 426b1e36e2)
2008-06-09 11:04:50 +02:00
Stefan Metzmacher
2c0360fe26 configure: fix warnings with autoconf-2.62 rename smb_krb5_ => smb_krb5_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(This used to be commit 38a03d61ec)
2008-06-09 11:04:45 +02:00
Stefan Metzmacher
ad90333e89 build: make sure LIBWBCLIENT_*_TARGET is never empty
This should fix the build with non gnu make

metze
(cherry picked from commit 401a0c84fe)
(This used to be commit 36ba31e39b)
2008-05-23 17:23:46 +02:00
Stefan Metzmacher
7abda3fb9d build: add symbol versioning when we build with gnu ld
There's --enable-symbol-versioning=no to disable it.

metze
(cherry picked from commit cb5492978b)
(This used to be commit a739652d94)
2008-05-23 17:19:57 +02:00
Stefan Metzmacher
3d6911afca build: autogenerate exports/libwbclient.syms
metze
(cherry picked from commit 8e0fcd583a)
(This used to be commit 17ce137754)
2008-05-23 17:19:56 +02:00
Stefan Metzmacher
ef0dd8850b build: pass .syms extention via @SYMSEXT@ from configure
metze
(cherry picked from commit efb23fdce7)
(This used to be commit 3bf5a047e3)
2008-05-23 17:19:55 +02:00
Stefan Metzmacher
033ec7fbf5 configure: samba_cv_unixsocket was renamed into libreplace_cv_HAVE_UNIXSOCKET
metze
(This used to be commit d53b589deb)
2008-05-22 13:02:59 +02:00
Stefan Metzmacher
3b6b2f26fc configure: remove HAVE_IPV6 test as LIBREPLACE_NETWORK_CHECKS already have this
metze
(This used to be commit e94ff756be)
2008-05-22 13:02:59 +02:00
Kai Blin
00f6ad7b5a net: Split out "net afs"
(This used to be commit 3f10527f79)
2008-05-20 14:27:56 +02:00
Kai Blin
10f9a60e39 configure: Fix comment to match the current iconv check.
(This used to be commit 5d9963479f)
2008-05-18 02:27:45 +02:00
Stefan Metzmacher
12dc451163 configure: make use of LIBREPLACE_NETWORK_LIBS instead of redoing the tests
metze
(This used to be commit 6b782b5897)
2008-05-17 13:18:34 +02:00
Stefan Metzmacher
5bb40d07f8 configure: remove some header checks which are already done by AC_LIBREPLACE_NETWORK_CHECKS
metze
(This used to be commit d81e58597e)
2008-05-17 13:18:33 +02:00
Stefan Metzmacher
b800fad625 configure: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET and rely on libreplace
metze
(This used to be commit ca163ff81a)
2008-05-17 13:18:32 +02:00
Stefan Metzmacher
ab90fc9a56 configure: remove unused configure check for HAVE_WORKING_AF_LOCAL
metze
(This used to be commit dddc4f0cef)
2008-05-17 13:18:31 +02:00
Stefan Metzmacher
fc83dd6fd6 libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
metze
(This used to be commit 0c9b24e1e7)
2008-05-16 08:51:47 +02:00
Kai Blin
7c4c5e5f84 configure: Kill linker warnings about 32bit libs on 64bit Linux.
(This used to be commit 9a40cbd66f)
2008-05-14 15:23:41 +02:00
Jeremy Allison
82572cfd43 Enable tests for splice on Linux. Add a static (vl, I hate this)
so we can detect broken Linux recvfile splice and correctly fall
back.
Jeremy.
(This used to be commit ec2d301a7a)
2008-05-06 15:44:39 -07:00
Günther Deschner
fb623c942d pam_winbind: Fix Bug #5430 (patch from fumiyas@osstech.co.jp).
Guenther
(This used to be commit d8372f73b9)
2008-04-30 18:34:29 +02:00
Michael Adam
5a4db7eacb configure: fix a comment typo
Michael
(This used to be commit af2a1f15e6)
2008-04-22 14:13:48 +02:00
Björn Jacke
25f9ca7b05 add AC_TRY_RUN_STRICT support for Sun Studio compiler
(This used to be commit ce7025df29)
2008-04-16 16:40:44 +02:00
Gerald W. Carter
72556d4c8c Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.
(This used to be commit 359921acd4)
2008-04-16 15:48:00 +02:00
Günther Deschner
de013be0b6 gpo: add scripts plugin.
Guenther
(This used to be commit cd6388f040)
2008-04-13 17:52:11 +02:00
Michael Adam
7d7b420ad1 libnetapi: fix dependency problem by linking libnetapi statically (internally)
This is a workaround until we have isolated enough internal libraries
as shared libraries.

Michael
(This used to be commit 8a87e40270)
2008-04-12 02:17:46 +02:00
Michael Adam
1cd7e36ace configure: be more portable, use 'printf "%s"' instead of "echo -n"
Michael
(This used to be commit 06dfb0cf7c)
2008-04-01 16:16:55 +02:00
Gerald (Jerry) Carter
eeeb4aa931 Fix libtdb some to move back towards allowing out of tree builds
Remaining problem is that not all *.syms linker scripts are generated
so the LD command needs to look in a single place.  Out of tree
builds now work but report write access to the source tree in order
to create the $(srcdir)/expotrs/libtdb.sysms file.
(This used to be commit 6e9287c5c3)
2008-03-24 17:25:13 -05:00
Günther Deschner
5fdf4b8f4a Remove remaining old srvsvc client and server rpc code entirely.
Guenther
(This used to be commit a5f0186f70)
2008-03-21 04:16:22 +01:00
Volker Lendecke
90300631eb Build aio_fork by default
... only when --with-aio-support and we can pass file descriptors
(This used to be commit fdf4cd99cc)
2008-03-08 12:31:12 +01:00
Simo Sorce
9e83c9159e Enable use of Relocations Read-Only, if supported, for enhanced security.
(This used to be commit c20c5f0821)
2008-03-07 11:33:26 -05:00
Günther Deschner
d42e415b40 Revert "Make sure to generate pkgconfig files for libtdb and libtalloc."
This uses incorrect version numbers for tdb and talloc.

Guenther

This reverts commit df97fb019b.
(This used to be commit ead849949b)
2008-03-05 16:31:04 +01:00
Günther Deschner
cb94b313ba Make sure to generate pkgconfig files for libtdb and libtalloc.
Guenther
(This used to be commit df97fb019b)
2008-03-05 15:40:23 +01:00
Günther Deschner
485b070eb8 Add "registry" Group Policy extension.
Guenther
(This used to be commit 4e93301ca4)
2008-02-29 17:25:28 +01:00
Günther Deschner
41efa5ca45 Add Group Policy extension infrastructure.
Guenther
(This used to be commit 6d543b1a1a)
2008-02-29 17:07:57 +01:00
Volker Lendecke
695b6662ab Attempt to fix the build
(This used to be commit 364d87a5e4)
2008-02-29 10:17:35 +01:00
Stefan Metzmacher
85b7f90c47 configure: only build vfs_syncops if dirfd() is available
This hopefully fixes the build on HP-UX.

metze
(This used to be commit 5fb7533e37)
2008-02-29 09:58:37 +01:00
Stefan Metzmacher
8657066f3a configure: Remove lib/repdir.c and related stuff
It was only used in configure, but lib/replace already
has a much better version of it.

metze
(This used to be commit c9b60b75b4)
2008-02-29 09:48:24 +01:00
Volker Lendecke
18206a4cb5 Add vfs_aio_fork
This is used for two purposes:

First, I'm using it to test the async I/O code. In the forked process it is
pretty easy to delay a reply for a random amount of time. See the
BUILD_FARM_HACKS snippet.

Second, there are systems around that claim to have Posix AIO but which is
broken. This might be some help for those systems.

Also add tests how to pass file descriptors
(This used to be commit b0e52cecf2)
2008-02-29 09:47:53 +01:00
Karolin Seeger
e1b32594c7 Remove smbmount.
Karolin
(This used to be commit 5fbd98f706)
2008-02-28 15:53:43 +01:00
Michael Adam
df3939da94 configure: put swat-part of config into m4-include file of its own.
Michael
(This used to be commit 622667c079)
2008-02-26 13:56:12 +01:00
Volker Lendecke
43491db17c Fix inotify detection
Bug 5271 -- thanks to Tiziano Müller
(This used to be commit 4a1a138b0f)
2008-02-25 12:58:56 +01:00
Michael Adam
658b72916f Fix aix-build of libtalloc.so by exporting all necessary symbols.
Use -bexpfull instead of -bexpall for LDSHFLAGS to also export
symbols starting with "_". This exports all necessary symbols
from libtalloc.so.

Michael
(This used to be commit 213ba3a719)
2008-02-24 01:00:39 +01:00
Michael Adam
0d7f555335 Move the definition of SMB_LIBRARY to aclocal.m4.
Michael
(This used to be commit 4724b13ed8)
2008-02-21 14:07:45 +01:00
Michael Adam
d29c816b61 configure: Abstract configuration of internal libs into an m4 macro.
New subsystem libraries can now be added by specifying SMB_LIBRARY(name).

Michael
(This used to be commit 54d73769c4)
2008-02-21 12:59:42 +01:00
Volker Lendecke
21387a4c5e fix typo
(This used to be commit 2d51bf67fc)
2008-02-21 11:40:22 +01:00
Michael Adam
63592eebbb Remove check for secure mkstemp from configure.in.
It has moved to libreplace.

Michael
(This used to be commit b5e894cb3b)
2008-02-21 10:27:56 +01:00
Michael Adam
48302a28a9 Remove mmap check from configure.in
It is available in libreplace.

Michael
(This used to be commit 310c121faf)
2008-02-21 10:27:56 +01:00
Michael Adam
d2e63399d3 configure: add --enable-shared-libs to control overall internal use of shared libs.
To disable internal use of shared libraries altogether (as opposed to
disabling use of single shared libs by --with-static-libs=LIBS), use
this new configure parameter --disable-shared-libs.

Michael
(This used to be commit 63bff18f3f)
2008-02-20 23:38:27 +01:00
Michael Adam
443f8ed260 configure: Move assemblage of samba version strings to m4 include file.
Michael
(This used to be commit 8b220717e8)
2008-02-20 21:33:24 +01:00
Michael Adam
e0f4573de2 Remove checks for ino_t, loff_t, offset_t, and comparison_fn_t from configure.in.
These tests are in libreplace.

Michael
(This used to be commit 2e6b66eda4)
2008-02-20 21:33:24 +01:00
Michael Adam
4f5a888067 Remove tests for vsnprintf snprintf asprintf vasprintf and va_copy from configure.
These are tested in libreplace.

Michael
(This used to be commit 9b9495d367)
2008-02-20 17:26:39 +01:00
Michael Adam
9e5be586af Remove the getifaddrs checks from configure.in: they are now in lib/replace.
Michael
(This used to be commit 53c9098253)
2008-02-20 00:44:40 +01:00
Michael Adam
31a356420d configure: Use SAMBA_CONFIGURE_CPPFLAGS for AC_LIBREPLACE_BROKEN_CHECKS.
To fix the build (make test) after merging libreplace changes.

Michael
(This used to be commit af5ec88ece)
2008-02-20 00:17:31 +01:00
Michael Adam
27b711414f configure: Move path (and debug) checks to an m4 include file check_path.m4.
This is inspired by metze's check_path.m4 of Samba4.

Michael
(This used to be commit d1db2b78c9)
2008-02-19 17:39:40 +01:00
Michael Adam
07f4f95b14 build: change selftest_prefix from ./ to ./st .
It was used as ${selftest_prefix}/st anyways...

Michael
(This used to be commit 1f3bfa024d)
2008-02-19 17:39:40 +01:00
Michael Adam
3b3b80a365 configure: move debug check to developer check
...thereby grouping test checks and debug/developer checks together, respectively.

Michael
(This used to be commit bf1bb2c090)
2008-02-19 17:39:40 +01:00
Michael Adam
53d5624205 configure: Also set debug=yes for --enable-developer and --enable-krb5developer.
Michael
(This used to be commit ad45d056df)
2008-02-19 17:39:40 +01:00
Michael Adam
12239ef505 configure: add default for developer and krb5developer
Michael
(This used to be commit e9b06ac113)
2008-02-19 17:39:40 +01:00
Michael Adam
b40d1b131b configure: move more developer/test related checks up before the compiler checks.
Michael
(This used to be commit 05e3095e21)
2008-02-19 17:39:40 +01:00
Michael Adam
5073bd1349 Move the --enable-debug check up above all compiler checks.
Michael
(This used to be commit fb74f8dd6a)
2008-02-19 17:39:40 +01:00
Michael Adam
90ea8ae9b1 configure: Introduce "debug" variable set to yes by --enable-debug.
Michael
(This used to be commit b33db84c22)
2008-02-19 17:39:40 +01:00
Michael Adam
86e758e246 configure: move AC_SUBST's of certain directories to the corresponding checks.
Michael
(This used to be commit 28c862704c)
2008-02-19 17:39:40 +01:00
Michael Adam
c666d5b384 Move AC_ENABLE_SHARED and AC_DISABLE_STATIC to a more appropriate place.
I have to investigate the effect of these and evaluate the need of
their presence. For now establish more reasonable grouping.

Michael
(This used to be commit 3ba8fa1c4b)
2008-02-19 17:39:40 +01:00
Michael Adam
1f67a36de3 configure.in: move definition of build dir up.
Michael
(This used to be commit 35327e8fee)
2008-02-19 17:39:39 +01:00
Günther Deschner
8db780ac8f Yippie! LSARPC server-side migration to pidl finished.
Guenther
(This used to be commit aa7023b88d)
2008-02-19 01:23:05 +01:00
Günther Deschner
d8fcfb1615 Build the generated ntsvcs server (not at all useable yet).
Guenther
(This used to be commit acce1092d9)
2008-02-17 23:03:22 +01:00