[Samba] Need help with redhat build to --prefix

Michael Wood esiotrot at gmail.com
Tue Oct 25 01:04:57 MDT 2011

On 24 October 2011 17:52, Joy Veronneau <jv11 at cornell.edu> wrote:
> That was a big help, now I can run ntlm_auth and winbindd and they find
> their libraries.
> However, now that I can run ntlm_auth and winbindd with the correct
> libraries, it seems that I need to rebuild my samba config to request ADS
> support. I am using this configure command:
> ./configure --prefix=/app/radius/samba/
> --with-configdir=/app/radius/samba/conf
> --with-privatedir=/app/radius/samba/private --disable-cups
> --with-wbclient=/app/radius/samba/lib --with-ads --with-ldap
> but it is unable to find ldap.h.
> It looks like openldap is installed on this machine but I am not sure
> ldap.h is around anywhere - it's not in /usr/include or /usr/local/include

Make sure you have the openldap development package(s) installed.  On
Debian/Ubuntu the package is called libldap2-dev.  I think on Red Hat
it's called openldap-devel.

> - I did a find and it's in source4...
> sudo find . -name "ldap.h" -print
> ./app/radius/samba-3.5.8/source4/libcli/ldap/ldap.h
> but I am building source3. Should I be building source4? or what is the
> best way to proceed...?

Installing openldap-devel should do the trick.

Michael Wood <esiotrot at gmail.com>

More information about the samba mailing list