Can I already use OCP\User\Backend to implement a user backend

Isn’t this a rather common case and decided on a instance-to-instance basis? How does the LDAP backend
deal with:

  • Company A uses LDAP to store usernames, passwords and user homes in LDAP and Nextcloud should ask it where to put files.

  • Company B only uses LDAP for usernames and passwords and lets Nextcloud store files wherever Nextcloud wants. It’s user backend does not offer getHome() to Nextcloud.

Both companies use the same LDAP backend app and therefore identical code.