[Samba] Error in samba-tool drs updateness
Douglas Bagnall
douglas.bagnall at catalyst.net.nz
Mon Jul 11 00:26:28 UTC 2022
hi Bruno,
If you apply the attached patch to samba/uptodateness.py, wherever that
might be on your system, it might tell you which DC is confused. (no
recompiling should be necessary).
On 7/07/22 06:49, Bruno Guerreiro via samba wrote:
> Hi Rowland.
> Here's the full error:
>
> root at DC01:~# samba-tool drs uptodateness
From a `| sort | uniq -c`, it looks like 5 repetitions of 10 DCs, like this:
5 Missing dn CN=DC01,CN=Servers,CN=Default-First-Site-Name,
5 Missing dn CN=DC02,CN=Servers,CN=Default-First-Site-Name,
5 Missing dn CN=DC03,CN=Servers,CN=Porto,
5 Missing dn CN=DC04,CN=Servers,CN=Coimbra,
5 Missing dn CN=DC05,CN=Servers,CN=Evora,
5 Missing dn CN=DC06,CN=Servers,CN=Faro,
5 Missing dn CN=DC07,CN=Servers,CN=Funchal,
5 Missing dn CN=DC08,CN=Servers,CN=Lisboa,
5 Missing dn CN=DC09,CN=Servers,CN=Lisboa,
5 Missing dn CN=DC10,CN=Servers,CN=Angra,
5 repetitions because 5 partitions. Is there an 11th DC? Or one that was
not removed completely and/or not smoothly upgraded?
> DOMAIN maximum: 207 median: 18.0 failure: 10
> CONFIGURATION maximum: 468 median: 29.0 failure: 10
> SCHEMA maximum: 318 median: 27.0 failure: 10
> DNSDOMAIN maximum: 56 median: 3.0 failure: 10
> DNSFOREST maximum: 378 median: 36.0 failure: 10
I think I'd expect the max/median numbers to be lower here, unless the
network is very busy at the time -- or, of course, a DC that is failing to
replicate.
cheers,
Douglas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-py-uptodateness-more-details-in-missing-dn-report.patch
Type: text/x-patch
Size: 1031 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba/attachments/20220711/2cc39aca/0001-py-uptodateness-more-details-in-missing-dn-report.bin>
More information about the samba
mailing list