summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
AgeCommit message (Collapse)AuthorFilesLines
2009-08-05make the UID_WRAPPER skip checks at runtimeAndrew Tridgell1-1/+5
This fixes two issues pointed out by Andrew. It adds a runtime uwrap_enabled() call that wraps the skips needed for uid emulation. It also makes the skip in the directory_create_or_exist() function only change the uid checking code, not the permissions code
2009-08-05added a uid_wrapper libraryAndrew Tridgell2-1/+7
This library intercepts seteuid and related calls, and simulates them in a manner similar to the nss_wrapper and socket_wrapper libraries. This allows us to enable the vfs_unixuid NTVFS module in the build farm, which means we are more likely to catch errors in the token manipulation. The simulation is not complete, but it is enough for Samba4 for now. The major areas of incompleteness are: - no emulation of setreuid, setresuid or saved uids. These would be needed for use in Samba3 - no emulation of ruid changing. That would also be needed for Samba3 - no attempt to emulate file ownership changing, so code that (for example) tests whether st.st_uid matches geteuid() needs special handling
2009-07-17Revert "s4:heimdal_build: predefine GSSAPI_DEPRECATED depending on the ↵Andrew Bartlett1-8/+0
compiler version" This is now handled correctly in the newly imported Heimdal This reverts commit 4a754d029b0eb229b23980aa4a80dae2b485a302.
2009-07-16s4:heimdal_build: predefine GSSAPI_DEPRECATED depending on the compiler versionStefan Metzmacher1-0/+8
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-16s4:heimdal_build: try to fix the build on systems without ifaddrs.hStefan Metzmacher2-0/+10
metze
2009-07-16s4:heimdal_build: tell heimdal we have inet_aton()Stefan Metzmacher1-0/+4
This should fix problems on Solaris. metze
2009-07-16s4:heimdal_build: try to fix the build on SolarisStefan Metzmacher1-0/+1
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-15s4:heimdal_build: try to fix the build on SolarisStefan Metzmacher1-3/+1
We need the definition of 'struct flock'. metze
2009-07-15s4:heimdal: teach heimdal we have (v)aѕprintf in libreplaceBjörn Jacke1-0/+8
2009-07-15ѕ4:heimdal: teach heimdal that we have strnlen via libreplcaeBjörn Jacke1-0/+4
2009-07-06s4:heimdal: readd heimdal/lib/asn1/asn1parse.y which was parse.y before the ↵Stefan Metzmacher1-2/+2
last import Also commit the regenerated files for systems without yacc and lex. This fixes the build with automatic dependecies for me. metze
2009-06-12s4:heimdal: import lorikeet-heimdal-200906080040 (commit ↵Andrew Bartlett2-9/+11
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-09work around conflict in pidfile() prototype for heimdal on NetBSD5Andrew Tridgell1-0/+7
2009-06-08s4:heimdal: fix build on FreeBSDBjörn Jacke1-1/+1
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-03-26s4:heimdal_build: provide heimdal_version and heimdal_long_version symbolsStefan Metzmacher2-0/+7
metze
2009-03-26s4:heimdal_build: define HAVE_STRLCPY, HAVE_STRLCAT, HAVE_STRCASECMP and ↵Stefan Metzmacher1-0/+16
HAVE_MKSTEMP metze
2009-02-26s4:heimdal_build: correrctly switch closefrom() and get/setprogname() ↵Stefan Metzmacher1-4/+6
replacements on and off metze
2009-02-26s4:heimdal_build: don't always build setprogname.oStefan Metzmacher2-17/+34
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-25s4: make libintl a build dependency of heimdal_krb5 so all dependent ↵Tim Prouty1-1/+1
binaries are linked properly
2009-02-25s4 heimdal: Link libintl correctlyTim Prouty1-0/+6
2009-02-24Start fixing Solaris build failures.Jeremy Allison1-1/+2
Jeremy.
2009-01-31s4:heimdal_build: fix the build of asn1_compile and compile_etStefan Metzmacher1-4/+2
We should not link in heimdal_build/replace.ho twice. HEIMDAL_ROKEN has everything we need.... metze
2009-01-30s4:heimdal_build: heimdal requires u_int32_t and u_charStefan Metzmacher1-0/+3
metze
2009-01-30Revert "s4:heimdal_build: include "system/network.h" via config.h wrapper"Stefan Metzmacher1-1/+0
This reverts commit 334c6e6b78de8529fce0061efd5249f8fe2d256f. This breaks the build later in the ntvfs code... metze
2009-01-30s4:heimdal_build: add a dummy define for dirfd()Stefan Metzmacher1-0/+4
metze
2009-01-30s4:heimdal_build: include "system/network.h" via config.h wrapperStefan Metzmacher1-0/+1
This fixes build problems on Tru64. metze
2009-01-30heimdal: don't include <sys/cdefs.h> without knowing it's thereStefan Metzmacher1-0/+11
metze
2008-11-02Use standard heimdal function for finding interfaces - libreplace provides ↵Jelmer Vernooij2-33/+1
support for the underlying functions now.
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij1-1/+2
remove some unused functions.
2008-10-20Fix merged build; use full libroken rather than just a couple of object files.Jelmer Vernooij1-9/+2
2008-10-20Add samba4kpasswd and rkpty binariesAndrew Bartlett2-7/+36
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-09-16Make Samba 3 and Samba 4 both use the same single copy of libreplace.Jelmer Vernooij2-2/+2
2008-08-26heimdal_build: include heimdal's new EVP code to fix the buildStefan Metzmacher2-1/+6
metze (This used to be commit f454342d48e1dce7dff0bcff246c7237bed94fd5)
2008-08-26heimdal_build: fix parse.h lex.c dependenciesStefan Metzmacher1-15/+12
metze (This used to be commit dbfbd1b018f7c29dde2e291cbb7bb54bf147a10e)
2008-08-26heimdal_build: autogenerate the heimdal private/proto headersStefan Metzmacher1-0/+101
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-26heimdal_build: autogenerate table files in heimdal/lib/wind/Stefan Metzmacher1-0/+40
metze (This used to be commit f4cfba26aebb18fecdb50478bec9c07d4910ab3b)
2008-08-26heimdal_build: autogenerate heimdal/lib/roken/roken.hStefan Metzmacher1-0/+10
metze (This used to be commit 3ab59dc66fe2d40533a66ff786d0b2373eea1ab8)
2008-08-26heimdal_build: add fallback for AC_WARNING_ENABLE()Stefan Metzmacher1-0/+2
metze (This used to be commit 8d6d96898dcc948aa0ee004eaeb48dc847946361)
2008-08-26heimdal: remove unused old filesStefan Metzmacher1-1/+0
metze (This used to be commit 94cef56212d7d7c1150aea760dba24bda7190442)
2008-08-26heimdal_build: split heimdal/lib/asn1 file listsStefan Metzmacher1-14/+12
metze (This used to be commit d3e939bf75fb85cf0eb3551856e161e3e58c0031)
2008-08-26heimdal_build: split handwritten and generated hx509 file listsStefan Metzmacher1-3/+6
metze (This used to be commit 848067033c40c3a4681f196ac5da289cd488d962)
2008-08-26heimdal_build: split out gssapi_spnego and gssapi_krb5 file listsStefan Metzmacher1-51/+57
metze (This used to be commit 95135ade447e04329afa7581c66c4df8de63ca24)
2008-08-26heimdal_build: add a fake sqlite keytab implementationStefan Metzmacher1-0/+21
This remove a difference against lorikeet-heimdal. metze (This used to be commit 4314df3561dfe60228db0af220549300b0137c85)
2008-08-26heimdal_build: split glue.c into krb5 and gssapi partsStefan Metzmacher3-20/+33
metze (This used to be commit 1c7bb21bd85900206e9ad831bc4795c1f765a9aa)
2008-08-26kdc: move references to heimdal internals into heimdal_build/kpasswd-glue.hStefan Metzmacher1-0/+3
metze (This used to be commit 65057f17b0d9e83f1b775afdeb7ea91ce0e52cd1)
2008-08-01heimdal: add experimental --enable-external-heimdalStefan Metzmacher2-0/+77
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-01heimdal_build/internal: add some useful definesStefan Metzmacher1-0/+6
metze (This used to be commit b9727d612bd2e9cf67ca2d4a9c60dc13d4bed5be)
2008-08-01heimdal: fix dependencyStefan Metzmacher1-0/+1
metze (This used to be commit 9e8b95dc8d577ea33504f0fb463d4648393e045b)
2008-08-01kdc: use mostly only public kerberos headersStefan Metzmacher1-0/+1
We shoule avoid using the private heimdal function _krb5_principalname2krb5_principal() metze (This used to be commit 10db07c69addce6e90851fb55738d5f9e142946b)
2008-08-01heimdal_build: we should only use PRIVATE_DEPENDENCIESStefan Metzmacher1-19/+7
metze (This used to be commit 694f5124a523538117bf5d35be1a2d4f275ad0c2)