AppSuite:Setup CIFS: Difference between revisions

From Open-Xchange
(Created page with "= Setup a CIFS Account as primary/additional FileStorage Account = == Pre-Requisites == Packages ‘open-xchange-file-storage-cifs’ and ‘open-xchange-file-storage-cmis...")
 
No edit summary
Line 3: Line 3:
== Pre-Requisites ==  
== Pre-Requisites ==  
Packages ‘open-xchange-file-storage-cifs’ and ‘open-xchange-file-storage-cmis’ are installed.
Packages ‘open-xchange-file-storage-cifs’ and ‘open-xchange-file-storage-cmis’ are installed.
== Configuration ==


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.

Revision as of 11:21, 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.


Configuration

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/

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