SAMBA (Domaincontroller) Server For Small Workgroups With Ubuntu 7.10
This is a detailed
  description about setting up an Ubuntu based server
  (Ubuntu 7.10) to act as file- and printserver for Windows(tm)
  workstations in small workgroups. This howto uses the tdb backend for SAMBA
  to store passwords and account information. This is suitable for workgroups
  for up to 250 users and is easier to set up than an LDAP backend.