remove LDAP from images