From d12521c1690953c27aac17f9befae8926ae516db Mon Sep 17 00:00:00 2001 From: Val Kulkov Date: Wed, 9 Jan 2019 14:31:47 -0500 Subject: [PATCH] samba4: add mandatory option per CVE-2018-16853 Since 4.9.3, Samba AD-DC with MIT Kerberos will refuse to build unless --with-experimental-mit-ad-dc is provided to the configure command. The mandatory requirement was introduced in response to a report that a user in a Samba AD domain can crash the KDC when Samba is built in the non-default MIT Kerberos configuration: https://www.samba.org/samba/security/CVE-2018-16853.html This requirement was introduced in Samba commit c5370a4349d381ba3b64b063dc28a2c54cfacdfc. Signed-off-by: Val Kulkov --- net/samba4/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/samba4/Makefile b/net/samba4/Makefile index 8e57624b02..06976f2359 100644 --- a/net/samba4/Makefile +++ b/net/samba4/Makefile @@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=samba PKG_VERSION:=4.9.4 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Andy Walsh PKG_LICENSE:=GPL-3.0-only @@ -193,7 +193,7 @@ else CONFIGURE_ARGS += --without-acl-support endif ifeq ($(CONFIG_SAMBA4_SERVER_AD_DC),y) - CONFIGURE_ARGS += --enable-gnutls --with-dnsupdate --with-ads --with-ldap + CONFIGURE_ARGS += --enable-gnutls --with-dnsupdate --with-ads --with-ldap --with-experimental-mit-ad-dc TARGET_CFLAGS := -I$(STAGING_DIR)/usr/include/python2.7 $(TARGET_CFLAGS) else CONFIGURE_ARGS += --without-ad-dc --without-json-audit --without-libarchive --disable-python --nopyc --nopyo --disable-gnutls --without-dnsupdate --without-ads --without-ldap -- 2.30.2