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

openldap configuration error



Hi

I have configure openldap 2.4.16 with following option

env CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include" LDFLAGS="-L/usr/local/BerkeleyDB.4.7/lib" ./configure --enable-bdb=mod --enable-hdb=mod --enable-ldap=mod --enable-monitor=mod --enable-spasswd=yes --enable-modules=yes --enable-wrappers=yes --enable-overlays=mod --with-cyrus-sasl --with-tls=openssl --enable-dynacl=yes --enable-crypt=yes --enable-lmpasswd=yes

After run make test command there is error as shown below


>>>>> Starting test018-syncreplication-persist ...
running defines.sh
Starting producer slapd on TCP/IP port 9011...
Using ldapsearch to check that producer slapd is running...
Using ldapadd to create the context prefix entry in the producer...
Starting consumer slapd on TCP/IP port 9014...
Using ldapsearch to check that consumer slapd is running...
Using ldapadd to populate the producer directory...
Waiting 7 seconds for syncrepl to receive changes...
Stopping the provider, sleeping 10 seconds and restarting it...
Using ldapsearch to check that producer slapd is running...
Waiting 7 seconds for consumer to reconnect...
Using ldapmodify to modify producer directory...
Using ldappasswd to change some passwords...
Waiting 7 seconds for syncrepl to receive changes...
Stopping consumer to test recovery...
Modifying more entries on the producer...
Restarting consumer...
Waiting 7 seconds for syncrepl to receive changes...
Try updating the consumer slapd...
ldapmodify failed (255)!
>>>>> ./scripts/test018-syncreplication-persist failed (exit 255)
make[2]: *** [bdb-mod] Error 255
make[2]: Leaving directory `/home/jittinans/openldap-2.4.16/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/jittinans/openldap-2.4.16/tests'
make: *** [test] Error 2


but after that I change to not build backend as module

env CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include" LDFLAGS="-L/usr/local/BerkeleyDB.4.7/lib" ./configure --enable-bdb=yes --enable-hdb=yes --enable-ldap=yes--enable-monitor=yes --enable-spasswd=yes --enable-modules=yes --enable-wrappers=yes --enable-overlays=mod --with-cyrus-sasl --with-tls=openssl --enable-dynacl=yes --enable-crypt=yes --enable-lmpasswd=yes

I work correctly.Why?