FW: [Samba] AIX and libldap.a

Roy Vickers rvickers at hobbsbondedfibers.com
Wed Apr 13 12:08:20 GMT 2005


In the configure file I find: 
--with-ldap		LDAP support (default yes) 
What if I turn ldap off in that statement...
What would the repercussions be?
All I'm interested in doing is simple file sharing.
By the way, what's the opposite of --with? --without?
Thanks

-----Original Message-----
From: Doug VanLeuven [mailto:roamdad at sonic.net] 
Sent: Tuesday, April 12, 2005 5:57 PM
To: Roy Vickers
Cc: samba at lists.samba.org
Subject: Re: [Samba] AIX and libldap.a

Roy Vickers wrote:

>I'm trying to get Samba 3.0.4.0 to run on AIX 5.2 and I am fighting a
>"Dependent module libldap.a could not be loaded" bug. I have IBM's version
>of LDAP installed but it doesn't have a libldap.a file. Is there a version
>of Samba that will run on AIX 5.2 that doesn't use LDAP? Or are there any
>ideas out there as to how I get the libldap.a loaded or pointed to IBM's
>LDAP?
>  
>
On my AIX 5.2 with ldap.client.rte 4.1.0.0 /usr/lib/libldap.a is a 
symbolic link to /usr/ldap/lib/libibmldapn.a.  Anything like that on 
your system?

I got tired of fighting the IBM software and installed openLDAP in it's 
own tree and point there using CFLAGS, CPPFLAGS, and LIBS during 
configure.  When I was doing the development, IBM Kerberos didn't 
support rc4-hmac either (they might not still), so I installed MIT 
Kerberos 1.3.4 for the whole system.  I sort of remember there being an 
issue with the IBM Kerberos include files as well.

Afterwards, you can check that the paths to the libs are hard coded in 
the executable header with
"dump -H <program>"

I'll take this opportunity to vote for samba4 using it's own ldap and 
heimdal rolled into the distribution.

Regards, Doug



More information about the samba mailing list