r8161: Update Samba4 for the new Heimdal update.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 5 Jul 2005 10:05:40 +0000 (10:05 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:19:16 +0000 (13:19 -0500)
Andrew Bartlett
(This used to be commit 6a9b6373273f135fe012a6603707d77c2a65e9fa)

source4/heimdal_build/config.m4
source4/heimdal_build/config.mk
source4/include/system/kerberos.h
source4/kdc/kdc.c
source4/kdc/kdc.h

index b4aa1f65cb2ef2691d7559fa0e2b1bf798e3bff1..18e491c30bc34fdecfa0221055a978241421105b 100644 (file)
@@ -14,7 +14,7 @@ SMB_BINARY_ENABLE(compile_et, NO)
 # of the samba source tree
 if test -d heimdal; then
        AC_DEFINE(HAVE_KRB5,1,[Whether kerberos is available])
-       CFLAGS="${CFLAGS} -Iheimdal_build -Iheimdal/lib/krb5 -Iheimdal/lib/gssapi -Iheimdal/lib/asn1 -Iheimdal/lib/com_err -Iheimdal/lib/hdb"
+       CFLAGS="${CFLAGS} -Iheimdal_build -Iheimdal/lib/krb5 -Iheimdal/lib/gssapi -Iheimdal/lib/asn1 -Iheimdal/lib/com_err -Iheimdal/lib/hdb -Iheimdal/kdc"
        HAVE_KRB5=YES
        SMB_MODULE_DEFAULT(KERBEROS_LIB, STATIC)
        SMB_BINARY_ENABLE(asn1_compile, YES)
index a66ceea7b0ccebe9bb6f9187e436f9382cf4e601..45b82672e4eca2b103be1489e6b329407e772161 100644 (file)
@@ -285,6 +285,7 @@ ADD_OBJ_FILES = \
        heimdal/lib/roken/strlwr.o \
        heimdal/lib/roken/strsep_copy.o \
        heimdal/lib/roken/strupr.o \
+       heimdal/lib/roken/strpool.o \
        heimdal/lib/roken/getifaddrs.o
 NOPROTO = YES
 # End SUBSYSTEM HEIMDAL_ROKEN
index 26afb36a48e689c1534e159471a655f0415f78fd..d000f4d668072e5a366a96807d9f5635f9fda445 100644 (file)
@@ -20,6 +20,7 @@
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
+#ifdef HAVE_KRB5
 /* Whether the krb5_address struct has a addrtype property */
 /* #undef HAVE_ADDRTYPE_IN_KRB5_ADDRESS */
 /* Whether the krb5_address struct has a addr_type property */
 /* Whether krb5_princ_realm returns krb5_realm or krb5_data */
 #define KRB5_PRINC_REALM_RETURNS_REALM 1
 
-#ifdef HAVE_KRB5
 #include "heimdal/lib/krb5/krb5.h"
 #include "heimdal/lib/gssapi/gssapi.h"
 #include "heimdal/lib/com_err/com_err.h"
index a1958b54fa623367f13ea8cf4c3b17f8ff4b7aa3..1540e0f4a198fa1f43d0151f298a5d41930fcb3f 100644 (file)
@@ -250,7 +250,7 @@ static void kdc_task_init(struct task_server *task)
        kdc->task = task;
 
        /* Setup the KDC configuration */
-       kdc->config = talloc(kdc, struct krb5_kdc_configuration);
+       kdc->config = talloc(kdc, krb5_kdc_configuration);
        if (!kdc->config) {
                task_server_terminate(task, "kdc: out of memory");
                return;
index d59fa3e2e70d166a0a84d6de7121c01377b1c2ed..2965adc8d22674f265c9ef3d5236f5bfc270febe 100644 (file)
@@ -42,7 +42,7 @@ struct kdc_reply {
 */
 struct kdc_server {
        struct task_server *task;
-       struct krb5_kdc_configuration *config;
+       krb5_kdc_configuration *config;
        struct smb_krb5_context *smb_krb5_context;
 };