[Samba] openldap-2.2.5 test fails

Sven Scholz sscholz at class.de
Thu Jan 29 11:34:13 GMT 2004


Hi everybody,

i'm new on this List as well in openldap. I'm trying to set up a testserver
with ldap and samba.
Is the first time i have installed openldap. So far everything went fine. I
have compiled and installed all the
prerequiste Software (cyrus-sasl-2.1.17, openssl-0.9.7c, autoconf-2.59,
BerkeleyDB-4.2).
Compiling, make depend and  make did also run through. The problem is when i
start the test because the test fails with an error.
Tried to search for this error message but couldn't find anything which
could help me.

If anyone has any suggestion, tips or useful links it would appreciated.

Thank you in advance.
Regards,
Sven

Below you will find the configure options and my env settings. Read through
the document (Installationguide) but not quit sure while it's failed

-env-settings:
setenv LD_LIBRARY_PATH
'-L/usr/lib/ -L/usr/local/lib -L/usr/local/lib/db4/lib/'
setenv LDFLAGS
'-L/usr/local/ssl/lib -L/usr/local/lib/db4/lib/ -L/usr/local/lib'
setenv CPFLAGS
'-I/usr/local/include/openssl -I/usr/include -I/usr/local/include -I/usr/loc
al/include/db4/include/'

-configure:
./configure  --prefix=/usr/local/openldap --sbindir=/usr/sbin --libdir=/usr/
local/lib --includedir=/usr/include --with-cyrus-sasl --with-tls \
--enable-slapd --enable-cleartext --enable-crypt --enable-spasswd --enable-l
dap \
--enable-ldbm --with-ldbm-api=berkeley --with-dyngroup=yes --with-proxycache
=yes --enable-slurpd

error-msg:
make test
make[1]: Entering directory `/usr/packages/openldap-2.2.5/tests'
Initiating LDAP tests for BDB...
Cleaning up test run directory leftover from previous run.
Running ./scripts/all...
>>>>> Executing all LDAP tests for bdb
>>>>> Starting test000-rootdse ...
running defines.sh
Starting slapd on TCP/IP port 9011...                      (Also tested
different ports such as 389,636 or 9009)
Using ldapsearch to retrieve the root DSE...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
./scripts/test000-rootdse: kill: no such process
../clients/tools/ldapsearch: syntax error at line 1: `(' unexpected
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 2)
make[1]: *** [bdb-yes] Error 2
make[1]: Leaving directory `/usr/packages/openldap-2.2.5/tests'
make: *** [test] Error 2




More information about the samba mailing list