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

Re: (ITS#4065) test018-syncreplication-persist fails



On Tue, 2005-10-04 at 22:10 +0000, michael@stroeder.com wrote:
> Full_Name: Michael Ströder
> Version: HEAD
> OS: SuSE Linux 9.3
> URL: 
> Submission from: (NULL) (83.124.18.174)
> 
> 
> $ ./run -b hdb test018
> Cleaning up test run directory leftover from previous run.
> Running ./scripts/test018-syncreplication-persist...
> running defines.sh
> Starting master slapd on TCP/IP port 9011...
> Using ldapsearch to check that master slapd is running...
> Using ldapadd to create the context prefix entry in the master...
> Starting slave slapd on TCP/IP port 9014...
> Using ldapsearch to check that slave slapd is running...
> Waiting 5 seconds for slapd to start...
> Using ldapadd to populate the master directory...
> Waiting 15 seconds for syncrepl to receive changes...
> Stopping the provider, sleeping 10 seconds and restarting it...
> Using ldapsearch to check that master slapd is running...
> Using ldapmodify to modify master directory...
> Waiting 15 seconds for syncrepl to receive changes...
> Stopping consumer to test recovery...
> Modifying more entries on the master...
> Restarting consumer...
> Waiting 25 seconds for syncrepl to receive changes...
> Try updating the slave slapd...
> ldapmodify failed (1)!
> ---------------------------------------------------------------------------------
> testrun/test.out
> ldap_initialize( ldap://localhost:9014 )
> ldap_bind: Invalid credentials

That portion of the test is using the "chain" overlay, which is built on
top of back-ldap; it is supposed to take place only if back-ldap is
built (and loaded, of course), and uses the identity assertion feature.
I don't currently foresee any chance of failure in that portion of test.
However, the test is malformed, since it expects the tool to return an
LDAP error code, while ldapmodify returns 0/1.  I've committed a fix to
HEAD, which passes the test (as before) when back-ldap is statically
built in slapd.  Can you try it, and specify if and how you built back-
ldap?

p.



    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497