[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4208) test044-dynlist fails: overlay "dynlist" not found
Pierangelo Masarati wrote:
> On Wed, 2005-11-23 at 22:10 +0000, michael@stroeder.com wrote:
>
> **should** be fixed in HEAD, no need to reconfigure if you did at least
> once (to regenerate the tests/run script).
Does not seem to work although file servers/slapd/overlays/dynlist.la
exists (see my build script below).
Ciao, Michael.
$ ./run -b bdb test044
Cleaning up test run directory leftover from previous run.
Running ./scripts/test044-dynlist...
running defines.sh
Running slapadd to build slapd database...
Running slapindex to index slapd database...
slapindex: bad configuration file!
warning: slapindex failed (1)
assuming no indexing support
Starting slapd on TCP/IP port 9011...
Testing slapd searching...
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...
ldapsearch failed (1)!
./scripts/test044-dynlist: line 68: kill: (6380) - No such process
-------------------------------------------------------------------
@(#) $OpenLDAP: slapd 2.X (Nov 24 2005 00:03:16) $
michael@nb2:/home/michael/src/openldap-HEAD/ldap/servers/slapd
daemon_init: ldap://localhost:9011/
daemon_init: listen on ldap://localhost:9011/
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap://localhost:9011/)
daemon: listener initialized ldap://localhost:9011/
daemon_init: 1 listeners opened
lt-slapd init: initiated server.
slap_sasl_init: initialized!
bdb_back_initialize: initialize BDB backend
bdb_back_initialize: Sleepycat Software: Berkeley DB 4.3.29: (September
6, 2005)
>>> dnPrettyNormal: <cn=Monitor>
=> ldap_bv2dn(cn=Monitor,0)
ldap_err2string
<= ldap_bv2dn(cn=Monitor)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=Monitor)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=monitor)=0 Success
<<< dnPrettyNormal: <cn=Monitor>, <cn=monitor>
bdb_db_init: Initializing BDB database
>>> dnPrettyNormal: <dc=example,dc=com>
=> ldap_bv2dn(dc=example,dc=com,0)
ldap_err2string
<= ldap_bv2dn(dc=example,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(dc=example,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(dc=example,dc=com)=0 Success
<<< dnPrettyNormal: <dc=example,dc=com>, <dc=example,dc=com>
>>> dnPrettyNormal: <cn=Manager,dc=example,dc=com>
=> ldap_bv2dn(cn=Manager,dc=example,dc=com,0)
ldap_err2string
<= ldap_bv2dn(cn=Manager,dc=example,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=Manager,dc=example,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=manager,dc=example,dc=com)=0 Success
<<< dnPrettyNormal: <cn=Manager,dc=example,dc=com>,
<cn=manager,dc=example,dc=com>
overlay "dynlist" not found
lt-slapd destroy: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.
-------------------------------------------------------------------
. /home/michael/src/build-env-openldap
export CFLAGS="-g -O4 -march=pentium4"
export CPPFLAGS="-I/usr/include/heimdal -I/opt/openldap-snacc/include
-I/usr/include/sasl -I${BDB}/include -I${SASL}/include -I${HEIMDAL}/include"
export LDFLAGS="-L${BDB}/lib -L${SASL}/lib -L${HEIMDAL}/lib"
export LD_LIBRARY_PATH="${BDB}/lib:${SASL}/lib:${HEIMDAL}/lib"
PWD=`pwd`
DIRNAME=`dirname ${PWD}`
PREFIX=/opt/`basename ${DIRNAME}`
echo "PREFIX="${PREFIX}
make veryclean
./configure \
--enable-accesslog=yes \
--enable-aci=yes \
--enable-backends=mod \
--enable-cleartext \
--enable-crypt=yes \
--enable-debug=yes \
--enable-denyop=yes \
--enable-dynamic=yes \
--enable-dyngroup=yes \
--enable-kpasswd=yes \
--enable-ldbm-api=berkeley \
--enable-lmpasswd=yes \
--enable-modules=yes \
--enable-overlays=mod \
--enable-ppolicy=yes \
--enable-proxycache=yes \
--enable-rewrite=yes \
--enable-rlookups=yes \
--enable-rwm=yes \
--enable-slapi=yes \
--enable-slp=yes \
--enable-sql=no \
--enable-spasswd=yes \
--enable-wrappers=no \
--prefix=${PREFIX} \
--with-cyrus-sasl=yes \
--with-kerberos=yes \
--with-readline=yes \
--with-threads=yes \
--with-tls=yes
make && make test