sun one ds 5.2 and samba 3.0.1

From: tim guinn (guinn@mail.utexas.edu)
Date: Wed Jan 21 2004 - 20:50:09 EST


hey, anyone had luck getting these two to work together?

i've got a brand new system, a v440 running sol8 at latest patch level, and good/fresh working copy of sun one directory server v 5.2..

using gcc 3.3.2.

and i need to get samba to recognize the ldap directory, but can't get it to get beyond configure, viz:

# ./configure --prefix=/usr/local/sambal --enable-debug --with-ldap --with-ldapsam

/* there is a working non-ldap samba at /usr/local/samba; the 'sambal' dir is where i'm intent on building the ldap version, during initial testing */

[excerpt #1]
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h: check for missing prerequisite headers?
configure: WARNING: net/if.h: proceeding with the preprocessor's result

[excerpt #2]
configure: WARNING: security/pam_modules.h: present but cannot be compiled
configure: WARNING: security/pam_modules.h: check for missing prerequisite headers?
configure: WARNING: security/pam_modules.h: proceeding with the preprocessor's result

[excerpt #3]
configure: WARNING: netinet/ip.h: present but cannot be compiled
configure: WARNING: netinet/ip.h: check for missing prerequisite headers?
configure: WARNING: netinet/ip.h: proceeding with the preprocessor's result

[and then it goes horribly astray... excerpt #4]
checking for LDAP support... yes
checking ldap.h usability... no
checking ldap.h presence... yes
configure: WARNING: ldap.h: present but cannot be compiled
configure: WARNING: ldap.h: check for missing prerequisite headers?
configure: WARNING: ldap.h: proceeding with the preprocessor's result
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... no
checking for ldap_init in -lldap... yes
checking for ldap_domain2hostlist... no
checking for ldap_set_rebind_proc... yes
checking whether ldap_set_rebind_proc takes 3 arguments... 3
checking for ldap_initialize... no
configure: error: libldap is needed for LDAP support

but of course...

bash-2.05$ locate libldap
/usr/lib/abi/abi_libldap.so.4
/usr/lib/abi/sparcv9/abi_libldap.so.4
/usr/lib/fn/libldap.so
/usr/lib/fn/libldap.so.1
/usr/lib/fn/sparcv9/libldap.so
/usr/lib/fn/sparcv9/libldap.so.1
/usr/lib/libldap.so
/usr/lib/libldap.so.3
/usr/lib/libldap.so.4
/usr/lib/sparcv9/libldap.so
/usr/lib/sparcv9/libldap.so.3
/usr/lib/sparcv9/libldap.so.4

????

i've read/heard somewhere that maybe samba only supports openldap? can anyone verify? is/would it be possible to continue running s.o.d.s. but compile/install openldap, just so its libs are available for the samba compile? but then would that work with s.o.d.s? errrrrr, uhhh...

as always, any ideas/insight much appreciated!

thx

-- 
tim guinn
senior systems analyst
a computer without windows is like a dog without bricks tied to its head -unknown
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:52 EDT