added lock parameters for berkeley db (set to 5000), indexing optimized for keystone/ldap