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

We are a very small business (5 people) and all of us use Windows 7 on the desktop. I'm planning to run an Ubuntu box to share Internet connection and use a proxy. I'd like also to expand this box to use it as an Active Directory server so users can, when they login on their workstations, get authenticated by the Ubuntu box. Is this possible?

share|improve this question

In case it's not too late: there is an Ubuntu-based distro called Zentyal that targets small businesses. I played a little with it and managed to join a Windows 7 client to my domain (all virtual). Did not try anything else (yet) though.

share|improve this answer
Welcome to AskUbuntu, as far as I know it's never too late to post an answer. It could help other users even if not the person who posted the question. :) – Oyibo Sep 29 '12 at 15:15

I hope this is doable.

I am just setting up a Ubuntu machine to act as an Active Directory equivalent.

I have read that Samba 4 is designed specifically for this purpose.

It is still in development (alpha version) but it is supposed to be relatively stable.

There are also other flavours of linux projects set up specifically to address the active directory need.

What I am expecting is to have my XP and Win 7 machines able to use my Ubuntu server as an active directory equivalent when logging into the "domain".

share|improve this answer

I'll try the following solution right now!

Ubuntu 389 Directory Server! Included in Ubuntu 12.04 and 14.04! :-D

Who needs Samba4 ? :-P

share|improve this answer

MS Active Directory can not be installed on Ubuntu (or any other OS apart from Windows Server family OS's). You can use other LDAP implementations for the same purpose though.

share|improve this answer

I think you can connect to a Windows Server running AD using Ubuntu, but not the other way around. Not sure if you can configure an AD server wich is a Microsoft product in an Ubuntu box.

You can read this link to see if it helps you:

share|improve this answer
Thanks!I have read somewhere that I can use samba as a basic Directory service in terms of allowing users to log-in on the network; any tought on that? – poseido Mar 13 '12 at 15:35
You mean using Samba to connect to a Windows AD server? – LnxSlck Mar 13 '12 at 16:17
-1 that link is from 2006. – Jorge Castro Mar 14 '12 at 12:52
Even if it is old doesn't mean it doesn't apply. There's some good info there regarding the version of Ubuntu people are running – LnxSlck Mar 14 '12 at 13:18
Sure, it has some useful information, but it's cluttered with a bunch of things that need to be updated. – Jorge Castro Sep 29 '12 at 13:11

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.