Page MenuHomeFreeBSD

net/samba422: Make ADS option imply LDAP option
Needs ReviewPublic

Authored by yasu on Thu, Oct 23, 12:43 PM.
Tags
None
Referenced Files
F133239895: D53298.id.diff
Fri, Oct 24, 6:00 AM
F133236005: D53298.id164881.diff
Fri, Oct 24, 5:14 AM
F133202357: D53298.id164881.diff
Thu, Oct 23, 10:32 PM
F133191256: D53298.diff
Thu, Oct 23, 8:07 PM
F133190783: D53298.diff
Thu, Oct 23, 8:01 PM
Subscribers
None

Details

Summary

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.

Test Plan

Confirmed build succeeds even if user enables ADS and distables LDAP.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 68047
Build 64930: arc lint + arc unit

Event Timeline

yasu requested review of this revision.Thu, Oct 23, 12:43 PM
yasu created this revision.