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

210 Commits

Author SHA1 Message Date
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 b6d3fd84a5d7d814035e60d6fa22f19bed9f77da)
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 30e02747d511630659c59eafec8d28f58605943b)
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 fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
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 14a4ddb131993fec72316f7e8e371638749e6f1f)
2007-10-10 14:58:59 -05:00
Stefan Metzmacher
e505338bf7 r23487: fix the build with automatic dependencies
metze
(This used to be commit ebf8cd09c3a4e32e824e31178330dde2d867f5e1)
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 ae0f81ab235c72cceb120bcdeb051a483cf3cc4f)
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 48eb20199e7a01f4ab7f5194a5256ad7dd03ad86)
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 cd012361d27ede945308bd5c75916ad967bae006)
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 7a513bd741dc2b16a4331e9687a28fb7e403d040)
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 7e3e2defa593a15c1952f115426f8bdd65df3a15)
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 4e7d2ecfc0f37de8c66d0ad93f07d00c992b4642)
2007-10-10 14:51:22 -05:00
Stefan Metzmacher
c20df73427 r22440: fix autodependencies build
metze
(This used to be commit ced8b673777d233a354ad7037767ca0e63e0747c)
2007-10-10 14:51:20 -05:00
Stefan Metzmacher
80d4b8c14d r22439: fix some dependencies
metze
(This used to be commit fb2c89bf9028afa8732508f8f85bb6e30ae4c03d)
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 2ab998da99102e257a61e04c776fe2db2088351c)
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 38aeb585a19e1d022a8c559cc6d08391b270785b)
2007-10-10 14:50:58 -05:00
Stefan Metzmacher
daf889dff2 r22259: libreplace always provides strptime()
metze
(This used to be commit 312d3e1f0d30390f140cb91cae893a8d729de930)
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 4273fecfb788fb4060a0ba2ebf1e397aa5224020)
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 2254e61a1e5b29a64c5a24aac029ace193057e24)
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 440b8d9e4b09d5e8c943504ade85c17f752fe705)
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 a95ce3c895332a785bdf3a37b07e4fee86dcdea2)
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 974eb5eb6837685ee93efea814544cc7051c070e)
2007-10-10 14:49:29 -05:00
Stefan Metzmacher
36d940b0a8 r20808: remove whitespace
metze
(This used to be commit 28a02742afd6b0db2b4e8a0d763ee519590d4ee9)
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 a5b67f5c7e78d3cf74668c7c6bf9aecd8e147d41)
2007-10-10 14:43:32 -05:00
Stefan Metzmacher
5de50f5a66 r20803: fix compiler warning about extra semicolon
metze
(This used to be commit 1feae45f283decff5c47dcc44349af128df3add5)
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 f9a6649f08a6634db4059b904e95ca870e2ab095)
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 65ba2920a176c9d4ee77e381cf8f11bd0546e63c)
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 75fddbbc0811010a28ca5bb597b573b3f10ef6d6)
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 1e8c4847b829217beec62ba46c592da3fae8a73e)
2007-10-10 14:37:10 -05:00
James Peach
42097e0b7d r20591: Revert accidental commit that broke the build.
(This used to be commit 22957f78e94e5821e1e03922a07556d8471f1850)
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 c1c25767e3fc655dfb70147b0477404617835feb)
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 82a09a111b61a099f2ea5cf013eb523191bf9de2)
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 05421f45ed7811697ea491e26c9d991a7faa1a64)
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 476452e143f61a3878a3646864729daaddccdf68)
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 b6d1fd1b24d09049fcd432a804ad905e89fcc224)
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 0a52e11a9c34281c9ea284e007086b2ae6fce6c7)
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 497543a17eaea16c3c7f379ed238e573427e28da)
2007-10-10 14:25:06 -05:00
Stefan Metzmacher
5249d8187f r19611: we have heimdal 0.8pre currently
metze
(This used to be commit df4c2b9c7966f861adf5324714c712bbb5af3daa)
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 03afa231ff8df98d3a0a01568a4c27370402ef16)
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 4826f1735197c2a471d771495e6d4c1051b4c471)
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 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
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 e8c2f53746307a0ae078b07f4a80546d8fb7430f)
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 1ae1e68fe9e1004f1a11847714b2e71715a1ce03)
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 135d096776b53ae09ffc2b4f767dfbd18139570f)
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 5ecf98cc189039023ff0a97f43eba7fb2c2cdc46)
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 84335903ceaf2242e43a0c5464e33408daec44b4)
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 dc2580f0fd67687cbe4b590a7fed9fde0db4a4a0)
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 159f74570233a8707dc1deb70fb1917a854213f8)
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 d52aaccdf8a537dc8de8db7c30ff0ab076c4c63f)
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 77948d26f046ac2857260918bd01172bf2166e21)
2007-10-10 14:17:14 -05:00
Jelmer Vernooij
38fdde5d9b r18031: Merge my replace fixes:
* libreplace can now build stand-alone
 * add stub testsuite for libreplace
 * make talloc/tdb/ldb use libreplace
(This used to be commit fe7ca4b1454e01a33ed0d53791ebffdd349298b4)
2007-10-10 14:17:05 -05:00