[Samba] samba4: DC doesn't start up

steve steve at steve-ss.com
Thu May 8 05:36:15 MDT 2014


On Thu, 2014-05-08 at 11:04 +0100, Rowland Penny wrote:
> On 08/05/14 10:58, Sven Schwedas wrote:
> > On 2014-05-08 11:53, Rowland Penny wrote:
> >> On 08/05/14 10:47, Sven Schwedas wrote:
> >>> On 2014-05-08 11:23, Rowland Penny wrote:
> >>>> On 08/05/14 10:10, Sven Schwedas wrote:
> >>>>> On 2014-05-08 10:52, Rowland Penny wrote:
> >>>>>> On 08/05/14 09:35, Sven Schwedas wrote:
> >>>>>>> I tried joining a new DC to my AD domain (Samba 4.1.6).
> >>>>>>>
> >>>>>>> Join claimed to have worked, but samba refuses to start afterwards:
> >>>>>>>
> >>>>>>>> http://pastebin.com/jJiTzxsG
> >>>>>>> Apparently it doesn't recognize its role any more? What went wrong?
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>> Hi, everything looks ok, so it should work, perhaps there is something
> >>>>>> wrong in your smb.conf ?
> >>>>> Yeah, I still had security = ads in my smb.conf (together with server
> >>>>> role = active directory domain controller). The name is a bit
> >>>>> misleading. :-)
> >>>>>
> >>>>>
> >>>>>
> >>>> I take it that you already had an smb.conf prior to joining the domain
> >>>> as a DC, in which case, I think that you may have found a bug. If you
> >>>> try to provision a new domain and there is already a smb.conf, the
> >>>> provision errors out, I would have thought that the same would happen
> >>>> when you try to join a DC, as part of the join is writing the smb.conf.
> >>> I already had a smb.conf, and the join didn't modify it at all.
> >>>
> >>>> Rowland
> >>>
> >> OK, so how did 'server role = active directory domain controller' get
> >> into your smb.conf ?
> > I put it there.
> >
> >> Rowland
> >
> >
> OK, then it still must be a bug, when I joined my second DC to the 
> domain, it wrote the smb.conf for me and as I said, if you try to 
> provision a new domain with an existing smb.conf, it errors out.
> 
> Rowland
> 
Hi
If this is the case, has anything been written to the first DC? Is it
now possible to remove /path/to/samba, make install and try the join
again? As it didn't error out, how about:
net ads leave 
and try again on a fresh make install?
Cheers,
Steve




More information about the samba mailing list