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

    • 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% ...
    • Updating Cryptshare manually

      Applies to: Cryptshare Server from version 4.2.x Purpose: This is an example of the possibilities for updating Cryptshare manually. Note that manual updates should only be done if a regular update is not possible! Please make sure you have a working ...
    • Cryptshare doesn't start after rollback to previous version

      Applies to: All versions of Cryptshare Server Symptom: After rolling back to a previous version the Cryptshare Server is not available. Cause: The Java installation folder has not been restored. Solution: There are three approaches to restore Java: ...
    • Changing the favicon for the browser tab

      Applies to: All versions of Cryptshare Server Purpose: This is a step-by-step guide on changing the favicon shown in the browser tab. Solution: 1. create a PNG image file in size 16x16 px and save it as favicon-16x16.png 2. create a PNG image file in ...
    • Cryptshare service is not starting on Linux server

      Applies to: Cryptshare Server version 4.0.0.0 to 4.1.3.0 Symptom: The Cryptshare Service doesn't start after updating Cryptshare Server from version 4.0.0.0 to 4.1.x.x . Cause: The upgrade process cannot adjust the custom configuration during the ...