Page MenuHomeFreeBSD

net/samba422: Make ADS option imply LDAP option
ClosedPublic

Authored by yasu on Thu, Oct 23, 12:43 PM.
Tags
None
Referenced Files
F135829423: D53298.id165624.diff
Thu, Nov 13, 7:32 AM
Unknown Object (File)
Thu, Nov 6, 9:09 AM
Unknown Object (File)
Wed, Nov 5, 5:46 PM
Unknown Object (File)
Wed, Nov 5, 5:46 PM
Unknown Object (File)
Wed, Nov 5, 5:46 PM
Unknown Object (File)
Wed, Nov 5, 3:33 PM
Unknown Object (File)
Sat, Nov 1, 4:27 AM
Unknown Object (File)
Sat, Nov 1, 4:27 AM
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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

Sure, go ahead! Thanks for addressing this problem!

This revision is now accepted and ready to land.Fri, Oct 31, 3:56 PM