summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
AgeCommit message (Collapse)AuthorFilesLines
2012-05-08krb5samba: Add smb_krb5_make_pac_checksum.Andreas Schneider1-0/+1
Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue May 8 08:30:52 CEST 2012 on sn-devel-104
2012-05-08krb5samba: Add krb5_free_checksum_contents wrapperSimo Sorce1-0/+1
2012-05-07heimdal: Cope with newer Heimdal versions accepting a keyset argument toJelmer Vernooij1-4/+22
hdb_enctype2key. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon May 7 18:33:10 CEST 2012 on sn-devel-104
2012-05-04auth-session: MIT doesn't have import/export cred yetSimo Sorce1-0/+2
For now let's just loose this functionality with the MIT build. gss_import/export_cred should be availa ble when MIT 1.11 is released and this code is used only in some proxy scenario. Not normally needed for common configurations.
2012-05-04krb5samba: Add a smb_krb5_cc_get_lifetime() function.Andreas Schneider1-0/+1
Signed-off-by: Simo Sorce <idra@samba.org>
2012-05-04krb5samba: Add compat krb5_make_principal for MIT buildSimo Sorce1-0/+1
2012-05-04krb5samba: Add compat code to initialize keyblock contentsSimo Sorce1-0/+1
2012-05-04Move kerberos_kinit_keyblock_cc to krb5samba libSimo Sorce1-0/+1
Make it also work with MIT where krb5_get_in_tkt_with_keyblock is not available.
2012-04-25lib/replace: split out GSSAPI from lib/replace/system/kerberos.h into ↵Alexander Bokovoy1-0/+1
lib/replace/system/gssapi.h With waf build include directories are defined by dependencies specified to subsystems. Without proper dependency <gssapi/gssapi.h> cannot be found for embedded Heimdal builds when there are no system-wide gssapi/gssapi.h available. Split out GSSAPI header includes in a separate replacement header and use that explicitly where needed. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Wed Apr 25 00:18:33 CEST 2012 on sn-devel-104
2012-04-23Make sure krb5_principal_get_num_comp is identified as present for Heimdal buildAlexander Bokovoy1-0/+1
Common wrappers for MIT / Heimdal use krb5_principal_get_num_comp() to replace krb5_princ_size but rely on krb5_principal_get_num_comp() identified by the build. As we know it exists in Heimdal, define it for waf build. Signed-off-by: Simo Sorce <idra@samba.org>
2012-04-23waf: rename SAMBA4_INTERNAL_HEIMDAL to SAMBA4_USES_HEIMDALAlexander Bokovoy1-1/+1
SAMBA4_INTERNAL_HEIMDAL is defined unconditionally regardless where Heimdal comes from, system-wide or embedded version. This define is not used anywhere. We'll use it to distinguish between Heimdal and MIT Krb5 builds. Signed-off-by: Simo Sorce <idra@samba.org>
2012-04-03build: Remove checks for krb5_decode_ap_req, free_AP_REQ and ↵Andrew Bartlett1-2/+0
KRB5_TICKET_HAS_KEYINFO Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 3 19:19:33 CEST 2012 on sn-devel-104
2012-03-01build: link heimdal krb5 against execinfo if foundAndrew Bartlett1-1/+1
This is for FreeBSD, where backtrace symbols are in execinfo
2012-02-19Revert 42d4152ed4255f22ff0718d450f181468d7fb827.Jelmer Vernooij1-2/+2
asn1_compile and com_err already depended on LIBREPLACE_HOSTCC; depending on replace too causes waf to break (source lib/replace/replace.c is in more than one subsystem of target 'asn1_compile': ['LIBREPLACE_HOSTCC', 'replace']) Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 19 17:43:06 CET 2012 on sn-devel-104
2012-02-13s3-build: expliticly require gssapi for HAVE_KRB5 and remove HAVE_GSSAPIAndrew Bartlett1-1/+0
The requirement for gss functions already make this happen, but this is clearer. No code depends on HAVE_GSSAPI any more. Andrew Bartlett
2012-02-10s3-libsmb: Remove unused kerberos_set_creds_enctype()Andrew Bartlett1-1/+0
Also remove the unused configure tests for krb5_c_enctype_compare. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
2012-02-10s3-libsmb: Remove unused kerberos_compatible_enctypesAndrew Bartlett1-1/+0
Also remove the unused configure tests for krb5_c_enctype_compare. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
2012-02-10heimdal_build: omit #line statmentsAndrew Bartlett1-7/+9
This restores and finishes my original commit 80e23c68d83a7c9989f87d5a88a78bb76d222afc, reverted in 68c61a829b8487104483b23052b54c532fecb6ce heimdal_build omit #line statments to allow valgrind to work again This time however, the reason to omit line statements is that it causes more trouble with the lcov code coverage system than the (nil) value that these statements bring. Otherwise, we have to have a special case to remove the .gcno and .gcda files for these generated files. Andrew Bartlett
2012-02-01s4-heimdal: the ASN1 compiler now depends on libreplaceAndrew Tridgell1-2/+2
it uses strlcat(), which we now get from libbsd if available Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Feb 1 05:51:56 CET 2012 on sn-devel-104
2012-01-25s3:build: require gss_krb5_export_lucid_sec_context() for ads supportStefan Metzmacher1-0/+1
This is needed to detect krb5 with aes for GENSEC_FEATURE_NEW_SPNEGO at runtime. metze
2012-01-10krb5: Require krb5_get_renewed_creds be available to build with krb5Andrew Bartlett1-1/+0
2012-01-10krb5: Remove now unused checks for krb5_verify_checksumAndrew Bartlett1-2/+0
2012-01-10krb5: Require krb5_c_enctype_compare is available to build with krb5Andrew Bartlett1-1/+0
2012-01-10samba: check for AES encryption type defines.Günther Deschner1-0/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jan 10 15:05:38 CET 2012 on sn-devel-104
2012-01-05s3-librpc Use gsskrb5_get_subkey() where available to get the session keyAndrew Bartlett1-0/+1
This allows gse_get_session_key() to work against Heimdal. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-08-01heimdal_build: Use krb5-config to find heimdal include directory and library ↵Jelmer Vernooij1-2/+19
path, rather than hardcoding.
2011-07-26s4:heimdal_build: hdb.asn1 needs --sequence=HDB-Ext-KeySet --sequence=KeysStefan Metzmacher1-0/+1
metze
2011-07-24s4:heimdal: build samba4kgetcredStefan Metzmacher1-0/+5
metze
2011-07-15s4:heimdal_build: define HAVE_KRB5_PDU_NONE_DECLStefan Metzmacher1-0/+1
metze
2011-07-15s4:heimdal: add missing filesStefan Metzmacher1-1/+4
metze
2011-07-14s4:heimdal_build: we need k5crypto and gssapi_krb5 aliases also when using ↵Stefan Metzmacher1-13/+7
system libraries metze
2011-07-14s4:heimdal_build: only maintain lib/gssapi/{spnego,krb5} file lists onceStefan Metzmacher1-90/+67
This also makes sure we only create private headers if we use internal heimdal. metze
2011-07-14s4:heimdal_build: provide HEIMDAL_UNUSED_ATTRIBUTEStefan Metzmacher1-0/+2
metze
2011-05-31heimdal_build: Don't use heimdal's getprogname() and setprogname()Andrew Bartlett2-6/+17
Writing into an __progname variable spooks me, and if we use the local variable, then we duplciate the system one, which fails SYMBOLCHECK Andrew Bartlett
2011-04-30kerberos: Only include gssapi/gssapi_krb5.h when availableAndrew Bartlett1-0/+1
2011-04-27auth/kerberos Add check for gss_inquire_sec_context_by_oidAndrew Bartlett1-0/+1
Not all kerberos distributions have this function. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 27 07:39:08 CEST 2011 on sn-devel-104
2011-04-27s3-gse: Don't release the mech OID from gss_accept_security_contextAndrew Bartlett1-0/+1
This is constant data according to the man pages I find for this fucntion, and causes a segfault to free() when linked to Heimdal. I am advised that while it is constant for gss_mech_krb5, it may not be for other mechanisms, so an assert will ensure this is dealt with by the programmer who extends this code in future. Andrew Bartlett
2011-04-26build: Move Heimdal/MIT compat build rules to heimdal_buildAndrew Bartlett1-0/+13
This allows top level build rules to rely on these names at all times. Andrew Bartlett
2011-04-23Add check for krb5_free_unparsed_name, when using external heimdal.Jelmer Vernooij1-2/+3
2011-04-16s4-heimdal_build: Add extra HAVE defines needed for the source3 krb5 codeAndrew Bartlett1-0/+3
2011-04-14libcli/auth Move krb5 wrapper functions from s3 into commonAndrew Bartlett1-0/+75
This requires a small rework of the build system to ensure that the correct #define statements are made in both the s3 and top level builds. We now define the various HAVE_ macros in config.h at all times, using heimdal_build/wscript_configure when that is in use. Andrew Bartlett
2011-02-25s4:heimdal - fix valgrind issue on Fedora 14Milan Crha1-5/+5
This should definitely fix bug #7858. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Feb 25 12:39:21 CET 2011 on sn-devel-104
2011-02-25Revert "heimdal_build omit #line statments to allow valgrind to work again"Matthias Dieter Wallnöfer1-4/+2
This reverts commit 80e23c68d83a7c9989f87d5a88a78bb76d222afc. A better patch has been provided by Milan Crha in the following commit.
2011-02-25heimdal_build omit #line statments to allow valgrind to work againAndrew Bartlett1-2/+4
The lex/yacc files were generated on Fedora 14, and have empty filenames in #line declarations. I don't know why this is, but it seems best just to omit the #line statements. This is what was causing Valgrind on Fedora not to run on Samba binaries and programs linked to Samba libraries. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 25 11:46:56 CET 2011 on sn-devel-104
2011-02-07s4-heimdal: allow heimdal build scripts to work from top levelAndrew Tridgell1-3/+6
the version_script handling relied on the directory layout. This makes it independent of the directory structure Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-04s4-heimdal_build Remove talloc dep for krb5-glue.cAndrew Bartlett1-6/+0
This glue does not require any internal Samba functionality, just the same heimdal headers as the files it is providing a stub replacement for. Andrew Bartlett
2011-01-04s4-heimdal_build Remove talloc dependency from hdb-glue.cAndrew Bartlett1-6/+0
This file can compile with just heimdal headers. Andrew Bartlett
2011-01-01heimdal_build: Add missing dependencies when building with system heimdal.Jelmer Vernooij1-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jan 1 04:46:35 CET 2011 on sn-devel-104
2011-01-01heimdal_build: Support using system gssapi library.Jelmer Vernooij1-0/+2
2011-01-01heimdal_build: Support using system hdb and kdc libraries.Jelmer Vernooij1-0/+5