1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

782 Commits

Author SHA1 Message Date
James Peach
17a8c7cb92 r20429: Restructure the libuuid API tests to handle the case where libuuid
is (effectively) in libc. Convert AC_LIBTESTFUNC to use the mystically
undocumented m4_ifval, which fixes some quoting problems when
providing shell code for the if-true and if-false branches.
(This used to be commit 5e1fbcc403c471ecaaa37e8cd54b719b65dd7495)
2007-10-10 12:16:49 -05:00
Stefan Metzmacher
8993ab2fcb r20389: this needs to be after AC_LIBREPLACE_BROKEN_CHECKS :-)
metze
(This used to be commit e5333d5628a585ff00b78d50a0a22b0cf98aa9ff)
2007-10-10 12:16:46 -05:00
Stefan Metzmacher
ffa4ecae30 r20388: add the library that contains dlopen to the global LIBS as it was before
metze
(This used to be commit b2feeee7485f0a1006b38e5abee05c2583923242)
2007-10-10 12:16:46 -05:00
Stefan Metzmacher
e1d4e31c44 r20386: remove unneeded dlopen related configure checks and includes
this is done by libreplace...

this hopefully fixes the build on HPUX 11.00

metze
(This used to be commit eed50e104794d855b204cfea52626f47b6fa3f52)
2007-10-10 12:16:45 -05:00
Simo Sorce
4225f9a4bd r20116: Start merging in the work done to create the new idmap subsystem.
Simo.
(This used to be commit 50cd8bffeeed2cac755f75fc3d76fe41c451976b)
2007-10-10 12:16:25 -05:00
James Peach
e2166a9fee r19851: Disable gcc PIE options on Darwin.
(This used to be commit 23795be8b429d4423263e60ce80f454e2e42cae7)
2007-10-10 12:16:02 -05:00
Stefan Metzmacher
81cf0a5cd8 r19730: as libreplace always provides dlopen(), we need to always define SHLIBEXT
this fix the build on hpisgr8 HPUX 11.23

metze
(This used to be commit b61269d7e39382d395e84bf2b488f6b40a8049a6)
2007-10-10 12:15:50 -05:00
Stefan Metzmacher
06715191dd r19718: define SHLIBEXT (prepare ldb merge from samba4)
metze
(This used to be commit d8f9c200551038dad73be52bb066523312508089)
2007-10-10 12:15:49 -05:00
Jim McDonough
4fe70bcee2 r19647: Add some GPFS support in a vfs mod. Also adds the kernel flock op to
the vfs layer, since gpfs supports it.  Thanks to Volker, Christian,
Mathias, Chetan, and Peter.
(This used to be commit 0620658890fa9c68a9848538728023192319c81a)
2007-10-10 12:15:43 -05:00
Günther Deschner
99433b1f7b r19494: When building with a static Heimdal, make sure not to link against
-lgssapi_krb5. With that change I could sucessfully verify that Heimdal
support is still working nicely after the changes from jpeach.

Guenther
(This used to be commit 53d09487a003c00b7bb6c1a4824bda799b928bfc)
2007-10-10 12:15:39 -05:00
James Peach
75018ad0cc r19477: Patch from Huang Dejin Eugene <hdejin@yahoo.com>.
Add configure option --enable-fam so that FAM support can explicitly
be controlled at build time. Default behaviour is to autodetect.
(This used to be commit 066951bc48723b1a26aab9ebb21ff2c897189043)
2007-10-10 12:15:37 -05:00
Gerald Carter
6e2b290672 r19421: BUG 3868: Patch from Timur Bakeyev <timur@com.bat.ru> to prevent
--with-aio-support from trimping on the $LIBS variable
(This used to be commit 00bf29d352af694373be035047cfcf1298891d25)
2007-10-10 12:15:34 -05:00
Gerald Carter
7ac5df4824 r19417: BUG 3856: patch from Timur Bakeyev <timur@com.bat.ru> to include setting the nss soname version on FreeBSD
(This used to be commit e1490e72eafbe3a2f9cc2e3a46563a75a19672e0)
2007-10-10 12:15:33 -05:00
Stefan Metzmacher
6ec00affb6 r19291: this should fix the build on heimdal systems
metze
(This used to be commit 785ab128c4d630819f141ede8bcf5fc0c705aebb)
2007-10-10 12:15:28 -05:00
Volker Lendecke
7d2aa0d3f1 r19287: As requested by Bjoern Jacke <bjoern@j3e.de>: Check in the NetBSD winbind module by Luke
Mewburn.

