Bug 9119 - Samba 4.0 does not error out by default without ldap-devel libary
Summary: Samba 4.0 does not error out by default without ldap-devel libary
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Build (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Tridgell
QA Contact: samba4-qa@samba.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-26 14:13 UTC by Rowland Penny
Modified: 2017-06-29 06:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rowland Penny 2012-08-26 14:13:48 UTC
Samba4 built on Centos 6 using list of dependances listed on https://wiki.samba.org/index.php/Samba_4_OS_Requirements

This does not include openldap-devel

it built & installed ok, but the nmbd,smbd,winbindd fileserver would not join the AD domain


'net ads join -U Administrator@HOME.LAN' gets this:

'ADS support not compiled in'
Comment 1 Andrew Bartlett 2012-12-31 05:48:39 UTC
The issue here is that unlike the promise in BUILD_SYSTEMS.txt, we do not require this library by default, but instead silently degrade to not building with 'ads' support. 

We should instead fail, but allow a build --without-ads-support.
Comment 2 Andrew Bartlett 2017-06-27 21:53:51 UTC
Fixed in Samba 4.1 with 8d6bc9987c22248453c0acd25616eda35d6d99db