./configure --prefix=/opt/openldap-2.0.27 --without-bdb --disable-bdb --enable-null --disable-slapd
then did all the makes for openldap. I think it was a
make depend ; make ; make install if the make depend was on ldap, it will tell you to run it after the configure. I'm pretty sure it was though.
Then set the following shell vars:
FLAGS=-I/opt/openldap/include CPPFLAGS=-I/opt/openldap/include LDFLAGS=-L/opt/openldap/lib CFLAGS=-I/opt/openldap/include
before issuing:
./configure --prefix=/opt/samba-3.0.2a --with-utmp --with-pam_smbpass --with-pam --with-quotas --with-fhs --with-acl-support --with-automount --with-ldap --config-cache
My env variables were most likely a little excessive, but they worked. At 10 minutes or more per ./configure, I was a little short on patience on removing them. I did clean out a couple I knew didn't work though. Your config options may vary.
Talwar, Puneet (NIH/NIAID) wrote:
Well I did do that as well and ran the crle command. HMMM!!!! What else can I be missing here?
-----Original Message-----
From: Erwin Fritz [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 4:50 PM
To: Talwar, Puneet (NIH/NIAID)
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Samba 3.0.3 installing issue
You need to set your LD_LIBRARY_PATH to include the directory where your LDAP libraries are.
Try that.
I'm also, as I type this, wrestling with Solaris 9, Samba 3.0.3, and getting winbindd to properly store SID-uid mappings in AD. When you get to that point (if you're heading there), let me know if you run into problems.
Erwin Fritz
Talwar, Puneet (NIH/NIAID) wrote:
ldap_initialize...I am trying to install Samba 3.0.3 on Solaris 9 and when I execute the configure command I get the following error msg. I did install the latest version of openldap and set the env variable for the ldap lib.
If anyone has encountered similar problem please let me know.
#./configure --with-ads --with-krb5=/usr --with-pam --with-pam_smbpasss
--with-syslog --with-libsmbclient --with-winbind
..........................
............................
...............................
..................................
........................................
checking for LDAP support... auto
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... 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
no configure: WARNING: libldap is needed for LDAP support checking for Active Directory and krb5 support... yes configure: error: Active Directory Support requires LDAP support
-- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Cell: 701-306-6254 Information Systems Consultant Fax: 701-281-1322 URL: www.ae-solutions.com mailto:[EMAIL PROTECTED]
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
