1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

332 Commits

Author SHA1 Message Date
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
Jelmer Vernooij
84df2acf05 r15252: Fix inet_aton (required for Tru64 and Solaris)
(This used to be commit 015e6e3d1bc1eafb1e3654203715fe1100676675)
2007-10-10 14:04:25 -05:00
Jelmer Vernooij
1cc7c693ad r15248: Fix automatic dependencies build
(This used to be commit 3e5aa5e7940ebbb961c53418d170495860f514a0)
2007-10-10 14:04:25 -05:00
Jelmer Vernooij
f7ef520158 r15234: Remove heimdal include paths from global CFLAGS
(This used to be commit 0466165e90160209679a6005511e04e55ed2bf06)
2007-10-10 14:04:22 -05:00
Jelmer Vernooij
99487b0ab7 r15230: Add include dir for -Iheimdal_build earlier on - this should fix sun1
(This used to be commit b74faf771d37eccb7f95236c97162cc3b83e6794)
2007-10-10 14:04:21 -05:00
Jelmer Vernooij
82f1955314 r15223: Move heimdal's -I parameters from the global list of includes to
the subsystems in question
(This used to be commit 2fbb4d91fa580ccb64e36f0b082f23af33123b13)
2007-10-10 14:04:20 -05:00
Andrew Bartlett
d1a79b1f7e r15221: We don't need to have these rcsid strings in Samba's use of Heimdal.
Andrew Bartlett
(This used to be commit b2649aaf399e6ff8d3e749b21cf64ea5e089e5cb)
2007-10-10 14:04:20 -05:00
Andrew Bartlett
306baa12f8 r15219: Look for gai_strerror in more places, so we don't conflict with the
system library.

This might help the build on proprietory unixes

Andrew Bartlett
(This used to be commit f1da657d5629425b55c9bd89427ef5d8c19f9636)
2007-10-10 14:04:19 -05:00
Alexander Bokovoy
5027cd85c1 r15211: REQUIRED_SUBSYSTEMS for binaries are gone, use PRIVATE_DEPENDENCIES here
(This used to be commit 29bd0d6d0c9832ad10da1fe9b07c2bbc9910c8c6)
2007-10-10 14:04:18 -05:00
Alexander Bokovoy
fdb9e6ce16 r15208: Change _GNU_SOURCE propagation to apply only to generated files as Andrew B. suggests
(This used to be commit 9b99d4d3d59dcd4f75e7220f4c430a2c24af8920)
2007-10-10 14:04:18 -05:00