Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to setup samba as a domain controller. Can anyone help me with clear installation procedure and steps? Thanks in advance..

share|improve this question
up vote 1 down vote accepted

This is the official document from samba: Chapter 4. Domain Control. It's long and winding but might be a good reference.

The Ubuntu wiki will be very useful in setting it up. From the link:

Samba as a Domain Controller
Although it cannot act as an Active Directory Primary Domain Controller (PDC), a Samba server can be configured to appear as a Windows NT4-style domain controller. A major advantage of this configuration is the ability to centralize user and machine credentials. Samba can also use multiple backends to store the user information.

It's for 10.04 but all the commands and settings in the link are still working for 11.04.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.