Mounting Windows shared folder

Mounting Windows shared folder

Applies to:

All versions of Cryptshare Server

Purpose:

This is an example on mounting Windows shares on Cryptshare Appliances

Solution:

1. log in as root on your appliance

2. install the tool cifs-utils using the following command

cifs-utils

zypper in cifs-utils

3. create a mount point for the mount of Windows share called e.g. windows-share

mount point

mkdir /mnt/windows-share

4. add the following line into the file /etc/fstab

fstab

//<IP or DNS name of the Windows server>/<name of share> /mnt/windows-share cifs username=<USER>,password=<PASSWORD>,file_mode=0777,dir_mode=0777,vers=2.0 0 0

<USER> user with access to the shared folder

<PASSWORD> password of the user mentioned above

5. execute following command to mount the Windows share

mount

mount -a

Troubleshooting

In case the mounting procedure results in an error, check these two steps:

1. Force the Samba Version to 2.0 in /etc/fstab (see line in bold):

//<IP or DNS name of the Windows server>/<name of share> /mnt/windows-share cifs username=<USER>,password=<PASSWORD>,file_mode=0777,dir_mode=0777,vers=2.0 0 0

2. Check if the Windows user has access to the drive itself or only to the folder.

    • Related Articles

    • Shared mailbox cannot be opened

      Applies to All versions of Cryptshare for Office 365 & Outlook Symptoms Shared mailboxes in Outlook cannot not be opened be opened if public mailboxes are configured. Users may see the following exception: Solution Delete any existing public folder ...
    • Attachments are not stored in the Sent Items folder

      Applies To All versions of Cryptshare for Outlook Problem Attachments are not stored in the sent items folder regardless of the size of the files set for "Do not save outgoing files if.." in the admininterface. Cause The issue is caused by the ...
    • Outlook crashes when switching to a certain folder

      Affected to All versions of Cryptshare for Office 365 and Outlook Symptom When switching to a certain Outlook folder while the Add-in is enabled, Outlook may crash due to an unknown view setting. Cause This is caused by a view setting which the ...
    • Disabling mounting of tmp to tmpfs

      Applies to: All versions of Cryptshare Appliance Symptom: The Cryptshare transfer cannot be finished due to the missing free disk space. Cause: The temporary directory /tmp is mounted to tmpfs cryptshare:~ # df -h Filesystem Size Used Avail Use% ...
    • Symbolic Link for AppData resource

      Applies to All versions of Cryptshare for Office 365 & Outlook Purpose In most terminal server environments, a roaming profile is used to provide the user specific data on multiple terminal servers. In case of zero profiling a redirection is ...