Created attachment 430068 [details] Ebuild patch making the openldap dependency optional It seems that it is possible to build sys-libs/ldb without net-nds/openldap. In addition, samba seems to be able to work properly with this sys-libs/ldb[-ldap] version (seems to be working on my local server). If this work, samba[-ldap] could be build without requiring net-nds/openldap (which it currently does indirectly thought ldb). Attach an ebuild patch and a successful compilation run where you can read the following: ''' Checking for library lber : not found Checking for library ldap : not found Checking for ber_flush : not found Checking for ldap_ : not found Checking for ldap_initialize : not found ''' I see that it was stated in #506448 that "Yes, it definitely does want to link the ldap module against liblber and libldap.". Could you explain that in more details? Thanks in advance!
Created attachment 430070 [details] Compilation logs without openldap
I am wondering about the dep on net-nds/openldap too. I can build sys-libs/ldb-1.1.26 without openldap and samba (very important user of ldb) seems to work.
*** This bug has been marked as a duplicate of bug 506448 ***