Project Fileserver: Samba + Truecrypt

Sun, Jul 18, 2010 One-minute read

After assembling the computer and connecting everything, I had to install the operating system. I chose to install Debian Linux via netinst image, then I installed Samba and Truecrypt.

The next step was configuring Samba and mounting the Truecrypt devices. I thought it would be done by that, but then I got 2 issues:

  1. The Fileserver was not “visible” in Windows 7.

Solution:

You have to add two things to the Windows registry:

HKLMSystemCCSServicesLanmanWorkstationParameters
DWORD  DomainCompatibilityMode = 1
DWORD  DNSNameResolutionRequired = 0
  1. Even though the rights in Linux were correct, all my Truecrypt folders were read-only.

Solution:

If you want Truecrypt to mount the devices in read/write mode, you have to install the ntfs-3g driver and force Truecrypt to mount using it, with the following command:

--filesystem=ntfs-3g

Now everything works fine.