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.


You have to add two things to the Windows registry:

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


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:


Now everything works fine.