add support for repositories and ldap