<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12562</bug_id>
          
          <creation_ts>2018-02-21 12:27:22 +0000</creation_ts>
          <short_desc>samba without LDAP fails in configure</short_desc>
          <delta_ts>2018-02-21 12:30:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>2.3.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jens Bäckman">jens</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>79526</commentid>
    <comment_count>0</comment_count>
    <who name="Jens Bäckman">jens</who>
    <bug_when>2018-02-21 12:27:22 +0000</bug_when>
    <thetext>My conf/local.conf contains the following row:

  PACKAGECONFIG_remove_pn-samba = &quot;ldap&quot;

When running &apos;bitbake samba&apos;, 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79527</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-02-21 12:30:49 +0000</bug_when>
    <thetext>Samba isn&apos;t part of oe-core, but a recipe in meta-networking.  Bugs for meta-networking should be reported on the openembedded-devel mailing list.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>