git: 6241b965356f - main - net/samba422: Make ADS option imply LDAP option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 01 Nov 2025 03:18:04 UTC
The branch main has been updated by yasu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6241b965356fb18caef79dc64bbdb6f85563b88a
commit 6241b965356fb18caef79dc64bbdb6f85563b88a
Author: Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2025-10-23 12:17:47 +0000
Commit: Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2025-11-01 03:17:43 +0000
net/samba422: Make ADS option imply LDAP option
If ADS option is on and LDAP option is off, build fails at configure
phase as below.
need ber_sockbuf_add_io() and LDAP_OPT_SOCKBUF for SASL and TLS support
Active Directory support not available: LDAP support is not available.
Active Directory support not found. Use --without-ads for building without Active Directory support. ADS support improves communication with Active Directory domain controllers.
(complete log in /wrkdirs/usr/ports/net/samba422/work/samba-4.22.3/bin/config.log)
===> Script "configure" failed unexpectedly.
Please report the problem to samba@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/net/samba422/work/samba-4.22.3/bin/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Stop.
make: stopped in /usr/ports/net/samba422
As is explained in error message, active directory support requires
ldap support. So make ADS option imply LDAP option to avoid such
options setting.
Reviewed by: 0mp
Differential Revision: https://reviews.freebsd.org/D53298
---
net/samba422/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/samba422/Makefile b/net/samba422/Makefile
index 6625496980b3..bdd4f285c547 100644
--- a/net/samba422/Makefile
+++ b/net/samba422/Makefile
@@ -338,6 +338,7 @@ AD_DC_BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}markdown>=3.3.7:textproc/py-markdo
AD_DC_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}markdown>=3.3.7:textproc/py-markdown@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dnspython>=2.2.1:dns/py-dnspython@${PY_FLAVOR}
+ADS_IMPLIES= LDAP
ADS_CONFIGURE_WITH= ads
CLUSTER_CONFIGURE_WITH= cluster-support