I am receiving the following error: "Database environment corrupt; the wrong log files may have been removed or incompatible database files are imported from another environment"

I am trying to setup OpenLDAP 2.3.20 and Samba 3.0.22. Currently using Bdb 4.2.52 and OpenSSL 0.9.8a.

I have two machines setup: (A) Linux (B)Windows XP SP2 machine

When I try to join the test domain based on the Linux machine I am receiving the error. The username and password are valid.

What can be the possible causes for such an error? Any insight would be much appreciated.