AppSuite:Setup CIFS: Difference between revisions

From Open-Xchange
No edit summary
No edit summary
Line 5: Line 5:




== Configuration ==
== Definition of an CIFS Account ==


As Web frontend currently misses the view/possibility to manage file storage accounts, we need to setup the CIFS account per configuration.
As Web frontend currently misses the view/possibility to manage file storage accounts, we need to setup the CIFS account per configuration.
Line 24: Line 24:
  com.openexchange.file.storage.account.0.config.password=secret
  com.openexchange.file.storage.account.0.config.password=secret
  com.openexchange.file.storage.account.0.config.homedir=smb://smb.host.org/penny/
  com.openexchange.file.storage.account.0.config.homedir=smb://smb.host.org/penny/
== Configuration ==
And for an additional CIFS account:
## Test for additional account; arbitrary, but unique identifier.
## Typically the service’s protocol name; e.g. “webdav”, “cifs”, “cmis”, …
com.openexchange.file.storage.account.cifs.serviceId=com.openexchange.file.storage.cifs
com.openexchange.file.storage.account.cifs.displayName="Test CIFS"
com.openexchange.file.storage.account.cifs.config.url=smb://smb.host.org/
com.openexchange.file.storage.account.cifs.config.timeout=60000
## For testing only, we append the credentials
com.openexchange.file.storage.account.cifs.config.login=penny
com.openexchange.file.storage.account.cifs.config.password=secret
com.openexchange.file.storage.account.cifs.config.homedir=smb://smb.host.org/penny/


The special identifier “0” marks an account as a candidate for a user’s primary account. Secondary primary accounts are only considered, if InfoStore is not deployed and/or deactivated. Therefore stop appropriate bundle via:
The special identifier “0” marks an account as a candidate for a user’s primary account. Secondary primary accounts are only considered, if InfoStore is not deployed and/or deactivated. Therefore stop appropriate bundle via:


  $ /opt/open-xchange/sbin/stopbundle com.openexchange.file.storage.infostore
  $ /opt/open-xchange/sbin/stopbundle com.openexchange.file.storage.infostore

Revision as of 12:36, 7 March 2013

Setup a CIFS Account as primary/additional FileStorage Account

Pre-Requisites

Packages ‘open-xchange-file-storage-cifs’ and ‘open-xchange-file-storage-cmis’ are installed.


Definition of an CIFS Account

As Web frontend currently misses the view/possibility to manage file storage accounts, we need to setup the CIFS account per configuration.

An account-related configuration line serves the following pattern: “com.openexchange.file.storage.account.” + <account-identifier> + “.” + <property-name> + “=” + <property-value>

Thus we add the following lines to ‘filestorage.properties’ file:

## Test for default/primary account; indicated through “0” as account identifier
com.openexchange.file.storage.account.0.serviceId=com.openexchange.file.storage.cifs
com.openexchange.file.storage.account.0.displayName="Test CIFS"
com.openexchange.file.storage.account.0.config.url=smb://smb.host.org/
com.openexchange.file.storage.account.0.config.timeout=60000
## For testing only, we append the credentials
com.openexchange.file.storage.account.0.config.login=penny
com.openexchange.file.storage.account.0.config.password=secret
com.openexchange.file.storage.account.0.config.homedir=smb://smb.host.org/penny/


Configuration

And for an additional CIFS account:

## Test for additional account; arbitrary, but unique identifier.
## Typically the service’s protocol name; e.g. “webdav”, “cifs”, “cmis”, …
com.openexchange.file.storage.account.cifs.serviceId=com.openexchange.file.storage.cifs
com.openexchange.file.storage.account.cifs.displayName="Test CIFS"
com.openexchange.file.storage.account.cifs.config.url=smb://smb.host.org/
com.openexchange.file.storage.account.cifs.config.timeout=60000
## For testing only, we append the credentials
com.openexchange.file.storage.account.cifs.config.login=penny
com.openexchange.file.storage.account.cifs.config.password=secret
com.openexchange.file.storage.account.cifs.config.homedir=smb://smb.host.org/penny/

The special identifier “0” marks an account as a candidate for a user’s primary account. Secondary primary accounts are only considered, if InfoStore is not deployed and/or deactivated. Therefore stop appropriate bundle via:

$ /opt/open-xchange/sbin/stopbundle com.openexchange.file.storage.infostore