Howtoforge published a tutorial about setting up Samba Standalone Server with tdbsam backend under Debian GNU/Linux 4.0
This tutorial explains the installation of a Samba file server on Debian Etch and how to configure it to share files over the SMB protocol as well as adding users. Samba is configured as a standalone server, not as a domain controller. In the resulting setup, every user has its own home directory that is accessible via SMB protocol and all users have a shared directory with read/write access.Debian 4.0 (Etch) Samba Standalone Server With tdbsam Backend