Re: [Samba] samba-3.2.4 Solaris 9: configure gets error: Active Directory support requires ldap_initialize

2008-10-02 Thread John Center
Thanks, Volker. This works for me. I have a related configure question. If you set --with-krb5=dir, shouldn't configure add a -Rdir so that it finds the run-time version of the library? It appears to only do a -Ldir, so some of the configure tests fail. Thanks. -John Volker

[Samba] samba-3.2.4 Solaris 9: configure gets error: Active Directory support requires ldap_initialize

2008-10-01 Thread Wayne Rasmussen
Unable to compile samba-3.2.4 on Solaris 9 for sparc. #building openldap CC=gcc #echo $CC #exit CPPFLAGS=-I/usr/local/include -I/usr/local/ssl/include -I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include/sasl LDFLAGS=-L/usr/local/lib -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib

Re: [Samba] samba-3.2.4 Solaris 9: configure gets error: Active Directory support requires ldap_initialize

2008-10-01 Thread John Center
Hi Wayne, I had the same problem. I fixed one line in configure: if test x$debug = xyes ; then CFLAGS=${CFLAGS} -g else CFLAGS=-O fi The second if statement was clearing my CFLAGS setting, replacing it with just -O. I changed the line from CFLAGS=-O to CFLAGS=${CFLAGS} -O.

Re: [Samba] samba-3.2.4 Solaris 9: configure gets error: Active Directory support requires ldap_initialize

2008-10-01 Thread Volker Lendecke
On Wed, Oct 01, 2008 at 06:28:42PM -0400, John Center wrote: I had the same problem. I fixed one line in configure: if test x$debug = xyes ; then CFLAGS=${CFLAGS} -g else CFLAGS=-O fi The second if statement was clearing my CFLAGS setting, replacing it with just -O.