Web lists-archives.com

Re: [Samba] Kcc connection




On 5/10/2017 1:28 PM, Christian Naumer via samba wrote:
Ok here is the output:
If the output of the other DCs is needed let me know.  On the other DCs there are kcc connections for all other DCs. Just not on dc1.

[root@dc1 ~]# samba-tool drs showrepl
Default-First-Site-Name\DC1
DSA Options: 0x00000001
DSA object GUID: 1781607c-77e8-405d-8c3a-b7e142dd30c4
DSA invocationId: dc096a8a-773d-4a63-8e2a-288ab747557b

==== INBOUND NEIGHBORS ====

DC=DomainDnsZones,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC2 via RPC
                 DSA object GUID: 27ea875c-f283-4a31-b2ab-70db62cd530d
                 Last attempt @ Wed May 10 19:18:28 2017 CEST was successful
                 0 consecutive failure(s).
                 Last success @ Wed May 10 19:18:28 2017 CEST

DC=DomainDnsZones,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC4 via RPC
                 DSA object GUID: 5edfa50e-bcbf-4f1e-9a2f-35ee2fb0fe9c
                 Last attempt @ Wed May 10 19:18:28 2017 CEST was successful
                 0 consecutive failure(s).
                 Last success @ Wed May 10 19:18:28 2017 CEST

CN=Configuration,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC4 via RPC
                 DSA object GUID: 5edfa50e-bcbf-4f1e-9a2f-35ee2fb0fe9c
                 Last attempt @ Wed May 10 19:18:29 2017 CEST was successful
                 0 consecutive failure(s).
                 Last success @ Wed May 10 19:18:29 2017 CEST

CN=Configuration,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC2 via RPC
                 DSA object GUID: 27ea875c-f283-4a31-b2ab-70db62cd530d
                 Last attempt @ Wed May 10 19:18:29 2017 CEST was successful
                 0 consecutive failure(s).
                 Last success @ Wed May 10 19:18:29 2017 CEST

CN=Schema,CN=Configuration,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC4 via RPC
                 DSA object GUID: 5edfa50e-bcbf-4f1e-9a2f-35ee2fb0fe9c
                 Last attempt @ Wed May 10 19:18:29 2017 CEST was successful
                 0 consecutive failure(s).
                 Last success @ Wed May 10 19:18:29 2017 CEST

CN=Schema,CN=Configuration,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC2 via RPC
                 DSA object GUID: 27ea875c-f283-4a31-b2ab-70db62cd530d
                 Last attempt @ Wed May 10 19:18:29 2017 CEST was successful
                 0 consecutive failure(s).
                 Last success @ Wed May 10 19:18:29 2017 CEST

DC=ForestDnsZones,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC2 via RPC
                 DSA object GUID: 27ea875c-f283-4a31-b2ab-70db62cd530d
                 Last attempt @ Wed May 10 19:18:29 2017 CEST was successful
                 0 consecutive failure(s).
                 Last success @ Wed May 10 19:18:29 2017 CEST

DC=ForestDnsZones,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC4 via RPC
                 DSA object GUID: 5edfa50e-bcbf-4f1e-9a2f-35ee2fb0fe9c
                 Last attempt @ Wed May 10 19:18:29 2017 CEST was successful
                 0 consecutive failure(s).
                 Last success @ Wed May 10 19:18:29 2017 CEST

DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC4 via RPC
                 DSA object GUID: 5edfa50e-bcbf-4f1e-9a2f-35ee2fb0fe9c
                 Last attempt @ Wed May 10 19:18:29 2017 CEST was successful
                 0 consecutive failure(s).
                 Last success @ Wed May 10 19:18:29 2017 CEST

DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC2 via RPC
                 DSA object GUID: 27ea875c-f283-4a31-b2ab-70db62cd530d
                 Last attempt @ Wed May 10 19:18:30 2017 CEST was successful
                 0 consecutive failure(s).
                 Last success @ Wed May 10 19:18:30 2017 CEST

==== OUTBOUND NEIGHBORS ====

DC=DomainDnsZones,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC4 via RPC
                 DSA object GUID: 5edfa50e-bcbf-4f1e-9a2f-35ee2fb0fe9c
                 Last attempt @ NTTIME(0) was successful
                 0 consecutive failure(s).
                 Last success @ NTTIME(0)

DC=DomainDnsZones,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC3 via RPC
                 DSA object GUID: d4b82a24-f75e-4b47-920f-92e7bc8bd03c
                 Last attempt @ NTTIME(0) was successful
                 0 consecutive failure(s).
                 Last success @ NTTIME(0)

DC=DomainDnsZones,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC2 via RPC
                 DSA object GUID: 27ea875c-f283-4a31-b2ab-70db62cd530d
                 Last attempt @ NTTIME(0) was successful
                 0 consecutive failure(s).
                 Last success @ NTTIME(0)

