Creating resources for directories that have the same name

We have a application that uses LDAP for authentication