1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-19 04:23:48 +03:00
Commit Graph

104 Commits

Author SHA1 Message Date
Jelmer Vernooij
ba62880f5b r13658: More moving around of files:
- Collect the generic utility functions into a lib/util/ (a la GLib is
		for the GNOME folks)
 - Remove even more files from include/
2007-10-10 13:52:05 -05:00
Andrew Bartlett
849500d1aa r13107: Follow the lead of Heimdal's kpasswdd and use the HDB (hdb-ldb in our
case) as the keytab.

This avoids issues in replicated setups, as we will replicate the
kpasswd key correctly (including from windows, which is why I care at
the moment).

Andrew Bartlett
2007-10-10 13:51:26 -05:00
Stefan Metzmacher
0e1ad08a85 r12899: - fix warnings on AIX
- fix compilation of auth/kerberos/krb5_init_context.c on AIX

metze
2007-10-10 13:51:00 -05:00
Andrew Bartlett
2a6023d741 r12752: Clean up compile_et and asn1_compile as well.
Andrew Bartlett
2007-10-10 13:49:50 -05:00
Andrew Bartlett
5d42638170 r12750: Clean up more asn1 generated files (pointed out by <HotaruT>).
Andrew Bartlett
2007-10-10 13:49:49 -05:00
Jelmer Vernooij
f9eede3d40 r12670: Make a couple of dependencies stricter
Re-introduce and use the OUTPUT_TYPE property for MODULEs to force
specific modules to always be included
2007-10-10 13:49:35 -05:00
Jelmer Vernooij
b24f2583ed r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
2007-10-10 13:47:45 -05:00
Stefan Metzmacher
9e103e53d1 r12380: add a wraper script that calls the perl scripts in heimdal_build/
with the correct perl version, that was detected with configure

metze
2007-10-10 13:47:32 -05:00
Stefan Metzmacher
918e7b4043 r12378: fix perl warnings
metze
2007-10-10 13:47:32 -05:00
Stefan Metzmacher
657345da22 r12288: make sure we always include heimdal_build/config.h, before
heimdal/lib/roken/roken.h, this fixes the build on the 64bit machines

metze
2007-10-10 13:47:27 -05:00
Andrew Bartlett
8fd5224c6b r12269: Update to current lorikeet-heimdal. This changed the way the hdb
interface worked, so hdb-ldb.c and the glue have been updated.

Andrew Bartlett
2007-10-10 13:47:26 -05:00
Jelmer Vernooij
875eb8f4cc r11382: Require number of required M4 macros
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM
Add some more PUBLIC_HEADERS
2007-10-10 13:45:29 -05:00
Jelmer Vernooij
0b54405685 r11377: Add support for building LIBRARY elements as shared libraries:
- Adds -rpath bin/ so you don't have to install Samba in order to use compiled binaries.
 - Writes out pkg-config files when building shared libs
 - Supports automatic fallback to MERGEDOBJ (which is the default) or
   OBJ_LIST (if ld -r is not supported)

Building with shared libs reduces the size of the Samba binaries from
197 Mb to 60 Mb (including libraries) on my system (GCC4, with debugging).

To build with shared libraries support enabled, run:

LIBRARY_OUTPUT_TYPE=SHARED_LIBRARY ./config.status

init functions don't get called correctly yet when using shared libs, so
you won't be able to actually run anything with success :-)

Once init functions are done, I'll look at support for loading shared
modules once again.

Based on a patch by Peter Novodvorsky (nidd on IRC).
2007-10-10 13:45:28 -05:00
Andrew Bartlett
25d5ea6d72 r11314: Use a patch from lha to have the kerberos libs extract the PAC, rather
than doing ASN.1 parsing in Samba.

Also use the API function for getting a client from a ticket, rather
than just digging in the structure.

Andrew Bartlett
2007-10-10 13:45:18 -05:00
Andrew Bartlett
ec56590b06 r11290: Make it clear that Heimdal is always included, no need for the test
any more.

