Active Directory Domain on Ubuntu

Tomas Alberto Ramirez Andujar tramirez at
Wed Nov 10 13:07:37 UTC 2010

Hola Mariano:

You need to do the following in order to join your workstation to the
modify this line in /etc/dhcp3/dhclient.conf

supersede domain-name "YOUR:DOMAIN";
prepend domain-name-servers YOURSERVERSIP 1,YOURSERVERSIP 2;

also make sure the net admins have opened at least this port 139 TCP

and use the graphical tool or in the console type the following.

domainjoin-cli join DOMAIN USER

it will prompt for a password, if it does not work, have one of the IT
guys to join the PC with their powerusers.

This worked for me...

Good luck
Tomas Alberto Ramirez Andujar, msc.
Sistemas de informaci'on y Redes
Camaguey, Cuba

-----Original Message-----
From: Mariano Jara <marianojara at>
Reply-to: "Ubuntu user technical support, not for general discussions"
<ubuntu-users at>
To: Ubuntu user technical support, not for general discussions
<ubuntu-users at>
Subject: Re: Active Directory Domain on Ubuntu
Date: Wed, 10 Nov 2010 08:35:21 -0300

On Wed, 2010-11-10 at 09:17 +0800, Christopher Chan wrote: 
> On Wednesday, November 10, 2010 09:03 AM, Thiago Cavalcante wrote:
> > I believe you need to install Samba as a domain controller as an
> > alternative to Active Directory
> I believe you need a dose of reality. 1) The OP is not a decision maker, 
> 2) he can hardly attempt to run samba4 alpha13 which will probably not 
> support everything his employer wants like Exchange and 3) he is not 
> talking about he needing to implement AD but that his computer needs to 
> work with the AD that his IT Dept will be implementing.
> But it would be nice if Mariano can convince his IT Dept to roll out 
> samba4 alpha13 to be an AD controller and samba 3.5.6 file/printer 
> servers and watch their licensing fees drop like a stone. Of course, be 
> prepared to have Microsoft on your backs as soon as they get the wind of 
> it when the company backs out of the Windows Server and CAL purchases.

Christopher, you're right about 1, 2 and 3.

I'm not a decision maker (I'm just an average lawyer working for the
Federal Tax Administration), certainly far from being an advanced user
on GNU/Linux, and all I need is my desktop computer being able to join

And I couldn't agree more with you about how nice it'd be if I could
talk the IT Dept into rolling out Samba4 Alpha13; but the problem is
that we're talking about a government office with all the bureaucratic
procedures that implies, plus the lobby you mention, and a history of
public offices paying for software licenses and most of desktop users
knowing only Windows as the only valid alternative.


key 0x310AAA6E GnuPG v1.4.10 (GNU/Linux)

Registered Ubuntu user #30096
Registered Linux user #503216

More information about the ubuntu-users mailing list