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

226 Commits

Author SHA1 Message Date
Stefan Metzmacher
76eaece42c we now define PACKAGE_BUGREPORT in config.h
metze
(This used to be commit 4afd4058e30e0754a56100e691486139f149e3a3)
2008-03-08 09:28:16 +01:00
Jelmer Vernooij
ff0315ba85 Rename include to mkinclude to emphasize it is different from make's include.
(This used to be commit 0e1d0a874ae3d22b8f97a79b81fe0af3ef53a771)
2008-02-18 20:04:18 +01:00
Jelmer Vernooij
3f63d2fe4d Fix unresolved symbols.
(This used to be commit dbcecb6d8fe3e13cc4da003adeda7623b746b751)
2008-02-18 17:24:29 +01:00
Jelmer Vernooij
80cbff3d01 Fix build with partial linking.
(This used to be commit bfad9610c472e8d7e3656e19c8dbb6b85727dc13)
2008-02-18 16:02:33 +01:00
Jelmer Vernooij
e5d7bd3821 Reenable partial linking
(This used to be commit a7512fb059d5dcb6bf70418622206eec94153693)
2008-02-18 13:10:30 +01:00
Jelmer Vernooij
440b1a1d04 build: Don't build heimdal as library.
(This used to be commit c04cf0c0520ae35ebe173d733d5dc8ffa5bf4ed9)
2008-01-21 03:54:43 +01:00
Jelmer Vernooij
be8a2ad342 r26462: Tighten dependencies.
(This used to be commit 020f2f7426c2850fffc272f53065fa7305dd0313)
2007-12-21 05:50:28 +01:00
Jelmer Vernooij
70f1f33af8 r26402: Require a talloc context in libnetif.
(This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
2007-12-21 05:49:33 +01:00
Jelmer Vernooij
6f2252dace r26401: Don't cache interfaces context in libnetif.
(This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153)
2007-12-21 05:49:32 +01:00
Jelmer Vernooij
c5bf20c5fe r26325: Remove use of global_loadparm in netif.
(This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6)
2007-12-21 05:48:37 +01:00
Stefan Metzmacher
9e344b9157 r25874: force specific versions for LEX and YACC.
We often have problems with old yacc and bison versions
and it seem the combination of LAX and YACC also matters.

So we now list all supported version combinations explicit.
flex-2.5.33:bison-2.3 only for now.

metze
(This used to be commit ad0556cbf7c1b0dfc3180a010f2a14d9597c3222)
2007-12-21 05:44:35 +01:00
Stefan Metzmacher
3f073b4c6b r25736: make sure we include "config.h" as first header
in code generated from et_compile

metze
(This used to be commit 8757b09052c5e07b23b8b50f7227f884201d9e98)
2007-12-21 05:43:35 +01:00
Stefan Metzmacher
b54fd3bac1 r25735: make sure we include "config.h" as first header in
files generated from asn1_compile

metze
(This used to be commit 85f6b42221854618bcc6200d27693827defb13fa)
2007-12-21 05:43:34 +01:00
Stefan Metzmacher
974890ebdf r25727: include "system/network.h" instead of <sys/socket.h>
to make sure socklen_t is typedef'ed

metze
(This used to be commit d1fb51b1d282363e77fe6d9f61f85fec52327f6b)
2007-12-21 05:43:30 +01:00
Stefan Metzmacher
3e1fbf76ba r25719: let "system/network.h" do the replacements first, then
roken.h.in can do the missing heimdal bits.

this removes to redifinition of 'struct addrinfo' on some platforms

metze
(This used to be commit 317b6494452f6162465000fe71e5c40c260f735a)
2007-12-21 05:43:26 +01:00
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 95462d614d68a93e85232e3a779f8bfa86fba4d1)
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 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