1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

323 Commits

Author SHA1 Message Date
Andrew Bartlett
f6bed79ec6 Revert "s4:heimdal_build: predefine GSSAPI_DEPRECATED depending on the compiler version"
This is now handled correctly in the newly imported Heimdal

This reverts commit 4a754d029b0eb229b23980aa4a80dae2b485a302.
2009-07-17 08:39:51 +10:00
Stefan Metzmacher
4a754d029b s4:heimdal_build: predefine GSSAPI_DEPRECATED depending on the compiler version
Otherwise heimdal/lib/gssapi/gssapi/gssapi.h will just define it to
__attribute__ ((deprecated)) which is not supported by all compilers
we care about.

This should fix the build on Tru64

metze
2009-07-16 12:24:47 +02:00
Stefan Metzmacher
98aba452fb s4:heimdal_build: try to fix the build on systems without ifaddrs.h
metze
2009-07-16 12:08:56 +02:00
Stefan Metzmacher
c9fe3256d8 s4:heimdal_build: tell heimdal we have inet_aton()
This should fix problems on Solaris.

metze
2009-07-16 11:41:27 +02:00
Stefan Metzmacher
3fa212af61 s4:heimdal_build: try to fix the build on Solaris
The problem seems to be #define flock rk_flock

heimdal/../heimdal_build/replace.c: In function `rk_flock':
heimdal/../heimdal_build/replace.c:64: error: storage size of 'lock' isn't known
heimdal/../heimdal_build/replace.c:64: warning: unused variable `lock'

metze
2009-07-16 08:51:51 +02:00
Stefan Metzmacher
dea2e4690a s4:heimdal_build: try to fix the build on Solaris
We need the definition of 'struct flock'.

metze
2009-07-15 20:43:23 +02:00
Björn Jacke
382d5c8f5b s4:heimdal: teach heimdal we have (v)aѕprintf in libreplace 2009-07-15 18:40:57 +02:00
Björn Jacke
b08ca108ef ѕ4:heimdal: teach heimdal that we have strnlen via libreplcae 2009-07-15 18:32:58 +02:00
Stefan Metzmacher
5d4d9d333d s4:heimdal: readd heimdal/lib/asn1/asn1parse.y which was parse.y before the last import
Also commit the regenerated files for systems without yacc and lex.

This fixes the build with automatic dependecies for me.

metze
2009-07-06 13:28:11 +02:00
Andrew Bartlett
9b261c008a s4:heimdal: import lorikeet-heimdal-200906080040 (commit 904d0124b46eed7a8ad6e5b73e892ff34b6865ba)
Also including the supporting changes required to pass make test

A number of heimdal functions and constants have changed since we last
imported a tree (for the better, but inconvenient for us).

Andrew Bartlett
2009-06-12 07:45:48 +10:00
Andrew Tridgell
b258c5fa67 work around conflict in pidfile() prototype for heimdal on NetBSD5 2009-06-09 14:11:20 +10:00
Björn Jacke
d2bb72d713 s4:heimdal: fix build on FreeBSD
Patch from Timur I. Bakeyev sent to samba-technical:

Heimdal requires openpty() presence. FreeBSD has in in standard libc, so
autodetection works, but compilation fails, as declaration of this function is
missing.

This patch adds proper header detection and inclusion for openpty().
2009-06-08 22:14:49 +02:00
Stefan Metzmacher
853f9283fb s4:heimdal_build: provide heimdal_version and heimdal_long_version symbols
metze
2009-03-26 15:01:04 +01:00
Stefan Metzmacher
510e37155e s4:heimdal_build: define HAVE_STRLCPY, HAVE_STRLCAT, HAVE_STRCASECMP and HAVE_MKSTEMP
metze
2009-03-26 15:01:03 +01:00
Stefan Metzmacher
d3ac11c64a s4:heimdal_build: correrctly switch closefrom() and get/setprogname() replacements on and off
metze
2009-02-26 13:14:26 +01:00
Stefan Metzmacher
b6597424db s4:heimdal_build: don't always build setprogname.o
This hopefully fixes the build on Mac OS 10, where setprogname()
is available via libc.

