[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6191) test022-ppolicy failed (exit 21)



Howard Chu wrote:
> Michael Ströder wrote:
>> Howard Chu wrote:
>>> michael@stroeder.com wrote:
>>>> Full_Name: Michael Ströder
>>>> Version: HEAD synced now
>>>> OS: openSUSE Linux 11.1
>>>> URL: ftp://ftp.openldap.org/incoming/
>>>> Submission from: (NULL) (84.163.60.129)
>>>
>>>> Setting up policy state forwarding test...
>>>> Starting slapd consumer on TCP/IP port 9012...
>>>> Configuring syncprov on provider...
>>>> Using ldapsearch to check that slapd is running...
>>>> Waiting 5 seconds for slapd to start...
>>>> Configuring syncrepl on consumer...
>>>> ldapmodify failed (21)!
>>>>>>>>> ./scripts/test022-ppolicy failed (exit 21)
>>>> make[2]: *** [bdb-mod] Error 21
>>>> make[2]: Leaving directory
>>>> `/usr/src/michael/openldap/HEAD/openldap/tests'
>>>> make[1]: *** [test] Error 2
>>>> make[1]: Leaving directory
>>>> `/usr/src/michael/openldap/HEAD/openldap/tests'
>>>> make: *** [test] Error 2
>>>
>>> Please provide a tarball of the testrun directory.
>>
>> Here it is:
>> http://www.stroeder.com/temp/openldap/its-6191-testrun-test022-ppolicy_failed_exit_21.tar.gz
>>
> 
> Looks like you don't have back-ldap enabled in your slapd. What were
> your configure flags?

See my build script below (lines wrapped herein).

Note that this worked until your recent changes to ppolicy.

Ciao, Michael.

--------------------------- snip ---------------------------
OPENLDAP_VERSION=$1
BDB_PREFIX="/dummy"
SSL_PREFIX="/dummy"
KRB5_PREFIX="/dummy"
SASL_PREFIX="/dummy"
OPENLDAP_PREFIX="/opt/openldap-${OPENLDAP_VERSION}"

export CFLAGS="-g -O2 -DSLAP_LIGHTWEIGHT_DISPATCHER"
export CPPFLAGS="-I${SSL_PREFIX}/include -I${BDB_PREFIX}/include
-I${KRB5_PREFIX}/include -I${SASL_PREFIX}/include -DDEVEL"
#export CPPFLAGS="-I${SSL_PREFIX}/include -I${BDB_PREFIX}/include"
export LDFLAGS="-L${BDB_PREFIX}/lib -L${SSL_PREFIX}/lib
-L${KRB5_PREFIX}/lib -L${SASL_PREFIX}/lib -Wl,-R${SSL_PREFIX}/lib
-Wl,-R${BDB_PREFI
X}/lib,-R${SASL_PREFIX}/lib,-R${KRB5_PREFIX}/lib"

make distclean
./configure \
  --prefix=${OPENLDAP_PREFIX} \
  --enable-dynamic=yes \
  --enable-ndb=no \
  --enable-modules \
  --enable-backends=mod \
  --enable-overlays=mod \
  --enable-perl=no \
  --enable-shell=no \
  --enable-local=yes \
  --enable-slapi=yes \
  --with-cyrus-sasl=yes \
  --with-kerberos=yes \
  --with-tls=yes \
  --with-threads=yes \
  --with-odbc=auto \
  --enable-crypt=yes \
  --enable-spasswd=yes \
  --enable-lmpasswd=yes \
  --enable-shared=yes

make depend
make

ulimit -c unlimited
export SLEEP1=7
export SLEEP2=15
export SLAPD_DEBUG=16389
rm ./tests/core.*
make test