Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
cloudappliance/cifs30 [2018_09_06 09:17] – [Add CIFS to the account] dancloudappliance/cifs30 [2018_09_06 20:36] doug
Line 9: Line 9:
 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. 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.
  
-===== Turn SELinux to permissive mode =====+For CIFS to be available it must be enabled both for the appliance and in the User Package for an organization.
  
-==== ssh as root ==== 
- 
-For these commands you will need to su as root 
- 
-<code>$ ssh smeconfiguser@appliance IP address</code> 
-after establishing ssh session su as root 
- 
-<code>-bash-3.2$ su - root 
-Password:</code> 
-==== SELinux to permissive mode ==== 
- 
-as root execute the following command this will temporarily make SELinux permissive 
- 
-<code>setenforce 0</code> 
- 
-To permanently make SELinux permissive edit ''%%/etc/selinux/config%%'' and change the line 
- 
-<code>SELINUX=enforcing</code> 
- 
-to 
- 
-<code>SELINUX=permissive</code> 
 ===== Enable CIFS provider for the user package ===== ===== Enable CIFS provider for the user package =====
  
Line 51: Line 29:
  
 At this point you can use the provider wizard to add a CIFS share. 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
 +
 +<code>$ ssh smeconfiguser@appliance IP address</code>
 +after establishing ssh session su as root
 +
 +<code>-bash-3.2$ su - root
 +Password:</code>
 +==== 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.
 +
 +<code>setenforce 0</code>
 +
 +To permanently disable SELinux edit ''%%/etc/sysconfig/selinux%%'' and change the line
 +
 +<code>SELINUX=enforcing</code>
 +
 +to
 +
 +<code>SELINUX=disabled</code>
  
 ===== FAQ ===== ===== FAQ =====