asn1_compile and compile_et use only .ho files again
and don't use socket_wrapper anymore.

metze
2009-02-26 10:48:11 +01:00
Tim Prouty
f90250b549 s4: make libintl a build dependency of heimdal_krb5 so all dependent binaries are linked properly 2009-02-25 11:29:07 -08:00
Tim Prouty
eb5efd1978 s4 heimdal: Link libintl correctly 2009-02-25 00:36:43 -08:00
Jeremy Allison
365925eea3 Start fixing Solaris build failures.
Jeremy.
2009-02-24 11:37:57 -08:00
Stefan Metzmacher
21522e4a9a s4:heimdal_build: fix the build of asn1_compile and compile_et
We should not link in heimdal_build/replace.ho twice.
HEIMDAL_ROKEN has everything we need....

metze
2009-01-31 09:04:12 +01:00
Stefan Metzmacher
03bd9b2683 s4:heimdal_build: heimdal requires u_int32_t and u_char
metze
2009-01-30 22:21:11 +01:00
Stefan Metzmacher
e8c2ed1d48 Revert "s4:heimdal_build: include "system/network.h" via config.h wrapper"
This reverts commit 334c6e6b78de8529fce0061efd5249f8fe2d256f.

This breaks the build later in the ntvfs code...

metze
2009-01-30 19:24:50 +01:00
Stefan Metzmacher
9fa2e56488 s4:heimdal_build: add a dummy define for dirfd()
metze
2009-01-30 18:42:09 +01:00
Stefan Metzmacher
334c6e6b78 s4:heimdal_build: include "system/network.h" via config.h wrapper
This fixes build problems on Tru64.

metze
2009-01-30 17:53:04 +01:00
Stefan Metzmacher
cdca75dee6 heimdal: don't include <sys/cdefs.h> without knowing it's there
metze
2009-01-30 17:38:41 +01:00
Jelmer Vernooij
e7810b1bc2 Use standard heimdal function for finding interfaces - libreplace provides support for the underlying functions now. 2008-11-02 18:14:53 +01:00
Jelmer Vernooij
87ec1d2532 Make sure prototypes are always included, make some functions static and
remove some unused functions.
2008-10-20 18:59:51 +02:00
Jelmer Vernooij
6b82b2ff13 Fix merged build; use full libroken rather than just a couple of object files. 2008-10-20 13:21:43 +02:00
Andrew Bartlett
71022daac2 Add samba4kpasswd and rkpty binaries
smaba4kpasswd will be used to test the kpasswdd componet of the KDC
(which is up until now untested), and rkpty is an expect-like wrapper
we can use to blackbox that utility.

Andrew Bartlett
2008-10-20 20:07:08 +11:00
Jelmer Vernooij
0888ffa2b7 Make Samba 3 and Samba 4 both use the same single copy of libreplace. 2008-09-16 16:30:14 +02:00
Stefan Metzmacher
2356cd7478 heimdal_build: include heimdal's new EVP code to fix the build
metze
(This used to be commit f454342d48e1dce7dff0bcff246c7237bed94fd5)
2008-08-26 19:46:38 +02:00
Stefan Metzmacher
455f5c043d heimdal_build: fix parse.h lex.c dependencies
metze
(This used to be commit dbfbd1b018f7c29dde2e291cbb7bb54bf147a10e)
2008-08-26 19:46:28 +02:00
Stefan Metzmacher
9080b5d979 heimdal_build: autogenerate the heimdal private/proto headers
Now it's possible to just use a plain heimdal tree in source/heimdal/
without any pregenerated files.