Volker
(This used to be commit 104f5e9ec9aea71950308b8b73479f06bf3c66a2)
2007-10-10 12:15:28 -05:00
James Peach
2e46e9189a r19286: Remove dependency on Fink. If we really *need* anything from Fink,
this shold be a strong dependency. If stuff from Fink is an optional
extra, there should be a --with-stuff-from-fink argument. It's just
too easy to unexpectedly end up with binaries that depend on
/sw/{lib,include}.
(This used to be commit d0166e117216b5196b27a7caef776007641072f2)
2007-10-10 12:15:28 -05:00
James Peach
876be25055 r19270: Stop depending on internal MIT symbols. These are private on MacOS
x, so we can't get at them even if we wanted to.

Kerberos experts, please take a look to make sure I've done the
right thing!
(This used to be commit 9b8e179fcc1fb877e8601bfd242ee1fd615b554c)
2007-10-10 12:15:27 -05:00
Stefan Metzmacher
f9f3a2d790 r19246: merge from samba4 rev 18207 and 18208:
readline fixes for mac os 10

metze
(This used to be commit 976b97ecbf9bde400a6f92cad9d9709d56e73058)
2007-10-10 12:15:25 -05:00
Stefan Metzmacher
51994b35f1 r19244: fix the build on systems with broken krb5
we need to make sure

HAVE_GSSAPI

HAVE_KRB5_H
HAVE_GSSAPI_H
HAVE_GSSAPI_GSSAPI_GENERIC_H
HAVE_GSSAPI_GSSAPI_H

are not in config.h

this adds 2 new macros to libreplace
AC_REMOVE_DEFINE(), AC_REMOVE_INCLUDE()

metze
(This used to be commit eb1f0b49cf0e84385a62f9dfcb2167fea2e8fd8b)
2007-10-10 12:15:25 -05:00
Stefan Metzmacher
1843884fbf r19241: compile xattr wrappers on mac os 10
patch from Bjoern Jacke and it fixes bug 3698

metze
(This used to be commit e54302b9163cfe726c30a8efdc779250e076d493)
2007-10-10 12:15:24 -05:00
Stefan Metzmacher
960894349f r19239: make the acl configure check more readable...
metze
(This used to be commit 0882f0c9d671cd466668f65433ee33a71f127a95)
2007-10-10 12:15:24 -05:00
Stefan Metzmacher
6c1eaffd2e r19238: Let the comfigure check find that some krb5 functions
are missing! Bailing out at compile time is ugly.

Hopefully this fixes the Mac OS 10 boxes in the build-farm
there're some missing function. Fixing that is a different
problem...

metze
(This used to be commit e00a83a0b65f4685b946aa9a4d225645f67a6df6)
2007-10-10 12:15:24 -05:00
Stefan Metzmacher
1cbaa09ffc r19236: prepare for --with-pam=auto as default
but still leave --with-pam=no the default for now
and wait for discussion on samba-technical

metze
(This used to be commit b045d5afcf2e352ebb797132bd6b7c02f3b685a0)
2007-10-10 12:15:24 -05:00
Stefan Metzmacher
fc15a2ae5f r19233: remove unused --with-spinlocks option
the defines are not used anywhere in the tree.
(grep -R SPINLOCKS . in the topdir)

metze
(This used to be commit 1697686d9da7dd1ac707c7af9c145c0fc6204108)
2007-10-10 12:15:23 -05:00
Stefan Metzmacher
f6e72ba4a6 r19096: - fix the build with included popt
- and fix some whitespaces

metze
(This used to be commit 4906e601511fc2056393d8519bb249e5cce926e4)
2007-10-10 12:15:12 -05:00
Stefan Metzmacher
63a0d4aa5b r19093: speed up the samba3 build from 8mins to 5mins:-)
we now don't compile mostly each .c file twice.

