Partial automatic configuration, pull request: https://github.com/owncloud/core/pull/4982