Andrew Bartlett
2007-10-10 13:45:14 -05:00
Jelmer Vernooij
24e1030090 r11244: Relative path names in .mk files 2007-10-10 13:45:06 -05:00
Jelmer Vernooij
7fffc5c917 r11214: Remove scons files (see http://lists.samba.org/archive/samba-technical/2005-October/043443.html) 2007-10-10 13:45:03 -05:00
Jelmer Vernooij
b53313dc51 r10586: Add MergedObject() builder. Default to Library() rather
then StaticLibrary()
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
20a1aba500 r10531: (hopefully) improve detection of socket-related functions in external libraries 2007-10-10 13:39:02 -05:00
Jelmer Vernooij
03647e1321 r10510: Decrease the amount of data included by includes.h a bit 2007-10-10 13:38:58 -05:00
Jelmer Vernooij
6df956edba r10509: Some more sconscript fixes. Now getting to link stage for smbclient 2007-10-10 13:38:58 -05:00
Jelmer Vernooij
fe4ff2d241 r10507: Let lib/replace take care of defining socklen_t for heimdal 2007-10-10 13:38:57 -05:00
Jelmer Vernooij
e09ffdfb1d r10476: Move some more types to libreplace. Fix missing strndup errors
for heimdal
2007-10-10 13:38:51 -05:00
Jelmer Vernooij
fbbfad0a1f r10456: More SCons fixes:
- Add framework for fallback generating code
 - Move pread / pwrite replacement functions to libreplace
 - Support pidl builds correctly
 - Support asn1 builds correctly
 - Move OS-specific checks to lib/replace/SConscript
2007-10-10 13:38:48 -05:00
Jelmer Vernooij
29919a7105 r10438: Move portability functions to lib/replace/; replace now simply ensures
that a given set of (working) POSIX functions are available (without
prefixes to their names, etc). See lib/replace/README for a list.

Functions that behave different from their POSIX specification
(such as sys_select, sys_read, etc) have kept the sys_ prefix.
2007-10-10 13:38:45 -05:00
Jelmer Vernooij
22f18a8424 r10366: More scons fixes. Building et, asn1, lex and yacc files sort-of works now 2007-10-10 13:38:32 -05:00
Jelmer Vernooij
4f0d7f75b9 r10348: Add scons scripts for remaining subsystems. Most subsystems build now,
but final linking still fails (as does generating files asn1, et, idl and proto
files)
2007-10-10 13:38:30 -05:00
Jelmer Vernooij
1a833690b8 r10287: Compile compilers for build host. This fixes some bits of
the mingw32 build (it now fails on missing inet_aton / in_addr definitions).
Find sane default for HOSTCC
2007-10-10 13:38:13 -05:00
James Peach
db75b2da1e r10100: Check for more networking headers so the resolv.h test can succeed. 2007-10-10 13:37:59 -05:00
James Peach
623c265312 r10097: Remove extraneous include patch heimdal/include. Add configure
checks for getipnodeby*().
2007-10-10 13:37:52 -05:00
Andrew Bartlett
32fb50d025 r9859: Enable (blocking) KDC resolution with DNS.
To enable, set:

[libdefaults]
 dns_lookup_realm = true
 dns_lookup_kdc = true

in your /etc/krb5.conf.

In the future I may override the krb5.conf and set this on by default
in Samba4.

Andrew Bartlett
2007-10-10 13:36:18 -05:00
Andrew Bartlett
913924a499 r9680: Update Heimdal to current lorikeet-heimdal (which was itself updated
to Heimdal CVS as of 2005-08-27).

Andrew Bartlett
2007-10-10 13:34:39 -05:00
Stefan Metzmacher
3b83cf6b5b r9473: - assume the case that happens on most boxes, to remove compiler warnings on them
metze
2007-10-10 13:34:20 -05:00
Jelmer Vernooij
f91121bded r9461: Couple of very small fixes. 2007-10-10 13:34:18 -05:00
Andrew Bartlett
d5fb30fb0c r9413: Bring Samba4 back up to date with lorikeet-heimdal.
Delete test_crypto_wrapping.c, previously included but unbuilt.

Andrew Bartlett
2007-10-10 13:33:35 -05:00
Andrew Tridgell
e8260a81cf r9369: an attempt to fix the build on HPUX. This is based on work by Don
McCall, but takes a slightly different approach that I hope will be
more generic
2007-10-10 13:33:28 -05:00
Andrew Bartlett
aa36b2adad r9305: Use the check-var.m4 from roken to really, really detect h_errno correctly.
This fixes the build on Fedora Core 4.

Andrew Bartlett
2007-10-10 13:33:23 -05:00
Stefan Metzmacher
8c8fd4cfc6 r9257: - I assume we don't need unistd.h in this file,
that sould fixes the build on aix
- use "" instead of <> for includes in our tree

metze
2007-10-10 13:31:38 -05:00
Andrew Bartlett
9a1d2f2fec r9221: Try to merge Heimdal across from lorikeet-heimdal to samba4.
This is my first attempt at this, so there may be a few rough edges.

Andrew Bartlett
2007-10-10 13:31:33 -05:00
Andrew Bartlett
15b7af1c39 r9217: Add 'make clean' hooks to the ans1 depedency generator.
To be used by the impending Heimdal resync, which has files starting
with asn1_ that are not generated.

Andrew Bartlett
2007-10-10 13:31:32 -05:00
Stefan Metzmacher
fe5e61a252 r9111: actually use the roken inet_aton when nothing was found
metze
2007-10-10 13:31:18 -05:00
Stefan Metzmacher
e409dfe72f r9109: set HAVE_GAI_STRERROR when the function was found donnot know whz this
doesnnot go without this patch

metze
2007-10-10 13:31:17 -05:00
Stefan Metzmacher
1008459a98 r9107: try to get the build on solaris going...
metze
2007-10-10 13:31:17 -05:00
Stefan Metzmacher
06c2aaa500 r9077: HEIMDAL_ROKEN needs inet_aton and on solaris it's in -lsocket
this should fix the build on sun1

metze
2007-10-10 13:31:14 -05:00
Jelmer Vernooij
f6b240125a r9053: Change order of dependencies (.h files are used when creating the
two compilers used for generating the rest of the heimdal files)
2007-10-10 13:31:12 -05:00
Stefan Metzmacher
14b92e8a08 r9049: - add property dependencies to include/proto.h
- make some stuff easier

metze
2007-10-10 13:31:12 -05:00
Stefan Metzmacher
1268753920 r9026: remove autogenerated .x and .c files
metze
2007-10-10 13:31:09 -05:00
Stefan Metzmacher
9a920d18bd r9025: fix the build when it was stoped and you don't run make clean before make all
metze
2007-10-10 13:31:08 -05:00
Jelmer Vernooij
2b15c74f20 r8996: More build fixes... 2007-10-10 13:31:05 -05:00
Jelmer Vernooij
343e33c13f r8995: Add heimdal headers back to "basics" target... should fix the build for now 2007-10-10 13:31:04 -05:00