Better ldap query profile

Just set LDAP_PROFILER=1

cc @jpkorhonen