[Samba] Joining a Samba DC to Existing AD question
Bob of Donelson Trophy
bob at donelsontrophy.net
Tue Oct 11 12:08:28 UTC 2016
On 2016-10-10 14:29, Marc Muehlfeld wrote:
> Hello Bob,
> Am 10.10.2016 um 20:59 schrieb Bob of Donelson Trophy via samba:
>> Last week I joined a second DC to my first and all seemed to go well.
>> (Turned it off until I had more time.)
>> This last weekend I moved fsmo roles to the second and demoted the first
>> DC per Samba Wiki instructions. At the time did not know anything about
>> protecting (lack of a better choice of words) any Samba databases. So
>> far, everything seems to be working okay. I'll check log files better
>> this evening.
>> Not having done anything with the "databases", is there some specific
>> problem I should be looking for?
> Did you run Samba as a Domain Member, PDC, DC, or standalone server on
> the host before you installed the DC? If not, there are no leftovers to
> clean up.
> Anyway, there shouldn't be a problem if there is something left over
> from a previous installation. The databases are recreated. Cleaning up
> old stuff is more for not getting confused later. For example, if you
> find some day database files, Samba does not use - because they are from
> a previous installation.
> I updated the text in the Wiki to mention the reason.
I was thinking about the problem I had when I demoted my first DC. I
have a single DC environment. I failed to recognize that I needed to
adjust the nameserver settings of each client >>prior<< to the demote.
When the first DC was gone I had a single W7 client that refused to
start. (The W10 clients started, but complained.) To correct this I
shutdown the new DC and all clients. Restarted the old, now demote DC
and the single W7 client and could then change the nameserver on the W7
client. Shutdown both the client and the old (demoted) DC and restart
the new DC and everything was fine.
I wish I had had this experience with other W7 clients but, I have only
one W7 client left and it could have been a unique machine related issue
, that it would not start without it's nameserver, and not a W7 client
issue. I have now way to reproduce this event to test further.
Somewhere I read that once a user demotes a DC you should not restart
it. So, I had to figure out a way to get that W7 client started to
re-adjust the nameserver. A larger deployment may not have the luxury of
shutting everything down to correct a single client issue in the manner
I did. Had I known this was a needed step I would not have had my issue.
You have done a great job updating the documentation. I have been
reviewing much of the detail you've added. Especially the bind stuff.
This is only a suggestion. Perhaps there needs to be a statement
regarding this? Perhaps not?
Bob Wooden of Donelson Trophy
More information about the samba