diff --git a/tests/data/slapd.conf b/tests/data/slapd.conf
index 66c61cc579433d52164073f61e63c6e6e3995629..868fc00e7338cbb31416979154f3ed5d7a6c7d4a 100644
--- a/tests/data/slapd.conf
+++ b/tests/data/slapd.conf
@@ -29,3 +29,4 @@ rootpw		secret
 #bdb#index		objectclass	eq
 #bdb#index		uid	pres,eq,sub
 #bdb#index		name	pres,eq,sub,subany
+#bdb#lockdetect default 5