[Samba] Proper manner to join second DC

Bob Wooden bob at donelsontrophy.com
Sat Jul 4 16:53:15 UTC 2020


On 7/4/20 7:27 AM, Bob Wooden via samba wrote:
> In re-reading the "Joining_a_Samba_DC_to_an_Existing_Active_Directory" 
> Sambawiki page.
>
> Is it no longer necessary to manually delete all *.tdb and *.ldb 
> database files from the soon to be joined (second) DC prior to joining?
>
> Are these database file deletions NOW "handled" by any one of the 
> "three authentication methods you can use" to join the second DC?
>
> (With newer versions come various improvements . . . what has happened 
> with regard to this joining step?)
>
> -- 
>
> (Sent from home location.)
>
> Bob Wooden
>
>
So, continuing my question . . . in the process of trying to confirm 
various file directory locations I found this:

root at dc1:~# ls -alh /var/lib/samba/bind-dns/dns/
total 3.5M
drwxrwx--- 3 root bind 4.0K Jul  3 17:04 .
drwxrwx--- 3 root bind 4.0K Jul  3 17:04 ..
-rw-rw---- 1 root bind 3.5M Jul  3 17:04 *sam.ldb*
drwxrwx--- 2 root bind 4.0K Jul  3 17:04 sam.ldb.d

Will this revised location (previously located at 
/var/lib/samba/private/sam.lib) be overwritten by the revised (three) 
join string options offered or should in fact all the database files be 
deleted manually prior to running one of the DC join string suggestions?

In this situation, I prefer to NOT assume an answer.

Any suggestions, please.

-- 
(Sent from home location.)

Bob Wooden



More information about the samba mailing list