Mounting CFS WebDav

WebDAV mounting instructions :

To Mount CFS as a Windows Drive :

Windows

How to mount your Ghost Cloud FS Drive on Windows:

  1. Open your Windows Explorer (Windows key + E) and select "Map Network Drive" from the "Tools" menu. If you are using Vista, you will see this as a button on the toolbar.
  2. Choose your preferred drive-letter
  3. Enter the following HTTP WebDAV url in the Folder field after replacing <hostname> and <username> with your information:

http://<hostname>/vcweb/dav/users/<username>/files/GDrv/<username>/

  1. Click on "Connect using a different username" and type in your username and password.
  2. By clicking "Finish", you should be able to see a new drive that connects to your Ghost Cloud FS Drive.

If you prefer using command line, use the following command after replacing <drive-letter>, <hostname> and <username> with your information:

net use <drive-letter>: "http://<hostname>/vcweb/dav/users/<username>/files/GDrv/<username>"

/User:<username> <password>

Ubuntu

For Ubuntu users, we recommend using davFS2 package using the following steps:

Install davfs2 package:

sudo apt-get install davfs2

Allow DavFS to run for unprivileged users:

sudo dpkg-reconfigure davfs2

Next you will see a setup screen asking whether you like to allow unprivileged users to use davfs2. Select "Yes" then hit the return key.

Next you will see a screen asking for a group name. Set a group name where each user belonging to this group can mount Ghost Cloud FS.

To give regular users access, you needs to touch /etc/fstab to add a line like this one:

http://<hostname>/vcweb/dav/users/<userName>/files/GDrv/<username> {/mnt/cfsdav} davfs user,rw,noauto 0  0

For further assistance, refer to http://sysblogd.wordpress.com/2007/09/09/ubuntu-mounting-remote-filesystem-using-davfs2-fuse/

Additional Settings

Depending on your settings you might be asked to provide a linux group name which would be used for Davfs2. users in this group can use davfs2.

Create a mount point

Create a mount point (mount directory) where you Ghost Cloud FS webdav File System will be mount

mkdir /mnt/cfsdav

Mount Ghost cloud fs

Mount Ghost CFS dav

sudo mount.davfs 'http://{server}/vcweb/dav/users/{userName}/files/GDrv/{username}' /mnt/cfsdav

you will then be prompted for your CFS username and password. Enter your username and password. You will get a warning message saying that the server does not support locks, however do not worry about this warning message. You can now use Ghost Cloud FileSystem as any other normal drive on your Ubuntu.

Advanced configuration

For advanced configurations please consult

http://linux.die.net/man/8/mount.davfs

Troubleshooting :

  1. Make sure windows WebClient Service is installed and turned on.
  2. Registery Hack for Basic authentication  :
  3. If you are not using https connection then windows by default does not allow basic authentication to work, and it does not support digest authentication, so the solution in this case is to tweak Windows registry to allow basic authentication to work

    Windows XP :

    Add the UseBasicAuth registry entry to the following registry subkey, and then set the entry to a non-zero value: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters To enable Basic authentication on the client computer, follow these steps:

    1. Click Start, and then click Run.
    2. In the Open box, type regedit, and then click OK.
    3. Locate and then click the following registry key:
    4. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
    5. On the Edit menu, point to New, and then click DWORD Value.
    6. Type UseBasicAuth, and then press ENTER.
    7. On the Edit menu, click Modify.
    8. In the Value data box, type 1, and then click OK.
    9. Exit Registry Editor, and then restart the computer.

    Note : Basic authentication is enabled if the UseBasicAuth registry entry is set to a non-zero value. Basic authentication is disabled if the UseBasicAuth registry entry is not present or if the UseBasicAuth registry entry is set to 0 (zero).

    Windows Vista :

    Add the BasicAuthLevel registry entry to the following registry subkey, and then set the entry to a value of 2 or more: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters To enable Basic authentication on the client computer, follow these steps:

     

    1. Click Start type regedit in the Start Search box, and then click regedit.exe in the Programs list.
    2. Locate and then click the following registry key:
    3. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
    4. On the Edit menu, point to New, and then click DWORD Value.
    5. Type BasicAuthLevel, and then press ENTER.
    6. On the Edit menu, click Modify.
    7. In the Value data box, type 2, and then click OK.
    8. Note The mapping is as follows:
      * 0 - Basic authentication disabled
      * 1 - Basic authentication enabled for SSL shares only
      * 2 or greater - Basic authentication enabled for SSL shares and for non-SSL shares

    9. Exit Registry Editor, and then restart the computer.

    For more info Microsoft Knowledge base article

  4. Hotfix packs