CN=Configuration,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC4 via RPC
                 DSA object GUID: 5edfa50e-bcbf-4f1e-9a2f-35ee2fb0fe9c
                 Last attempt @ NTTIME(0) was successful
                 0 consecutive failure(s).
                 Last success @ NTTIME(0)

CN=Configuration,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC3 via RPC
                 DSA object GUID: d4b82a24-f75e-4b47-920f-92e7bc8bd03c
                 Last attempt @ NTTIME(0) was successful
                 0 consecutive failure(s).
                 Last success @ NTTIME(0)

CN=Configuration,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC2 via RPC
                 DSA object GUID: 27ea875c-f283-4a31-b2ab-70db62cd530d
                 Last attempt @ NTTIME(0) was successful
                 0 consecutive failure(s).
                 Last success @ NTTIME(0)

CN=Schema,CN=Configuration,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC4 via RPC
                 DSA object GUID: 5edfa50e-bcbf-4f1e-9a2f-35ee2fb0fe9c
                 Last attempt @ NTTIME(0) was successful
                 0 consecutive failure(s).
                 Last success @ NTTIME(0)

CN=Schema,CN=Configuration,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC3 via RPC
                 DSA object GUID: d4b82a24-f75e-4b47-920f-92e7bc8bd03c
                 Last attempt @ NTTIME(0) was successful
                 0 consecutive failure(s).
                 Last success @ NTTIME(0)

CN=Schema,CN=Configuration,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC2 via RPC
                 DSA object GUID: 27ea875c-f283-4a31-b2ab-70db62cd530d
                 Last attempt @ NTTIME(0) was successful
                 0 consecutive failure(s).
                 Last success @ NTTIME(0)

DC=ForestDnsZones,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC4 via RPC
                 DSA object GUID: 5edfa50e-bcbf-4f1e-9a2f-35ee2fb0fe9c
                 Last attempt @ NTTIME(0) was successful
                 0 consecutive failure(s).
                 Last success @ NTTIME(0)

DC=ForestDnsZones,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC3 via RPC
                 DSA object GUID: d4b82a24-f75e-4b47-920f-92e7bc8bd03c
                 Last attempt @ NTTIME(0) was successful
                 0 consecutive failure(s).
                 Last success @ NTTIME(0)

DC=ForestDnsZones,DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC2 via RPC
                 DSA object GUID: 27ea875c-f283-4a31-b2ab-70db62cd530d
                 Last attempt @ NTTIME(0) was successful
                 0 consecutive failure(s).
                 Last success @ NTTIME(0)

DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC4 via RPC
                 DSA object GUID: 5edfa50e-bcbf-4f1e-9a2f-35ee2fb0fe9c
                 Last attempt @ NTTIME(0) was successful
                 0 consecutive failure(s).
                 Last success @ NTTIME(0)

DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC3 via RPC
                 DSA object GUID: d4b82a24-f75e-4b47-920f-92e7bc8bd03c
                 Last attempt @ NTTIME(0) was successful
                 0 consecutive failure(s).
                 Last success @ NTTIME(0)

DC=hq,DC=brain-biotech,DC=de
         Default-First-Site-Name\DC2 via RPC
                 DSA object GUID: 27ea875c-f283-4a31-b2ab-70db62cd530d
                 Last attempt @ NTTIME(0) was successful
                 0 consecutive failure(s).
                 Last success @ NTTIME(0)

==== KCC CONNECTION OBJECTS ====

Connection --
         Connection name: 4855bd0d-7a85-4ff9-a17a-310933548220
         Enabled        : TRUE
         Server DNS name : dc2.hq.brain-biotech.de
         Server DN name  : CN=NTDS Settings,CN=DC2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=hq,DC=brain-biotech,DC=de
                 TransportType: RPC
                 options: 0x00000001
Warning: No NC replicated for Connection!
Connection --
         Connection name: a9b769ca-57da-400a-88bf-4ea556a208e8
         Enabled        : TRUE
         Server DNS name : dc4.hq.brain-biotech.de
         Server DN name  : CN=NTDS Settings,CN=DC4,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=hq,DC=brain-biotech,DC=de
                 TransportType: RPC
                 options: 0x00000001
Warning: No NC replicated for Connection!
[root@dc1 ~]#



Am 10.05.2017 um 18:24 schrieb L.P.H. van Belle via samba <samba@xxxxxxxxxxxxxxx>:

Hello Christian,

Ive had a quick look at you output, that looks pretty normal.
I'll have a good look Friday, tomorrow day off.
So my suggestion is post the output to the list but -d10 is not needed.
The regular output should be sufficiant.

