Displaying 2 results from an estimated 2 matches for "d_avl_h".
2008 Oct 01
2
samba-3.2.4 Solaris 9: configure gets error: Active Directory support requires ldap_initialize
...ilding 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"
export CC CPPFLAGS LDFLAGS
#
CFLAGS='-D_AVL_H'
export CFLAGS
#
./configure --enable-bdb
make depend
make install
#end building openldap
#build samba
make clean
./configure --with-ldap --with-acl-support --with-ads --with-pam
--with-winbind --with-krb5=/usr/local
#####make
#####make install
#end build samba
The samba script, config...
2006 Dec 08
1
A mass O trouble with solaris 10 and Samba+ADS
...in file
ldap_initialize /var/tmp//ccGc936o.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:35223: $? = 1
As documented elsewhere you can use the OpenLDAP libraries:
Compiling these requires setting CFLAGS=-D_AVL_H inorder to compile
them.
I configured OpenLDAP as follows:
./configure -prefix=/usr/local/opt/openldap-2.3.27 -with-shared=no
make install
Then running samba configuration with these setting:
LDFAGS=-L/usr/local/opt/openldap-2.3.27/lib
CPPFLAGS=-I/usr/local/opt/openldap-2.3.27/include
./configur...