Ralf S. Engelschall wrote:
On Tue, Aug 23, 2005, Doug Summers wrote:


Are there any plans to add this functionality? I could sure use it and
would be more than willing to install a test package.

What are the software requirements to add ADS support to Samba?

From compiling it on my own I had to add OpenLDAP & Kerberos, although
I was never able to get the 1st versions of Kerberos 1.4 to work.


So, it means if we add optional build support via OpenLDAP & Kerberos
you are contributing the HOWTO which describes how to get this stuff
working under run-time? Just kidding ;-) If time permits I'll look how
to add build-time support to the Samba package. If you wish to help,
feel free to figure it out in advance and present a patch which adds a
"with_ads" build-time option to the "samba" package.

Ralph, I installed kerberos and openldap on my test machine (RHEL 4 Update 1). Here are the details:

Configure command:
./configure --prefix=/openpkg --libexecdir=/openpkg/libexec/samba --localstatedir=/openpkg/var/samba/run --sysconfdir=/openpkg/etc/samba --with-libdir=/openpkg/lib/samba --with-privatedir=/openpkg/etc/samba --with-configdir=/openpkg/etc/samba --with-lockdir=/openpkg/var/samba/run/locks --with-piddir=/openpkg/var/samba/run --with-privatedir=/openpkg/var/samba/run/private --with-swatdir=/openpkg/share/samba --without-included-popt --with-krb5=/openpkg --with-winbind --with-ldap --with-vfs --with-smbmount

Build command:
openpkg rpm -bb samba.spec --define="with_ldap yes"

I'm not even getting to the test for the kerberos files as it's failing on OpenLDAP:

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_domain2hostlist... no
checking for ldap_set_rebind_proc... no
checking whether ldap_set_rebind_proc takes 3 arguments... 3
checking for ldap_initialize... no
configure: error: libldap is needed for LDAP support

A simple find for libldap on /openpkg reveals this:
[root] /openpkg # find . -name "*libldap*"
./lib/libldap.a
./lib/libldap.la
./lib/libldap_r.a
./lib/libldap_r.la

Any clues???
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to