SAMBA (Domaincontroller) Server For Small Workgroups With Ubuntu 6.10

Version 1.0
Author: Till Brehm <t.brehm [at] projektfarm [dot] com>
Last edited 03/20/2007

This is a detailed description about how to set up a Ubuntu based server (Ubuntu 6.10) to act as a 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.

Installed Software:

  • Samba as Domaincontroller
  • Cups
  • Foomatic printer drivers

I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!



To install such a system you will need the following:

  • A Ubuntu server install CD (available here:
  • An internet connection since I will describe a network installation in this document.

In part 1 of the howto, I will install the Ubuntu base system. You may skip this part if the base system is already set up on your server.


1 The Base System

Insert your Ubuntu install CD into your system and boot from it.

The installation starts, and first you have to choose your language:

Choose a keyboard layout:

Chose your location:

Package scanning starts.

Enter the hostname. In this example, my system is called fileserver1, so I enter fileserver1:

Share this page:

1 Comment(s)

Add comment


From: at: 2008-04-14 02:47:09

After some research I came to the conclusion that CUPS, by default, tries to use SSL whenever possible. So, with this 426 error, you are redirected to the SSL domain. Chances are, you haven’t configured SSL properly, if at all.

In my case, I didn’t want to configure SSL. To get rid of this problem, the key lies in editing your configuration files ( /etc/cups/cupsd.conf ) and adding the following line:

DefaultEncryption Never

There are several options, Never, IfRequired and Required. By setting this to Never, SSL will never be enforced. Just restart your CUPS server with

$ /etc/init.d/cupsys restart
and you’re good to go.