***SPAM*** Re: [Samba] Configure Samba with non-standard OpenLDAPlocation

Ayotunde Itayemi aitayemi at vmobile-nigeria.com
Thu Mar 17 11:35:50 GMT 2005


Try the configure format below:

LDFLAGS='-L/usr/local/openldap/lib'
CPPFLAGS='-I/usr/local/openldap/include' ./configure
--prefix=/usr/local/samba-3.0.12pre1 --with-ldap --with-ads
--with-winbind --with-krb5=/usr/local/krb5-1.3.5
--with-libiconv=/usr/local/libiconv-1.9.1

That's from my own compile. Change the LDFLAGS as applicable.

-----Original Message-----
From: samba-bounces+aitayemi=vmobile-nigeria.com at lists.samba.org
[mailto:samba-bounces+aitayemi=vmobile-nigeria.com at lists.samba.org] On
Behalf Of Theodore Jencks
Sent: Wednesday, March 16, 2005 11:12 PM
To: samba at lists.samba.org
Subject: RE: ***SPAM*** Re: [Samba] Configure Samba with non-standard
OpenLDAPlocation

I'm having a similar problem where the configure just doesn't find the
ldap libraries even though I've got the ldap-devel rpm installed and the
libraries are in their normal location in /usr/lib.

-TJ

-----Original Message-----
From: samba-bounces+tjencks=navis.com at lists.samba.org
[mailto:samba-bounces+tjencks=navis.com at lists.samba.org] On Behalf Of
Tony Earnshaw
Sent: Wednesday, March 16, 2005 12:15 PM
To: Dariusz Lis
Cc: samba at lists.samba.org
Subject: ***SPAM*** Re: [Samba] Configure Samba with non-standard
OpenLDAP location


Dariusz Lis:

> How to configure (and compile) Samba with non-standard OpenLDAP
location?
> Is it possible?

Basically, yes. It all depends on where the LDAP libraries (libldap,
liblber) were told to look for ${prefix} during the OpenLDAP
compilation.
When Samba source (or srpm installation) is compiled, it should find
them automatically, depending on your systems library database (e.g.Red
Hat Linux ldconfig/ld.so.conf - 'cat /etc/ld.so.conf').

--Tonni

--
mail: tonye at billy.demon.nl
http://www.billy.demon.nl

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list