[Samba] Samba on Solaris with LDAP support
mangoo at wpkg.org
Mon Jan 30 18:04:29 GMT 2006
Dege, Robert C. schrieb:
> I'm trying to build samba with ldap/ads support on a solaris10 sparc
> system. After some googling, I followed some the advise of others, and
> built krb5, openssl, and openldap and installed into /usr/local.
> When running configure, I get errors about ldap not being found:
> checking for LDAP support... yes
> checking ldap.h usability... yes
> checking ldap.h presence... yes
> checking for ldap.h... yes
> checking lber.h usability... yes
> checking lber.h presence... yes
> checking for lber.h... yes
> checking for ber_scanf in -llber... yes
> checking for ldap_init in -lldap... no
> checking for ldap_set_rebind_proc... no
> checking whether ldap_set_rebind_proc takes 3 arguments... 3
> configure: error: libldap is needed for LDAP support
I had a similar problem when I was cross-compiling Samba for mipsel.
It is most likely OpenLDAP issue.
see config.log and look for lldap / libldap errors.
You may also search for my posts in "how does libldap detection work in
./configure script?" thread on samba-technical list.
More information about the samba