[Samba] libldap is needed for LDAP support
baldwinsung at gmail.com
Fri Nov 12 17:03:22 GMT 2004
Try download the Sun LDAP SDK and you should be ok.
On Fri, 12 Nov 2004 10:37:11 -0600, Paul Gienger
<pgienger at ae-solutions.com> wrote:
> >./configure --prefix=/usr/sfw --sysconfdir=/etc/sfw --with-smbwrapper
> >--with-acl-support --with-ldap --with-ldapsam --with-ads --with-krb5=/usr/lib/krb5
> I'd suggest against putting it in /usr/sfw, as that's where sun puts a
> group of software that looks suspiciously like sunfreeware.com but
> obviously isn't installed where they put it. But it's your system, hack
> it as you please.
> >I get this with the Sun ldap libraries (which I asummme are OpenLDAP by
> >anonther name)
> Incorrect. Sun's ldap is from the Sun ONE suite which is a branch of
> Netscape's DS from way back, which I've heard shares heritage with
> OpenLDAP, but that's not close enough.
> Have you done anything to set your environment to look for libldap?
> Check the output of crle to see if /usr/local/lib is in there, which it
> isn't by default. Also make sure your shell environment is set for the
> directories. I usually do all of the following, which is quite possibly
> overkill, but I think I've needed them all on different varieties of
> export FLAGS=-I/opt/openldap/include
> export CPPFLAGS=-I/opt/openldap/include
> export LDFLAGS=-L/opt/openldap/lib
> export CFLAGS="-I/opt/openldap/include"
> You should be able to note that I put my openldap in /opt/openldap instead.
> Paul Gienger Office: 701-281-1884
> Applied Engineering Inc.
> Systems Architect Fax: 701-281-1322
> URL: www.ae-solutions.com mailto: pgienger at ae-solutions.com
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba