File sharing in Windows environment

I just installed a new OwnCloud instance for test purpose.
OC server is in a entreprise Windows environment with:

  • Active directory server (LDAP)
  • File sharing server (SMB)

I let every domain user to create and use an OC account.
I tested different SMB FS mounting likes:

  1. Mount a SMB FS for all users, with session user credentials (as final user):
    Good: User authorizations can be applied
    Bad: Files or folders cannot be shared in public URL

  2. Mount a SMB FS for all users, with static user credentials (as admin user):
    Good: Files or folders can be shared in public URL
    Bad: User authorizations cannot be applied

  3. Mount a SMB FS per user, with session user credentials (as final user)
    Same problem as 1, when session mode, sharing is disabled

  4. Mount a SMB FS per user, with static user credentials (as final user):

    Good:

    • User authorizations can be applied
    • Files or folders can be shared in public URL

    Bad:

    • Difficult to deploy: I have to configure for every user
    • Password expiration policy: Static credentials will not be updated by user credentials.

Conclusion: I am searching a way to mount a FS for all users, where authorizations can be applied, files can be shared in public URL, and credentials of this FS is updated every OC login (in static mode).

Any help will be welcome,
Regards

Hi,

have you made yourself familiar with our documentation on this topic?

https://doc.owncloud.com/server/10.2/

2 Likes

Found:

Enterprise Users Only
The enterprise version has a mode called “Save in DB” where the credentials are saved, in encrypted form, in the database (via the WND app). In this mode, all of the above operations work.

https://doc.owncloud.com/server/10.2/admin_manual/configuration/files/external_storage/auth_mechanisms.html#known-limitations

1 Like