Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
cloudappliance/cifs30 [2018_09_06 09:49] – [ssh as root] 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.
  
-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 permissive 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 set SELinux to permissive mode.+===== Enable CIFS provider for the user package ===== 
 + 
 +  * Login as appladmin in to the appliance 
 +  * go to User Packages and select the package assigned to the user 
 + 
 +{{:/cloudappliance:cifs30:.:sme_user_packages.png|User Package}} 
 + 
 +  * Enable CIFS provider for the package and save 
 + 
 +{{:/cloudappliance:cifs30:.:sme_edit_package.png|Edit Package}} 
 + 
 +===== 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 {{:/cloudappliance:cifs30:.:sme_provider_list.png|Provider List}} 
 + 
 +{{:/cloudappliance:cifs30:.:sme_cifs_provider_screen.png|CIFS Provider Login Screen}} 
 + 
 +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 ==== ==== ssh as root ====
Line 22: Line 43:
 <code>-bash-3.2$ su - root <code>-bash-3.2$ su - root
 Password:</code> Password:</code>
-==== SELinux to permissive mode ====+==== SELinux to disabled mode ====
  
-as root execute the following command this will temporarily make SELinux permissive+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> <code>setenforce 0</code>
  
-To permanently make SELinux permissive edit ''%%/etc/selinux/config%%'' and change the line+To permanently disable SELinux edit ''%%/etc/sysconfig/selinux%%'' and change the line
  
 <code>SELINUX=enforcing</code> <code>SELINUX=enforcing</code>
Line 34: Line 55:
 to to
  
-<code>SELINUX=permissive</code> +<code>SELINUX=disabled</code>
-===== Enable CIFS provider for the user package ===== +
- +
-  * Login as appladmin in to the appliance +
-  * go to User Packages and select the package assigned to the user +
- +
-{{:/cloudappliance:cifs30:.:sme_user_packages.png|User Package}} +
- +
-  * Enable CIFS provider for the package and save +
- +
-{{:/cloudappliance:cifs30:.:sme_edit_package.png|Edit Package}} +
- +
-===== 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 {{:/cloudappliance:cifs30:.:sme_provider_list.png|Provider List}} +
- +
-{{:/cloudappliance:cifs30:.:sme_cifs_provider_screen.png|CIFS Provider Login Screen}} +
- +
-At this point you can use the provider wizard to add a CIFS share.+
  
 ===== FAQ ===== ===== FAQ =====