[Samba] Samba with ADS

Asif M Asif.M at siemens.com
Mon Feb 21 13:30:03 GMT 2005


Hello All,

I downloaded the precompiled ver for Kerberos / openssl and openldap..
in the configure step for samba I run 

CC=gcc
CPPFLAGS='-D__EXTENSIONS__'
CFLAGS='-m64' 
LDFLAGS="-L/usr/ccs/lib -L/opt/csw/lib -R/usr/local/lib"
LD_LIBRARY_PATH=/usr/local/lib:/usr/ccs/lib:/opt/csw/lib

export CC CPPFLAGS CFLAGS LDFLAGS LD_LIBRARY_PATH

./configure --prefix=/opt/samba --with-ldap=yes --with-ads=yes 

It fails saying that ldap support is required.

I checked the log .. 
there is a call to ldapinitialize and that fails...

Anybody can help  where I amgoing wrong.

Thanks and regards,
asif




-----Original Message-----
From: samba-bounces+asif.m=siemens.com at lists.samba.org
[mailto:samba-bounces+asif.m=siemens.com at lists.samba.org]On Behalf Of
Asif M
Sent: Saturday, February 19, 2005 8:14 PM
To: 'samba at lists.samba.org'
Subject: [Samba] Samba with ADS


Hello All,
I am a newbie..

I want to compile Samba with ADS support for Solaris UltraSparcIII

I have downloaded the source for
1> Samba 3.0.10
2> MIT Kerberos 5 1.4
3> OpenSSL 0.9.7e
4> OpenLDAP

I started by trying to make MIT Kerberos.

CC=gcc CPPFLAGS='-D__EXTENSIONS__' CFLAGS='-m64' 

./configure configured it but when I try make I get ..

**************************************************
building shared krb5support library (0.0)
set -x; objlist=`set -x && perl -p -e '$e=$ARGV; $e =~ s/OBJS\...$//; s/^/
/; s/ $//; s/ / $e/g;' OBJS.SH` && gcc -shared -h libkrb5support.so.0 -o
libkrb5support.so.0.0 $objlist -R/usr/local/lib  -lresolv -lsocket -lnsl
+ set -x
+ perl -p -e $e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g;
OBJS.SH
objlist= threads.so fake-addrinfo.so
+ gcc -shared -h libkrb5support.so.0 -o libkrb5support.so.0.0 threads.so
fake-addrinfo.so -R/usr/local/lib -lresolv -lsocket -lnsl
ld: fatal: file threads.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to
libkrb5support.so.0.0
collect2: ld returned 1 exit status
*********************************************

I have checked the 'threas.so.0' file .. it seems to be a relocatable 64 bit
MSB Sparc 9 file..

Could somebody please tell me ..where am I going wrong

Thanks and regards,
asif



-- 

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


More information about the samba mailing list