I am having problems with Samba on IRIX 6.5 authenticating via Active Directory. Installing the tardist of 3.0.21c did not give me kerberos/ldap/adc capabilities even though Kerberos and LDAP were prereq's. With OpenLDAP and Kerberos5 installed, my configure fails. I am trying this: ./configure --libdir=/usr/lib --includedir=/usr/include --prefix=/usr/samba --with-ldap --with-ads --with-krb5=/usr/local --with-quotas --with-acl-support 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... no 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 mma-riss01 53# ls -la /usr/include/*ldap* -rw-r--r-- 1 root sys 39901 Mar 23 07:13 /usr/include/ldap.h -rw-r--r-- 1 root sys 9136 Mar 23 07:13 /usr/include/ldap_cdefs.h -rw-r--r-- 1 root sys 2056 Mar 23 07:13 /usr/include/ldap_features.h -rw-r--r-- 1 root sys 9462 Mar 23 07:13 /usr/include/ldap_schema.h -rw-r--r-- 1 root sys 3549 Mar 23 07:13 /usr/include/ldap_utf8.h mma-riss01 54# ls -la /usr/lib/*ldap* lrwxr-xr-x 1 root sys 29 Mar 23 09:15 /usr/lib/libldap.a -> /usr/freeware/lib32/libldap.a lrwxr-xr-x 1 root sys 30 Mar 23 09:15 /usr/lib/libldap.so -> /usr/freeware/lib32/libldap.so lrwxr-xr-x 1 root sys 32 Mar 23 09:15 /usr/lib/libldap.so.3 -> /usr/freeware/lib32/libldap.so.3 lrwxr-xr-x 1 root sys 31 Mar 23 09:15 /usr/lib/libldap_r.a -> /usr/freeware/lib32/libldap_r.a lrwxr-xr-x 1 root sys 32 Mar 23 09:15 /usr/lib/libldap_r.so -> /usr/freeware/lib32/libldap_r.so lrwxr-xr-x 1 root sys 34 Mar 23 09:15 /usr/lib/libldap_r.so.3 -> /usr/freeware/lib32/libldap_r.so.3 And I even tried to use the environment variable : LD_LIBRARY=/usr/lib:/usr/include Any Suggestions?
On 3/24/06, McDougald, James D. (Contr) <James.McDougald@ngc.com> wrote:> I am having problems with Samba on IRIX 6.5 authenticating via Active > Directory. Installing the tardist of 3.0.21c did not give me > kerberos/ldap/adc capabilities even though Kerberos and LDAP were > prereq's. With OpenLDAP and Kerberos5 installed, my configure fails. I > am trying this: > > ./configure --libdir=/usr/lib --includedir=/usr/include > --prefix=/usr/samba --with-ldap --with-ads --with-krb5=/usr/local > --with-quotas --with-acl-support > > 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... no > 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 > > mma-riss01 53# ls -la /usr/include/*ldap* > -rw-r--r-- 1 root sys 39901 Mar 23 07:13 > /usr/include/ldap.h > -rw-r--r-- 1 root sys 9136 Mar 23 07:13 > /usr/include/ldap_cdefs.h > -rw-r--r-- 1 root sys 2056 Mar 23 07:13 > /usr/include/ldap_features.h > -rw-r--r-- 1 root sys 9462 Mar 23 07:13 > /usr/include/ldap_schema.h > -rw-r--r-- 1 root sys 3549 Mar 23 07:13 > /usr/include/ldap_utf8.h > > > mma-riss01 54# ls -la /usr/lib/*ldap* > lrwxr-xr-x 1 root sys 29 Mar 23 09:15 > /usr/lib/libldap.a -> /usr/freeware/lib32/libldap.a > lrwxr-xr-x 1 root sys 30 Mar 23 09:15 > /usr/lib/libldap.so -> /usr/freeware/lib32/libldap.so > lrwxr-xr-x 1 root sys 32 Mar 23 09:15 > /usr/lib/libldap.so.3 -> /usr/freeware/lib32/libldap.so.3 > lrwxr-xr-x 1 root sys 31 Mar 23 09:15 > /usr/lib/libldap_r.a -> /usr/freeware/lib32/libldap_r.a > lrwxr-xr-x 1 root sys 32 Mar 23 09:15 > /usr/lib/libldap_r.so -> /usr/freeware/lib32/libldap_r.so > lrwxr-xr-x 1 root sys 34 Mar 23 09:15 > /usr/lib/libldap_r.so.3 -> /usr/freeware/lib32/libldap_r.so.3 > > And I even tried to use the environment variable : > LD_LIBRARY=/usr/lib:/usr/include > > Any Suggestions?Use IRIX 6.5.22 or later. From 6.5.22 onwards, kerberos, openldap and openssl were bundled with the base OS. I've never attempted to build against the Freeware versions. -- James Peach | jorgar@gmail.com
I am Running IRIX 6.5.28 and I am still having this problem. I just can not get ADS support in Samba to compile. I have Kerberos and ldap and I can even use kinit to authenticate against the ads server in the Windows domain, but the Samba install chokes and says libldap is required for ads support. I am at a loss. This does not make sense unless the configure script can not follow symlinks as the ldap libs live in /usr/freeware/lib32 and I have them symlinked to /usr/lib. Anyone running samba 3.0 or higher for IRIX 6.5.28 willing to share built binaries? As an asides, I can build samba 3.0.21c for this host with no issues as a normal NT domain member without ADS. Thank You J. Darrin McDougald -----Original Message----- From: Jason Mader [mailto:jason@ncac.gwu.edu] Sent: Friday, March 24, 2006 10:30 AM To: samba@lists.samba.org Cc: McDougald, James D. (Contr) Subject: Re: [Samba] SAMBA install on IRIX 6.5 On Fri, 24 Mar 2006, James Peach wrote:> Use IRIX 6.5.22 or later. From 6.5.22 onwards, kerberos, openldap and > openssl were bundled with the base OS. I've never attempted to build > against the Freeware versions.Irix doesn't bundle Kerberos headers, won't that be a problem? ---Jason Mader, FHWA/NHTSA National Crash Analysis Center, The George Washington University, VA Campus
>> You should remove your symlink and install the openldap subsystemfrom the CD 3. You will need at least openldap.sw.lib32 and openldap.sw.hdr. Thanks, that fixed it. The SGI is running 3.0.21c with ADS now if I only had permissions to: net ads join grin I am trying to compile now on a SUN_SPARC_5.10 box and I am getting similar errors :( this OpenLDAP is being difficult. ./configure --with-acl-support --with-quotas --with-included-popt --localstatedir=/var/lib/samba --with-piddir=/var/run --with-logfilebase=/var/log/samba -with-privatedir=/usr/local/etc/samba --with-configdir=/usr/local/etc/samba --with-ldap=yes --with-ads=yes 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... no checking for ldap_init in -lldap... yes checking for ldap_set_rebind_proc... yes checking whether ldap_set_rebind_proc takes 3 arguments... 3 checking whether LDAP support is used... yes checking for Active Directory and krb5 support... yes checking for ldap_initialize... no configure: error: Active Directory Support requires ldap_initialize Any thoughts on this one? Darrin
On 3/31/06, McDougald, James D. (Contr) <James.McDougald@ngc.com> wrote:> > > >> You should remove your symlink and install the openldap subsystem > from the CD 3. You will need at least openldap.sw.lib32 and > openldap.sw.hdr. > > Thanks, that fixed it. > The SGI is running 3.0.21c with ADS > now if I only had permissions to: net ads join > > grin > > I am trying to compile now on a SUN_SPARC_5.10 box and I am getting > similar errors :( this OpenLDAP is being difficult. > > ./configure --with-acl-support --with-quotas --with-included-popt > --localstatedir=/var/lib/samba --with-piddir=/var/run > --with-logfilebase=/var/log/samba -with-privatedir=/usr/local/etc/samba > --with-configdir=/usr/local/etc/samba --with-ldap=yes --with-ads=yes > > 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... no > checking for ldap_init in -lldap... yes > checking for ldap_set_rebind_proc... yes > checking whether ldap_set_rebind_proc takes 3 arguments... 3 > checking whether LDAP support is used... yes > checking for Active Directory and krb5 support... yes > checking for ldap_initialize... no > configure: error: Active Directory Support requires ldap_initialize > > > Any thoughts on this one?Sorry, no. I have a vague idea that there have been others having fun with the Solaris LDAP libraries. There might be something useful in the list archves. -- James Peach | jorgar@gmail.com