diff --git a/source4/libnet/libnet_export_keytab.c b/source4/libnet/libnet_export_keytab.c index bdd77c0d1c6..ee2c47083c0 100644 --- a/source4/libnet/libnet_export_keytab.c +++ b/source4/libnet/libnet_export_keytab.c @@ -21,7 +21,6 @@ #include "includes.h" #include "system/kerberos.h" #include "auth/kerberos/kerberos.h" -#include #include "kdc/samba_kdc.h" #include "libnet/libnet_export_keytab.h" diff --git a/source4/libnet/wscript_build b/source4/libnet/wscript_build index daae59fa5a7..1274a82d04c 100644 --- a/source4/libnet/wscript_build +++ b/source4/libnet/wscript_build @@ -16,7 +16,7 @@ bld.SAMBA_PYTHON('python_net', bld.SAMBA_PYTHON('python_dckeytab', source='py_net_dckeytab.c libnet_export_keytab.c', - deps='pyrpc_util HDB_SAMBA4 com_err', + deps='pyrpc_util db-glue krb5 com_err', realname='samba/dckeytab.so', - enabled=bld.CONFIG_SET('SAMBA4_USES_HEIMDAL') and bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED') + enabled=bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED') )