[Samba] samba configure not working

Rajive Thapar rthapar at blueyonder.co.uk
Mon Jun 13 15:23:53 GMT 2005

You might have to include where you have compiled Kerberos with
--with-krb5=/usr/local/kerberso or wherever you placed it.


-----Original Message-----
From: Paul Gienger [mailto:pgienger at ae-solutions.com] 
Sent: 10 June 2005 15:07
To: 'Mattier, Ricardo'; samba at samba.org
Subject: RE: [Samba] samba configure not working

>     I'm having an issue compiling samba with-ads enabled.  I've
> successfully compiled kerberosV5 and Openldap.  I can the following
> when compiling Samba ./configure --with-pam --with-ads
> --with-ldap=/usr/local/openldap --with-winbind --with-krb5
> The configure fails due to not having ldap support.  Any ideas?

With the limited info you've given, you may not be finding the
On various versions of solaris, I've had to use any or all of these:

export FLAGS=-I/opt/openldap/include
export CPPFLAGS=-I/opt/openldap/include
export LDFLAGS=-L/opt/openldap/lib
export CFLAGS="-I/opt/openldap/include"

YMMV of course.  If you could provide a little more info you may get a
more information back. I could see the following being relevant:

- your OS type and version - there may be a dynamic linker we could
- a chunk of the ./configure before the failure
- the output of env (or the equivalent for your shell)
- some info about your openldap and krb installs, ./configure lines
probably do nicely

More information about the samba mailing list