base: Handle .local file for externalldap