Generate the LDIF file from templates
Test whether database is loaded or not
Added sonar admin user
Improved LDAP configuration