Deleted unneeded if-clause in ldap script. Removed duplicate part in tomcat script.