**This is an old revision of the document!**
Enabling the CIFS Provider
Appliance Requirements
This CIFS feature is only available for version 3.0+ of SME Appliance. Please use the prior mechanism to work with CIFS if you have an older version of the appliance.
Introduction
From version 3.0 of the SME Cloud Appliance there is an easier way to expose Windows based CIFS shares from the SME Enterprise File Share and Sync service . This guide steps an Admin through how to enable the CIFS connector (provider) in the SME Appliance.
For CIFS to be available it must be enabled both for the appliance and in the User Package for an organization.
Enable CIFS provider for the appliance
- Login as appladmin in to the appliance
- Go to Settings → Site Functionality
- Toward the bottom of the page under Providers ensure that CIFS is enabled
Enable CIFS provider for the user package
- Login as appladmin in to the appliance
- Enable CIFS provider for the package and save
Add CIFS to the account
Login in to the SME user account and you should see CIFS as provider in the dropdown list when you login as SME user
At this point you can use the provider wizard to add a CIFS share.
Disabling SELinux
In most cases the File Fabric's CIFS provider can be used without changing the File Fabric's SELinux settings. Depending on the CIFS implementation, however, it may be necessary to switch SELinux to disabled mode to make the CIFS provider work. If you have set up the CIFS provider without changing the SELinux configuration and the provider is not working as expected, follow these instructions to disable SELinux.
ssh as root
For these commands you will need to su as root
$ ssh smeconfiguser@appliance IP address
after establishing ssh session su as root
-bash-3.2$ su - root Password:
SELinux to disabled mode
To validate that SELinux is indeed the issue with CIFS, First temporarily set SELinux to permissive mode. After setting, test the CIFS mapping again. If the CIFS provider is now successfully uploading and downloading data, proceed with setting SELinux to disabled.
setenforce 0
To permanently disable SELinux edit /etc/sysconfig/selinux
and change the line
SELINUX=enforcing
to
SELINUX=disabled
FAQ
If you have added a CIFS share that is later directly removed then the metadata will remain visible in SME but you will be given warnings that SME cannot connect on upload, download or sync.
If you wish to remove this metadata you need to remove the provider entirely via the Cloud DashBoard.