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

211 Commits

Author SHA1 Message Date
Stefan Metzmacher
1a766af41e r25695: [libreplace] fix the standalone build of libreplace
all configure results which are used in replace.h
or any system/*.h should be in the in the libreplace
*.m4 files!

metze
(This used to be commit 95462d614d)
2007-12-21 05:43:18 +01:00
Jelmer Vernooij
e511090a43 r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, getnameinfo
(and friends) from SAMBA_3_2, with some minor tweaks:

- avoid including network headers in replace.h unless absolutely required
- autoconf tests for getaddrinfo() in lib/replace

The heimdal-specific code also no longer looks for these functions anymore.
(This used to be commit b6d3fd84a5)
2007-10-10 15:07:51 -05:00
Andrew Bartlett
b39330c487 r24614: Merge with current lorikeet-heimdal. This brings us one step closer
to an alpha release.

Andrew Bartlett
(This used to be commit 30e02747d5)
2007-10-10 15:02:25 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac)
2007-10-10 14:59:12 -05:00
Andrew Bartlett
ec0035c9b8 r23678: Update to current lorikeet-heimdal (-r 767), which should fix the
panics on hosts without /dev/random.

Andrew Bartlett
(This used to be commit 14a4ddb131)
2007-10-10 14:58:59 -05:00
Stefan Metzmacher
e505338bf7 r23487: fix the build with automatic dependencies
metze
(This used to be commit ebf8cd09c3)
2007-10-10 14:53:19 -05:00
Andrew Bartlett
91adebe749 r23456: Update Samba4 to current lorikeet-heimdal.
Andrew Bartlett
(This used to be commit ae0f81ab23)
2007-10-10 14:53:18 -05:00
Stefan Metzmacher
4690d5c553 r23209: import getnameinfo.c, inet_ntop.c and inet_pton.c from
loikeet-heimdal

metze
(This used to be commit 48eb20199e)
2007-10-10 14:53:04 -05:00
Stefan Metzmacher
f1c138390b r23187: revert 23145 and 23135 to fix the build on solaris...
metze
(This used to be commit cd012361d2)
2007-10-10 14:53:02 -05:00
Stefan Metzmacher
a11e7f18a0 r23145: try to fix the build on solaris
metze
(This used to be commit 7a513bd741)
2007-10-10 14:52:57 -05:00
Stefan Metzmacher
fb213858ad r23135: inet_ntop and inet_pton are now provided by libreplace
metze
(This used to be commit 7e3e2defa5)
2007-10-10 14:52:53 -05:00
Stefan Metzmacher
71761dbae8 r22454: - let asn1_deps.pl calculate the dependencies depending on the IMPORT line in the asn1 file
- fix some heimdal dependencies

metze
(This used to be commit 4e7d2ecfc0)
2007-10-10 14:51:22 -05:00
Stefan Metzmacher
c20df73427 r22440: fix autodependencies build
metze
(This used to be commit ced8b67377)
2007-10-10 14:51:20 -05:00
Stefan Metzmacher
80d4b8c14d r22439: fix some dependencies
metze
(This used to be commit fb2c89bf90)
2007-10-10 14:51:20 -05:00
Stefan Metzmacher
f71b2fdfe2 r22438: get rid of printf format warnings in heimdal code
metze
(This used to be commit 2ab998da99)
2007-10-10 14:51:20 -05:00
Stefan Metzmacher
3eb286b52a r22296: heimdal/lib/roken/roken.h.in includes <socket_wrapper.h>
which doesn't work on some hosts in the farm

so include socket_wrapper via "system/network.h" as the rest of samba4

metze
(This used to be commit 38aeb585a1)
2007-10-10 14:50:58 -05:00
Stefan Metzmacher
daf889dff2 r22259: libreplace always provides strptime()
metze
(This used to be commit 312d3e1f0d)
2007-10-10 14:50:49 -05:00
Andrew Bartlett
0583d4d643 r22238: Because these utilities compile in socket_wrapper.ho, they may need
-lsocket on some systems.

Andrew Bartlett
(This used to be commit 4273fecfb7)
2007-10-10 14:50:44 -05:00
Andrew Bartlett
cb8ed81b64 r22236: Update to Heimdal's socket_wrapper, which supports IPv6.
To make this pass, I needed to add support for 6 and 17 as valid
protocol values to socket().

Andrew Bartlett
(This used to be commit 2254e61a1e)
2007-10-10 14:50:41 -05:00
Andrew Bartlett
cc275f011e r22191: Add a samba4kinit binary to the build, so I can test using an existing
ccache, as well as PKINIT.

Andrew Bartlett
(This used to be commit 440b8d9e4b)
2007-10-10 14:50:02 -05:00
Andrew Bartlett
f02c0a64d3 r22166: Stop heimdal from trying to prototype innetgr in roken, now we don't
do it in libreplace.

Andrew Bartlett
(This used to be commit a95ce3c895)
2007-10-10 14:49:56 -05:00
Stefan Metzmacher
252331a35d r21799: tell roken.h.in to not generate prototypes for setenv() and unsetenv()
metze
(This used to be commit 974eb5eb68)
2007-10-10 14:49:29 -05:00
Stefan Metzmacher
36d940b0a8 r20808: remove whitespace
metze
(This used to be commit 28a02742af)
2007-10-10 14:43:33 -05:00
Stefan Metzmacher
1d6456fd60 r20804: work arround HPUX and Tru64 make which don't like $$startdir
we now call asn1_compile and compile_et via a wrapper script

metze
(This used to be commit a5b67f5c7e)
2007-10-10 14:43:32 -05:00
Stefan Metzmacher
5de50f5a66 r20803: fix compiler warning about extra semicolon
metze
(This used to be commit 1feae45f28)
2007-10-10 14:43:32 -05:00
Stefan Metzmacher
dbdb4cc269 r20777: only include closefrom.c if the system doesn't have it.
hopefully solaris build fine now...

metze
(This used to be commit f9a6649f08)
2007-10-10 14:40:52 -05:00
Stefan Metzmacher
4af2716c47 r20773: we need to include config.h and replace.h before we can use #ifdef statements
hopefully fix the build on solaris 9

metze
(This used to be commit 65ba2920a1)
2007-10-10 14:40:51 -05:00
Andrew Bartlett
08976cb3d2 r20639: Commit part 1 of 2.
This patch updates our build system and glue to support a new snapshot
of lorikeet-heimdal.

We now procude a [SUBSYTEM] in the ans1_deps.pl script, and can depend
on that in the heimdal_build/config.mk.  This is much easier than
listing every generated .o file individually.

This required some small changes to the build system, due to the way
the parent directory was handled for the output of scripts.  I've also
cleaned up et_deps.pl to handle cleaning up it's generated files on
clean.

The PAC glue in Heimdal has changed significantly: we no longer have a
custom hack in the KDC, instead we have the windc plugin interface.
As such, pac-glue.c is much smaller.  In the future, when I'm
confident of the new code, we will also be able to 'downsize'
auth/kerberos/kerberos_pac.c.

(I'll include the updated copy of heimdal in the next chekin, to make
it clearer what's changed in Samba4 itself).

Andrew Bartlett
(This used to be commit 75fddbbc08)
2007-10-10 14:37:20 -05:00
James Peach
f5acaea727 r20592: Use the Heimdal copy of err.h only if the build host doesn't have it.
(This used to be commit 1e8c4847b8)
2007-10-10 14:37:10 -05:00
James Peach
42097e0b7d r20591: Revert accidental commit that broke the build.
(This used to be commit 22957f78e9)
2007-10-10 14:37:10 -05:00
James Peach
0bb9eb0153 r20590: Heimdal uses warn(), so we should prototype it here too.
(This used to be commit c1c25767e3)
2007-10-10 14:37:09 -05:00
Andrew Bartlett
0738c192a3 r20314: I think some hosts need this to get the right ASN1 header deps
(This used to be commit 82a09a111b)
2007-10-10 14:29:37 -05:00
Andrew Bartlett
5a6288f458 r19681: Update to current lorikeet-heimdal. I'm looking at using the realm
lookup plugin, the new PAC validation code as well as Heimdal's SPNEGO
implementation.

Andrew Bartlett
(This used to be commit 05421f45ed)
2007-10-10 14:25:31 -05:00
Andrew Bartlett
e5974a1b5f r19650: Allow Samba to use Heimdal's SPNEGO code. Currently this can only
negotiate krb5, but if this works, I'll add NTLM as a GSSAPI backend
by some means or other.

Andrew Bartlett
(This used to be commit 476452e143)
2007-10-10 14:25:25 -05:00
Stefan Metzmacher
9dfa85d89b r19624: we have timegm in libreplace so heimdal should not replace it
metze
(This used to be commit b6d1fd1b24)
2007-10-10 14:25:19 -05:00
Stefan Metzmacher
14b00f10d9 r19616: the heimdal spnego mech doesn't seem to use roken.h and isn't portable
(it doesn't compile on suse 10.1 because gethostname() isn't found,
 unistd.h isn't included...)

as we don't need the spnego mech, disable it till it gets fixed in heimdal

metze
(This used to be commit 0a52e11a9c)
2007-10-10 14:25:06 -05:00
Stefan Metzmacher
6f9bed3d3e r19615: include roken.h.in as this still includes the ifdef's we need in samba4
this should fix the portability of samba4

metze
(This used to be commit 497543a17e)
2007-10-10 14:25:06 -05:00
Stefan Metzmacher
5249d8187f r19611: we have heimdal 0.8pre currently
metze
(This used to be commit df4c2b9c79)
2007-10-10 14:25:04 -05:00
Stefan Metzmacher
0a4e05493b r19607: - remove mech_switch.h from objectfile list
(fix the build the auto dependencies)
- add tabs

metze
(This used to be commit 03afa231ff)
2007-10-10 14:25:03 -05:00
Andrew Bartlett
3c1e780ec7 r19604: This is a massive commit, and I appologise in advance for it's size.
This merges Samba4 with lorikeet-heimdal, which itself has been
tracking Heimdal CVS for the past couple of weeks.

This is such a big change because Heimdal reorganised it's internal
structures, with the mechglue merge, and because many of our 'wishes' have been granted:  we now have DCE_STYLE GSSAPI, send_to_kdc hooks and many other features merged into the mainline code.  We have adapted to upstream's choice of API in these cases.

In gensec_gssapi and gensec_krb5, we either expect a valid PAC, or NO
PAC.  This matches windows behavour.  We also have an option to
require the PAC to be present (which allows us to automate the testing
of this code).

This also includes a restructure of how the kerberos dependencies are
handled, due to the fallout of the merge.

Andrew Bartlett
(This used to be commit 4826f17351)
2007-10-10 14:25:03 -05:00
Andrew Bartlett
13dbee3ffe r19598: Ahead of a merge to current lorikeet-heimdal:
Break up auth/auth.h not to include the world.

Add credentials_krb5.h with the kerberos dependent prototypes.

Andrew Bartlett
(This used to be commit 2b569c42e0)
2007-10-10 14:25:00 -05:00
Stefan Metzmacher
9eab500f56 r18997: we have a replacement for vsyslog in libreplace so libroken doesn't need to care about it
metze
(This used to be commit e8c2f53746)
2007-10-10 14:20:27 -05:00
Stefan Metzmacher
84a56aca15 r18465: much better fix for a roken specifiv problem
metze
(This used to be commit 1ae1e68fe9)
2007-10-10 14:18:34 -05:00
Stefan Metzmacher
a46e12d0e0 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
(This used to be commit 135d096776)
2007-10-10 14:17:50 -05:00
Stefan Metzmacher
af1b64c92f r18210: - reenable autodependencies
- and add -MT $@ to the dependency generation
  to notice changes in depdendecies of header files

you may need a 'make clean' or at least you need to remove
heimdal_build/replace.hd

metze
(This used to be commit 5ecf98cc18)
2007-10-10 14:17:50 -05:00
Andrew Tridgell
820492ba79 r18203: rearranged the overrides in heimdal_build/*.h to avoid the use of
heimdal_build/config.h from interfering with libreplace

This is a workaround for the fact that with the current CFLAGS and
dependencies system, -Iheimdal_build is put at the front of the
includes list, which means it overrides the normal config.h
(This used to be commit 84335903ce)
2007-10-10 14:17:48 -05:00
Andrew Tridgell
4262be2e45 r18202: moved the overrides for HAVE_xxx from heimdal_build/config.h to
heimdal_build/roken.h

This is a workaround for the fact that with the current CFLAGS and
dependencies system, -Iheimdal_build is put at the front of the
includes list, which means it overrides the normal config.h
(This used to be commit dc2580f0fd)
2007-10-10 14:17:48 -05:00
Stefan Metzmacher
6b5e86f47b r18183: - add LIBREPLACE globaly and add LIBREPLACE_HOSTCC
- also specify USE_HOSTCC = YES on binaries that use HOSTCC

I also disable autodependecies as this change let make run forever,
I hopefully fix that tomorrow

metze
(This used to be commit 159f745702)
2007-10-10 14:17:47 -05:00
Andrew Tridgell
6c85bcc972 r18154: try to get the heimdal_build code to use libreplace in a better way
(chasing down build failures ...)

added showflags as part of 'all' target, which makes tracking down
problems easier in the build farm
(This used to be commit d52aaccdf8)
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
3f42b91246 r18087: use m4_include() do notice missing files
metze
(This used to be commit 77948d26f0)
2007-10-10 14:17:14 -05:00