SAMBA (Domaincontroller) Server For Small Workgroups With Ubuntu 7.10

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

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.

Installed Software:

* Samba as domaincontroller
* 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!
Remove ads


To install such a system you will need the following:

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

Enable The root User

Now I can log in with the username “administrator” and password I entered above. I will enable the root user first for ease of installation. You can disable it later if you want.

sudo passwd root

Now we are logged in as root user.

Hint: This step is optional, if you dont want to enable the root user for security reasons, plese run the command “sudo su” to switch to root without enabling the root user to log in directly.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s