My conf/local.conf contains the following row: PACKAGECONFIG_remove_pn-samba = "ldap" When running 'bitbake samba', this error occurs in do_configure: | Active Directory support not available: LDAP support is not available. | /home/chainsaw/src/yocto-pyro/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/samba/4.6.2-r0/samba-4.6.2/source3/wscript:813: error: Active Directory support not found. Use --without-ads for building without Active Directory support. ADS support improves communication with Active Directory domain controllers. | WARNING: exit code 1 from a shell command. This is probably a simple fix: adding a PACKAGECONFIG[ads] option and modifying the SAMBA4_PDB_MODULES variable to only add pdb_ads if configured to use it.
Samba isn't part of oe-core, but a recipe in meta-networking. Bugs for meta-networking should be reported on the openembedded-devel mailing list.