Im wondering why there is no dc3 in kcc also but why i see over 15 RPC sessions.
Maybe normal maybe not, this i dont know.


Greetz,

Louis


-----Oorspronkelijk bericht-----
Van: Christian Naumer [mailto:cn@xxxxxxxxxxxxxxxx]
Verzonden: woensdag 10 mei 2017 14:18
Aan: L.P.H. van Belle
Onderwerp: Re: [Samba] Kcc connection

you probably meant -d10 ?
you find this attached.

Thanks for the effort.

Am Mittwoch, den 10.05.2017, 13:43 +0200 schrieb L.P.H. van Belle via
samba:
Thanks,

Can you post the output of :
samba-tool drs showrepl -d0

If needed anonimize or send it direct to me.


Greetz,

Louis

-----Oorspronkelijk bericht-----
Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens
Christian
Naumer via samba
Verzonden: woensdag 10 mei 2017 11:55
Aan: samba@xxxxxxxxxxxxxxx
Onderwerp: Re: [Samba] Kcc connection

Am Mittwoch, den 10.05.2017, 10:51 +0200 schrieb L.P.H. van Belle
via
samba:
Hello Christian,

Can you post me the message you got from the
samba-check-db-repl.sh,
Then i'll add something for it.
The output at the end is:

Running : samba-tool drs showrepl
         successes don't match
         successes don't match
         successes don't match


And can you tell with version nummer of the script your using.
Version      : 1.0.5


Regards

Christian



Greetz,

Louis



-----Oorspronkelijk bericht-----
Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens
Christian Naumer via samba
Verzonden: woensdag 10 mei 2017 9:30
Aan: samba@xxxxxxxxxxxxxxx
Onderwerp: Re: [Samba] Kcc connection

Am Mittwoch, den 10.05.2017, 09:15 +0200 schrieb Marc
Muehlfeld via
samba:
Hi Christian,

See 4.5.0 release notes:
https://www.samba.org/samba/history/samba-4.5.0.html


In other words: This is expected behaviour. OK. I
thought it was
a Problem because when I run the
samba-check-db-repl.sh from L.
van Belle and it reported this as an error (but only on dc1).

thank you for the answer.


Regards

Christian

--
Dr. Christian Naumer
Research Scientist
Plattform-Koordinator Bioprozesstechnik

B.R.A.I.N Aktiengesellschaft
Darmstaedter Str. 34-36, D-64673 Zwingenberg e-mail
cn@xxxxxxxxxxxxxxxx, homepage www.brain-biotech.de fon
+49-6251-9331-30  /   fax +49-6251-9331-11

Sitz der Gesellschaft: Zwingenberg/Bergstrasse
Registergericht
AG Darmstadt, HRB 24758
Vorstand: Dr. Juergen Eck (Vorsitzender), Frank Goebel
Aufsichtsratsvorsitzender: Dr. Ludger Mueller

--
To unsubscribe from this list go to the following URL
and read
the
instructions:  https://lists.samba.org/mailman/options/samba



--
Dr. Christian Naumer
Research Scientist
Plattform-Koordinator Bioprozesstechnik

B.R.A.I.N Aktiengesellschaft
Darmstaedter Str. 34-36, D-64673 Zwingenberg e-mail
cn@xxxxxxxxxxxxxxxx, homepage www.brain-biotech.de fon
+49-6251-9331-30  /   fax +49-6251-9331-11

Sitz der Gesellschaft: Zwingenberg/Bergstrasse Registergericht AG
Darmstadt, HRB 24758
Vorstand: Dr. Juergen Eck (Vorsitzender), Frank Goebel
Aufsichtsratsvorsitzender: Dr. Ludger Mueller

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba



--
Dr. Christian Naumer
Research Scientist
Plattform-Koordinator Bioprozesstechnik

B.R.A.I.N Aktiengesellschaft
Darmstaedter Str. 34-36, D-64673 Zwingenberg e-mail
cn@xxxxxxxxxxxxxxxx, homepage www.brain-biotech.de
fon +49-6251-9331-30  /   fax +49-6251-9331-11

Sitz der Gesellschaft: Zwingenberg/Bergstrasse
Registergericht AG Darmstadt, HRB 24758
Vorstand: Dr. Juergen Eck (Vorsitzender), Frank Goebel
Aufsichtsratsvorsitzender: Dr. Ludger Mueller


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

I wouldn't manually create the connection. The KCC should have automatically created this. Have you tried deleting the NTDS settings from DC3 to DC1 and triggering the KCC (samba-tool drs kcc)? You could also enable 'kcc:srv:samba_kcc = no' in your smb.conf on all DC's and it should revert to using a full mesh topology. Once all links have been restored, you can remove the line as it defaults to yes.

--
--
James


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba