1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

191 Commits

Author SHA1 Message Date
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
Stefan Metzmacher
a2eca9174c r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on the
configure check for the interfaces.

should fix the build on some old sun boxes

metze
(This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
2007-10-10 14:15:39 -05:00
Stefan Metzmacher
4ed9f119e0 r16011: we don't need sys/bitypes.h any more
metze
(This used to be commit d49464be56ff714b9b251867cabc7811c137ee76)
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
f6b3f9dd29 r15992: fix the subsystem name,
hopefully fix the build on Mac OS 10.4.5

metze
(This used to be commit 103f64c7cf9854e8f41f2aede68aec622cd554b6)
2007-10-10 14:08:47 -05:00
Stefan Metzmacher
84e1121a1a r15991: try to fix the build on au2 IRIX 6.4
metze
(This used to be commit 658f9a15890f17643da1217c332aea27915ee46e)
2007-10-10 14:08:47 -05:00
Jelmer Vernooij
bd9e9062bf r15374: Make subsystem name shorter - Stratos VOS has a filename length limit of 32
(This used to be commit 1c2dc5ec109200df8706504838f651fe98dec69e)
2007-10-10 14:05:28 -05:00
Jelmer Vernooij
6275553bae r15373: Rename SOCKET to LIBSAMBA-SOCKET to prevent name clashes with -lsocket on SUN
boxes.
(This used to be commit c95ad11307dc89384c10bd5919817bf12d9c1ed9)
2007-10-10 14:05:28 -05:00
Jelmer Vernooij
4bdc83ad5c r15355: Add replacement 'err.h' for systems that don't have it such as SerNet-Tru64
(This used to be commit 2961d545fb23e271c5f1c11bc618f16120e47f49)
2007-10-10 14:05:25 -05:00
Jelmer Vernooij
9c3145a270 r15354: Add dependency on libsocket (required for sun1)
(This used to be commit 566413f83d6a1a047acacfa79694d97bb0f66cf0)
2007-10-10 14:05:25 -05:00
Jelmer Vernooij
e002300f23 r15328: Move some functions around, remove dependencies.
Remove some autogenerated headers (which had prototypes now autogenerated by pidl)
Remove ndr_security.h from a few places - it's no longer necessary
(This used to be commit c19c2b51d3e1ad347120b06a22bda5ec586c22e8)
2007-10-10 14:05:17 -05:00
Jelmer Vernooij
9220144604 r15313: Fix some dependencies in dso mode
(This used to be commit f0afe9e2ff16515df1b3226b479b19ea3e9c3d0c)
2007-10-10 14:05:09 -05:00
Jelmer Vernooij
710ea94988 r15297: Move create_security_token() to samdb as it requires SAMDB (and the rest of LIBSECURITY doesn't)
Make the ldb password_hash module only depend on some keys manipulation code, not full heimdal
Some other dependency fixes
(This used to be commit 5b3ab728edfc9cdd9eee16ad0fe6dfd4b5ced630)
2007-10-10 14:05:04 -05:00
Jelmer Vernooij
061dfe14d9 r15278: Fix recreating symlink every time.
(This used to be commit 6f8382432f8e6fba4d7c0f629f94ad514f0cee08)
2007-10-10 14:05:01 -05:00
Jelmer Vernooij
23cf97680b r15276: Fix path to perl on some hosts
Fix perl warning
(This used to be commit 50e184819d0f92da003c27c4d9adeeef3dfb55dd)
2007-10-10 14:05:01 -05:00
Jelmer Vernooij
0d5587b5d1 r15274: Drop default EXT_LIB_ prefix for external libraries. Fixes issues with local
(empty) libpopt.a overriding global one
(This used to be commit 2f06305e53478e5030c24550954f221a9a97c83f)
2007-10-10 14:05:00 -05:00
Jelmer Vernooij
f5bc4a72c5 r15270: Rename EXTRA_CFLAGS to CFLAGS - initial work on getting DSO's working again.
(This used to be commit 33e4b92c46f272478b3c9e433f910dbbaab52af8)
2007-10-10 14:04:59 -05:00
Jelmer Vernooij
bdac245495 r15265: Try to find inet_pton in -lnsl (should fix linking on sun1)
(This used to be commit a7c13020413a4d9621bef5bf9085b901ffbe1eb4)
2007-10-10 14:04:59 -05:00
Jelmer Vernooij
3c68259e3a r15263: Remove another use of patsubst (should make tru64 happy)
(This used to be commit 559ae256e133777e77bfe7a683f1c441cd6007b0)
2007-10-10 14:04:28 -05:00
Jelmer Vernooij
b995f263f8 r15262: Only include getprogname if it is needed by the system. This should
fix the build on Mac OS X
(This used to be commit 465409974da7a643617689ee7c5b55427f727548)
2007-10-10 14:04:28 -05:00
Jelmer Vernooij
4b55501d2c r15254: Fix heimdal's addrinfo subsystem for those systems that need it. This
should get the build on sun1 and us4 another step further.
(This used to be commit 2f2f47a3891a73e1656908fc30c1c03ebae59bb2)
2007-10-10 14:04:25 -05:00