From 12ce07e53b9453f35a1483d941bfce9c23f790a0 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 30 Nov 2011 07:45:25 +1100 Subject: s4-kdc: Add hdb plugin for samba4, to allow kadmin to work This will help users who are used to the kadmin interface, and could be extended to import existing MIT or Heimdal keys into a Samba4 AD domain. To use, add to your krb5.conf [kdc] database = { dbname = samba4: } or [kdc] database = { dbname = samba4:/usr/local/samba/etc/smb.conf } And copy hdb_samba4.so from PREFIX/modules/hdb to your Heimdal lib directory Andrew Bartlett Autobuild-User: Andrew Bartlett Autobuild-Date: Wed Nov 30 03:22:11 CET 2011 on sn-devel-104 --- source4/libnet/libnet_export_keytab.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source4/libnet') diff --git a/source4/libnet/libnet_export_keytab.c b/source4/libnet/libnet_export_keytab.c index 2dae370b1a..593f5fd5d9 100644 --- a/source4/libnet/libnet_export_keytab.c +++ b/source4/libnet/libnet_export_keytab.c @@ -5,8 +5,6 @@ #include "kdc/samba_kdc.h" #include "libnet/libnet.h" -extern struct hdb_method hdb_samba4; - NTSTATUS libnet_export_keytab(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, struct libnet_export_keytab *r) { krb5_error_code ret; @@ -35,7 +33,7 @@ NTSTATUS libnet_export_keytab(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, s ret = krb5_plugin_register(smb_krb5_context->krb5_context, PLUGIN_TYPE_DATA, "hdb", - &hdb_samba4); + &hdb_samba4_interface); if(ret) { return NT_STATUS_NO_MEMORY; } -- cgit