metze
(This used to be commit da333ca7113f78eeacab4f93b401f075114c7d88)
2008-08-26 18:49:17 +02:00
Stefan Metzmacher
a1bbd66b0f heimdal_build: autogenerate table files in heimdal/lib/wind/
metze
(This used to be commit f4cfba26aebb18fecdb50478bec9c07d4910ab3b)
2008-08-26 18:48:50 +02:00
Stefan Metzmacher
1f123a8b39 heimdal_build: autogenerate heimdal/lib/roken/roken.h
metze
(This used to be commit 3ab59dc66fe2d40533a66ff786d0b2373eea1ab8)
2008-08-26 18:48:39 +02:00
Stefan Metzmacher
57d4e11023 heimdal_build: add fallback for AC_WARNING_ENABLE()
metze
(This used to be commit 8d6d96898dcc948aa0ee004eaeb48dc847946361)
2008-08-26 18:47:49 +02:00
Stefan Metzmacher
f09f67d24d heimdal: remove unused old files
metze
(This used to be commit 94cef56212d7d7c1150aea760dba24bda7190442)
2008-08-26 18:47:48 +02:00
Stefan Metzmacher
41dbc6c4fd heimdal_build: split heimdal/lib/asn1 file lists
metze
(This used to be commit d3e939bf75fb85cf0eb3551856e161e3e58c0031)
2008-08-26 18:06:46 +02:00
Stefan Metzmacher
478a4cb808 heimdal_build: split handwritten and generated hx509 file lists
metze
(This used to be commit 848067033c40c3a4681f196ac5da289cd488d962)
2008-08-26 14:27:14 +02:00
Stefan Metzmacher
bcb249dee1 heimdal_build: split out gssapi_spnego and gssapi_krb5 file lists
metze
(This used to be commit 95135ade447e04329afa7581c66c4df8de63ca24)
2008-08-26 14:27:04 +02:00
Stefan Metzmacher
1c4b84ee4f heimdal_build: add a fake sqlite keytab implementation
This remove a difference against lorikeet-heimdal.

metze
(This used to be commit 4314df3561dfe60228db0af220549300b0137c85)
2008-08-26 14:25:44 +02:00
Stefan Metzmacher
e7c171590a heimdal_build: split glue.c into krb5 and gssapi parts
metze
(This used to be commit 1c7bb21bd85900206e9ad831bc4795c1f765a9aa)
2008-08-26 14:25:12 +02:00
Stefan Metzmacher
d3265b01e5 kdc: move references to heimdal internals into heimdal_build/kpasswd-glue.h
metze
(This used to be commit 65057f17b0d9e83f1b775afdeb7ea91ce0e52cd1)
2008-08-26 12:30:03 +02:00
Stefan Metzmacher
d9ad17f945 heimdal: add experimental --enable-external-heimdal
This should only be used for testing and when you're
absolutly sure the installed heimdal libraries
support the features we need.

(E.g. heimdal-1.2 or lower should NOT work)

metze
(This used to be commit 66b76b018d6048cec63a75b24ec4c099f6a2eb8c)
2008-08-01 21:10:40 +02:00
Stefan Metzmacher
d96c5758f6 heimdal_build/internal: add some useful defines
metze
(This used to be commit b9727d612bd2e9cf67ca2d4a9c60dc13d4bed5be)
2008-08-01 21:10:39 +02:00
Stefan Metzmacher
59737cddfb heimdal: fix dependency
metze
(This used to be commit 9e8b95dc8d577ea33504f0fb463d4648393e045b)
2008-08-01 21:10:39 +02:00
Stefan Metzmacher
f2ac351d6e kdc: use mostly only public kerberos headers
We shoule avoid using the private heimdal function
_krb5_principalname2krb5_principal()

metze
(This used to be commit 10db07c69addce6e90851fb55738d5f9e142946b)
2008-08-01 17:54:34 +02:00
Stefan Metzmacher
fed1cc2c6d heimdal_build: we should only use PRIVATE_DEPENDENCIES
metze
(This used to be commit 694f5124a523538117bf5d35be1a2d4f275ad0c2)
2008-08-01 17:52:36 +02:00
Stefan Metzmacher
f4140cfdb0 build: autogenerate heimdal basics
metze
(This used to be commit f19d2182b802a49449cbb9e4e6334f223ceb284d)
2008-08-01 17:52:36 +02:00
Stefan Metzmacher
8dede49961 build: autogenarate VPATH by configure
metze
(This used to be commit 16147753adcdbdc0ee9faa16fafb1c74240a6858)
2008-08-01 17:52:36 +02:00