Add LDAP option to set a callback to obtain random bytes, in order to workaround an issue with mbedTLS random generator.