Samba4 success as a peer-DC to Windows 2008 ... plus some questions.

Hafeez Bana hafeez.bana at
Tue Jun 12 14:54:55 MDT 2012

Hi Andrew,

I can definately replicate it because it took 3 days to track down trying
different things.

Here is how you do it:

1) Setup a windows DC
2) Run samba-tool join DC for a machineA
3) Kill machineA for a couple of days (in my case 3 days)
4) Join machineB using step 2 - crash on samba-tool join.

The windows machine should start flagging error messages saying it has not
been able to replicate for a number of days. Using ntdsutil.exe to clean up
the machineA entries makes step 4 work.


On Tue, Jun 12, 2012 at 8:15 PM, Andrew Bartlett <abartlet at> wrote:

> On Tue, 2012-06-12 at 15:48 +0100, Hafeez Bana wrote:
> > Hi All,
> >
> > Just wanted to congratulate all of you on the new Beta release and also
> > mention that I've successfully installed samba4 as peer DC on ubuntu
> server
> > 12.04LTS. I have a guide I have put together that maybe helpful to
> someone
> > else - where should I post this? This also includes some
> >
> > Also as a note for others on the list - I had an issue with Samba
> throwing
> > a segmentation fault whenever I tired to join it to domain as a DC. I
> > tracked this down the following: the Windows AD was having issues
> > replicating to an old DC and it would not allow any new DC's to peer with
> > it. You need to use ntdsutil to run a metadata cleanup and purge the
> failed
> > dc (or use dcpromo to demote the dc) - then everything will work.
> If you can reproduce the segfault, we would like to fix it, rather than
> need a workaround.
> Andrew Bartlett
> --
> Andrew Bartlett                      
> Authentication Developer, Samba Team 

More information about the samba-technical mailing list