source4/kdc: Fix prototypes for all functions.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 18 Mar 2011 23:43:50 +0000 (00:43 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 19 Mar 2011 02:20:05 +0000 (03:20 +0100)
source4/kdc/db-glue.c
source4/kdc/kdc.c
source4/kdc/pac-glue.c
source4/kdc/policy.c
source4/kdc/samba_kdc.h
source4/kdc/wscript_build

index 7a3b1f4f69dc075d5d43a3fda48c68299b9ef76e..6ef928caa15ab7cd4a717225c6721a820254ab39 100644 (file)
@@ -34,7 +34,9 @@
 #include "auth/kerberos/kerberos.h"
 #include <hdb.h>
 #include "kdc/samba_kdc.h"
+#include "kdc/kdc-glue.h"
 #include "kdc/kdc-policy.h"
+#include "kdc/db-glue.h"
 
 #define SAMBA_KVNO_GET_KRBTGT(kvno) \
        ((uint16_t)(((uint32_t)kvno) >> 16))
index 26365acc7c0b4ffa22fee238f9185eddc0e5599d..784b98b07278b08670c66d5f7ac302de3805df92 100644 (file)
@@ -35,6 +35,8 @@
 #include "dsdb/samdb/samdb.h"
 #include "auth/session.h"
 
+NTSTATUS server_service_kdc_init(void);
+
 extern struct krb5plugin_windc_ftable windc_plugin_table;
 extern struct hdb_method hdb_samba4;
 
index 52769493da4b05ec11111cbe31cc0d4d069769a5..38db41d837551f6436762733940e0bf33055c06d 100644 (file)
@@ -27,6 +27,7 @@
 #include "auth/auth.h"
 #include "auth/auth_sam_reply.h"
 #include "kdc/kdc-glue.h"
+#include "kdc/pac-glue.h"
 #include "param/param.h"
 #include "librpc/gen_ndr/ndr_krb5pac.h"
 
index 8f62c486497b513489ecc3cbbd33370ee0b5d09f..e9cc608e10c65be7d2de99ec69eac701ccdab190 100644 (file)
@@ -23,6 +23,7 @@
 #include "system/kerberos.h"
 #include "auth/kerberos/kerberos.h"
 #include "param/param.h"
+#include "kdc/kdc-policy.h"
 
 void kdc_get_policy(struct loadparm_context *lp_ctx, 
                    struct smb_krb5_context *smb_krb5_context, 
index faa4c7b7ad332d504ff44451a00d7f2141ba7930..3852955e458e6a72984dca9652b6b50a5afdc431 100644 (file)
@@ -21,6 +21,9 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
+#ifndef _SAMBA_KDC_H_
+#define _SAMBA_KDC_H_
+
 struct samba_kdc_base_context {
        struct tevent_context *ev_ctx;
        struct loadparm_context *lp_ctx;
@@ -45,3 +48,5 @@ struct samba_kdc_entry {
        struct ldb_dn *realm_dn;
        hdb_entry_ex *entry_ex;
 };
+
+#endif /* _SAMBA_KDC_H_ */
index ac8f879ed490f3eea3636a34e03c5fcd5af20790..2d633ad6a7e2f0e517f9226c1265c7d06d273d07 100644 (file)
@@ -39,7 +39,8 @@ bld.SAMBA_LIBRARY('pac',
 bld.SAMBA_LIBRARY('db-glue',
        source='db-glue.c',
        deps='ldb auth4_sam auth_sam_reply credentials hdb samba-hostconfig com_err kdc-policy',
-       private_library=True
+       private_library=True,
+       includes='../heimdal/kdc',
        )
 
 bld.SAMBA_LIBRARY('kdc-policy',