Hi ,
 
I have compiled the Openldap 2.4.32 with these options for MDB
 
./configure --prefix=/root/haroon/openldap/new1 --enable-debug=yes --enable-bdb=no --enable-hdb=no --enable-mdb=yes --with-cyrus-sasl --with-threads --with-tls=openssl CC="gcc" LDFLAGS="-L/usr/lib64/sasl2" CPPFLAGS="-I/usr/include/sasl"
Are they the best setting or I need to set some thing different.
 
BR's,
Haroon