- we use PICFLAG for all object files
- PICFLAG defaults to PIE_CFLAGS and is then overwritten
  if the system supports shared libraries

as we currently always use -fPIE if available
(and at least on linux -fPIE produces the same code as -fPIC)
it doesn't change anything in the resulting code.

"high performance" binaries can be build with
"--disable-pie --disable-shared" if someone really needs to...

metze
(This used to be commit 6db1f57f45bf0b382572aec72dda29657c4a5c3f)
2007-10-10 12:15:11 -05:00
Stefan Metzmacher
11d219f1a1 r19089: normalize KRB5_LIBS too
metze
(This used to be commit c7788f6c7183a139f1aa572880faef5bd185d1c0)
2007-10-10 12:15:11 -05:00
Stefan Metzmacher
eade80109b r19087: normalize vars before printing them
metze
(This used to be commit 9900abf8ab97113ed33b84e3701d89cbc2cc2a76)
2007-10-10 12:15:10 -05:00
Stefan Metzmacher
4bc71f13c8 r19086: fix --disable-pie together with -C
metze
(This used to be commit 035579b62c76e370356cb4a6ba5f652ac68b5862)
2007-10-10 12:15:10 -05:00
Stefan Metzmacher
e07df9be38 r18976: follow the advice from "William Jojo" <jojowil@hvcc.edu>
and pass -bbigtoc also to the linker when building shared libs

metze
(This used to be commit 4948b676a804a5a250d464a7848420ed79cb52b2)
2007-10-10 12:14:52 -05:00
Stefan Metzmacher
8f4f93a201 r18973: we should always set LDFLAGS and DYNEXP depending on the host_os
but disable building of shared libs and modules whe enable_shared != yes

Also make it easier to track down the problem with lost LDFLAGS values
on AIX.

metze
(This used to be commit 3367e306e6aa5c2007fb41655b7af1fd37dea47d)
2007-10-10 12:14:52 -05:00
Stefan Metzmacher
3da1690692 r18956: fix -pie and -fPIE together with configure -C
metze
(This used to be commit aafb86f6eb8661a1905a0ca4acda6673e9df51d5)
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
93dc24eed9 r18950: I can't see where stropts.h and poll.h are needed
(I just removed the only reference to poll() in my last commit)

they were added in this commit, without make usage of them.

http://cvs.samba.org/cgi-bin/cvsweb/samba/source/configure.in.diff?r1=1.21&r2=1.22&f=h
http://cvs.samba.org/cgi-bin/cvsweb/samba/source/include/includes.h.diff?r1=1.105&r2=1.106&f=h

metze
(This used to be commit b852cf46c213b2e059a66cbe0d058ed063c37957)
2007-10-10 12:14:49 -05:00
Gerald Carter
1254bdc86d r18905: I'm not really proud of this but I don't want to maintain
2 separate CPPFLAGS variables.  So just cleanup the SAMBA_CPPFLAGS
for out of tree builds.  This has been tested locally and works.
Maybe metze can find a better way tomorrow.
(This used to be commit 8aa681df992b8f856f454673f95d4266aba4671c)
2007-10-10 12:14:45 -05:00
Gerald Carter
e2a5072b96 r18904: * Revert previous fix for building out of tree and
add a better one which fixes the network interface detection
  breakage (caused by the previous commit).
(This used to be commit 7e908acdefe4728fc6ad04770915466ac9556a33)
2007-10-10 12:14:45 -05:00
Stefan Metzmacher
ed724f9047 r18901: try to fix the samba3 build without having ldap
vl: you were a few seconds faster than me...:-)

metze
(This used to be commit 63e5727471bdf686f292a36aa43267213fb6e2f3)
2007-10-10 12:14:44 -05:00
Gerald Carter
22a21fdf04 r18899: remove check for root when running configure since it does not appear to be used anymore
(This used to be commit da17fb41dbf69cafaceb96674fa41744deb487f7)
2007-10-10 12:14:44 -05:00
Gerald Carter
2cb15a9516 r18896: * Fix out of tree builds after libreplace merge
* Remove unused -D define in Makefile
(This used to be commit 3c9632bedca5ff3816f5f7b8b5f47b29c4e7fa02)
2007-10-10 12:14:43 -05:00
Stefan Metzmacher
75064ae95e r18895: AIX need to call pidl with --uint-enums as the compiler doesn't
like negative values in the generated code.

