Howtoforge posted a guide about setting up Ubuntu 10.04 Samba Standalone Server With tdbsam Backend
This tutorial explains the installation of a Samba fileserver on Ubuntu 10.04 and how to configure it to share files over the SMB protocol as well as how to add users. Samba is configured as a standalone server, not as a domain controller. In the resulting setup, every user has his own home directory accessible via the SMB protocol and all users have a shared directory with read-/write access.Ubuntu 10.04 Samba Standalone Server With tdbsam Backend