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

769 Commits

Author SHA1 Message Date
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
Gerald Carter
b7d069097b r18739: * Get the wkssvc patch right this time.
* Remove the old wkssvc server, client, & parsing code.
* Update srv_wkssvc_nt.c with stubs for the remaining
  stubs
(This used to be commit 0cb79ee13fd78b515a48b2c72d91596ed21e41a8)
2007-10-10 12:00:53 -05:00
Gerald Carter
8126f91375 r18728: revert previous commit until I fix the wkssvc_nt.c changes
(This used to be commit 57d8519185008602fab5cf5d1d1951415aacb7f0)
2007-10-10 12:00:52 -05:00
Gerald Carter
9dda6cdf4c r18725: Replace out one wkssvc call (wkssrv_GetInfo()) with autogenerated
code.  Removed first rpc_parse/*.c file.  w00t!
(This used to be commit bb9b7a058d72569bee5683856661ac063c281c9f)
2007-10-10 12:00:52 -05:00
Günther Deschner
a62f996c5a r18707: Fix the build when you have libnscd installed (which apparently no host
on the buildfarm has).

Guenther
(This used to be commit b0bb364df0efe140780328d90ae55bb823e6b10d)
2007-10-10 12:00:49 -05:00
Stefan Metzmacher
447905db7d r18701: this tests are in libreplace
metze
(This used to be commit 31e3cc8c6f10a3d1ea8f357c26c80fe47ab276dc)
2007-10-10 12:00:49 -05:00
Stefan Metzmacher
e108e78263 r18700: nicer order of the tests
metze
(This used to be commit 07dafa266a80b87d521cacfcae65e8fb797e0eb2)
2007-10-10 12:00:48 -05:00
Stefan Metzmacher
f490794c51 r18699: bail out if the compiler doesn't know about C99 struct initializers
as we currently have them in the samba3 tree.

Lets see what the build-farm says to this.

metze
(This used to be commit 12a0daa34d51b34a469f7d64f370069b73c0aba9)
2007-10-10 12:00:48 -05:00
Stefan Metzmacher
a1243ca999 r18698: this stuff isn't needed anymore
metze
(This used to be commit 31b83ff4bd568a393eaa6260366ece7501df1985)
2007-10-10 12:00:48 -05:00
Gerald Carter
7238a71961 r18694: prevent -O and -g from being set at the same time (by default)
(This used to be commit 5af1d3a425e99a49d7ff6bee4dad024e0f82509b)
2007-10-10 12:00:48 -05:00
Stefan Metzmacher
387a8ed33e r18687: sync the lib/interfaces.c with lib/socket/netif.c from samba4
to hopefully fix the build on HPUX and Tru64

metze
(This used to be commit aa8222c6a709a1538862878b89a17b893600b7e8)
2007-10-10 12:00:47 -05:00
Stefan Metzmacher
8f153c6128 r18644: bring in libreplace in lib/replace
metze
(This used to be commit 596cbe73dd268742acf456fccd8a234376fb0c97)
2007-10-10 11:52:03 -05:00
Stefan Metzmacher
47e6b7733a r18640: move to socket_wrapper to lib/socket_wrapper/
and sync it with samba4

metze
(This used to be commit 9c0e5b29f1451a90605cce7e1e032e5516b6970d)
2007-10-10 11:52:03 -05:00
Volker Lendecke
58bd4333a5 r18638: This is an attempt to fix the AIX build. Jeremy, as you are busy talking
SASL/Steve/Andrew I can't right now ask why the aio.h is needed for the
timespec test.

Might have to revert that soon.

Volker
(This used to be commit fa53ad6571c08e49c3fbe61d9be081c06633e408)
2007-10-10 11:52:02 -05:00