I'm not sure how we can solve that in samba3 as the generated code is commited

Maybe we need to alsways pass --uint-enums

metze
(This used to be commit 9468dcc5d564d7242d527eb770717e2b4480cf1c)
2007-10-10 12:14:43 -05:00
Volker Lendecke
868daf42b2 r18893: Attempt to fix the Solaris build
(This used to be commit db838f49a0e9de6881b36b10fe2c3862862b1908)
2007-10-10 12:14:43 -05:00
Andrew Tridgell
7c5f1f28db r18870: - enable the ldb ldap backend properly based on configure tests for
ldap

- use ldb_global_init() instead of the backend specific
  ldb_tdb_init().
(This used to be commit a6c53e58616d7731a1df9af33f78ccf0c774296e)
2007-10-10 12:14:40 -05:00
Andrew Tridgell
af4f43db8d r18863: the test for immediate structures has moved to lib/replace/
(This used to be commit 46d8433a4f8918b5e21def2dc55a62adfde234b1)
2007-10-10 12:01:06 -05:00
Volker Lendecke
cf3efb2f08 r18857: Re-enable the CC checks from libreplace after Tridge's fix. Thanks for that!
Volker
(This used to be commit 91955c1f266e8f8ee9d4775dffdcc59b44280060)
2007-10-10 12:01:05 -05:00
Andrew Tridgell
fcd7a45e44 r18856: fixed HAVE_IMMEDIATE_STRUCTURES and thus checking of NTSTATUS/BOOL
mixups
(This used to be commit 21a458ab9d132e09b9b00e4dbb32af4275b7c2fb)
2007-10-10 12:01:05 -05:00
Volker Lendecke
1b8125265c r18854: Disable the AC_LIBREPLACE_CC_CHECKS, this breaks the HAVE_IMMEDIATE_STRUCTURES
test with gcc 4.1.0. As the build farm is not in the best state right now,
this should not matter.

Stefan, is there any chance we get the IMMEDIATE_STRUCTURES back and have
libreplace at the same time?

Volker
(This used to be commit 776bd5e36d439a59e2c557e9405a30eeedd78fd2)
2007-10-10 12:01:04 -05:00
Stefan Metzmacher
0d6c51dac6 r18814: diable immediate structs for now until we completely build with them again
metze
(This used to be commit 5b8eb441a3332fbec4d105670ceea1978903a26a)
2007-10-10 12:01:03 -05:00
Stefan Metzmacher
ca19511584 r18812: newer compilers don't allow non consts in static arrays
give us a chance to detect NTSTATUS vs. WERROR bugs...

metze
(This used to be commit 27181b675e6134979c4babd4497d9b995caba0ab)
2007-10-10 12:01:02 -05:00
Stefan Metzmacher
21931b1ca8 r18810: use a copy of samba4's talloc under lib/talloc/
to make mergeing easier.

metze
(This used to be commit d49ffbc19b29f7620e427de133ffab74721f37e8)
2007-10-10 12:01:02 -05:00
Jelmer Vernooij
7ba2554d88 r18802: Use the pidl-generated code for the srvsvc interface, both client and server code.
This has had some basic testing. I'll do more during the next couple of days and hopefully also
make RPC-SRVSVC from Samba4 pass against it.
(This used to be commit ef10672399c4b82700dc431b4d93431ffdd42d98)
2007-10-10 12:00:59 -05:00
Gerald Carter
eab57a0a0f r18789: Replace the winreg server code with the libndr parsing code.
Many things work (OpenHKLM, etc...) but some still don't.
This shouldn't block anyone so I'm checking it in.
Will probably move to a bzr tree after this for
longer dev cycles between checkins.
(This used to be commit cf1404a0d7538288b9370ba80df328f81b713ce0)
2007-10-10 12:00:57 -05:00