[Samba] Replace primary DC

aere_premium.0k at icloud.com aere_premium.0k at icloud.com
Mon Apr 28 19:09:48 UTC 2025


Le 28/04/2025 à 18:56, Rowland Penny via samba a écrit :
> However your suggested method is sound.

Well well well... Everything went through, no error until I check 
samba-tool drs showrepl. The DNS are still shown on my RSAT MMC, but 
Sites and Services and some other show that the credentials wrong T_T .

root at dc2 ~# samba-tool drs showrepl
190bis\DC2
DSA Options: 0x00000001
DSA object GUID: 0924a58f-c346-4a9c-a8ff-4110234e70c4
DSA invocationId: 90aaf304-e335-4cc5-8e22-f05f906e7443

==== INBOUND NEIGHBORS ====

DC=DomainDnsZones,DC=tech,DC=example,DC=com
	133\DC4 via RPC
		DSA object GUID: c9861e09-61bf-4188-affa-c97ff61b1bb0
		Last attempt @ Mon Apr 28 20:57:36 2025 CEST was successful
		0 consecutive failure(s).
		Last success @ Mon Apr 28 20:57:36 2025 CEST

DC=DomainDnsZones,DC=tech,DC=example,DC=com
	190bis\DC1 via RPC
		DSA object GUID: 61d35724-a484-4bd5-b1f8-54127991769a
		Last attempt @ Mon Apr 28 20:57:36 2025 CEST failed, result 31 
(WERR_GEN_FAILURE)
		5 consecutive failure(s).
		Last success @ NTTIME(0)

CN=Schema,CN=Configuration,DC=tech,DC=example,DC=com
	133\DC4 via RPC
		DSA object GUID: c9861e09-61bf-4188-affa-c97ff61b1bb0
		Last attempt @ Mon Apr 28 20:57:38 2025 CEST was successful
		0 consecutive failure(s).
		Last success @ Mon Apr 28 20:57:38 2025 CEST

CN=Schema,CN=Configuration,DC=tech,DC=example,DC=com
	190bis\DC1 via RPC
		DSA object GUID: 61d35724-a484-4bd5-b1f8-54127991769a
		Last attempt @ Mon Apr 28 20:57:38 2025 CEST failed, result 31 
(WERR_GEN_FAILURE)
		5 consecutive failure(s).
		Last success @ NTTIME(0)

DC=ForestDnsZones,DC=tech,DC=example,DC=com
	133\DC4 via RPC
		DSA object GUID: c9861e09-61bf-4188-affa-c97ff61b1bb0
		Last attempt @ Mon Apr 28 20:57:37 2025 CEST was successful
		0 consecutive failure(s).
		Last success @ Mon Apr 28 20:57:37 2025 CEST

DC=ForestDnsZones,DC=tech,DC=example,DC=com
	190bis\DC1 via RPC
		DSA object GUID: 61d35724-a484-4bd5-b1f8-54127991769a
		Last attempt @ Mon Apr 28 20:57:37 2025 CEST failed, result 31 
(WERR_GEN_FAILURE)
		5 consecutive failure(s).
		Last success @ NTTIME(0)

DC=tech,DC=example,DC=com
	133\DC4 via RPC
		DSA object GUID: c9861e09-61bf-4188-affa-c97ff61b1bb0
		Last attempt @ Mon Apr 28 20:57:39 2025 CEST was successful
		0 consecutive failure(s).
		Last success @ Mon Apr 28 20:57:39 2025 CEST

DC=tech,DC=example,DC=com
	190bis\DC1 via RPC
		DSA object GUID: 61d35724-a484-4bd5-b1f8-54127991769a
		Last attempt @ Mon Apr 28 21:00:49 2025 CEST failed, result 31 
(WERR_GEN_FAILURE)
		6 consecutive failure(s).
		Last success @ NTTIME(0)

CN=Configuration,DC=tech,DC=example,DC=com
	133\DC4 via RPC
		DSA object GUID: c9861e09-61bf-4188-affa-c97ff61b1bb0
		Last attempt @ Mon Apr 28 20:57:39 2025 CEST was successful
		0 consecutive failure(s).
		Last success @ Mon Apr 28 20:57:39 2025 CEST

CN=Configuration,DC=tech,DC=example,DC=com
	190bis\DC1 via RPC
		DSA object GUID: 61d35724-a484-4bd5-b1f8-54127991769a
		Last attempt @ Mon Apr 28 20:57:39 2025 CEST failed, result 31 
(WERR_GEN_FAILURE)
		5 consecutive failure(s).
		Last success @ NTTIME(0)

==== OUTBOUND NEIGHBORS ====

==== KCC CONNECTION OBJECTS ====

Connection --
	Connection name: 49e338b6-0a13-463f-8e70-1c77413bea49
	Enabled        : TRUE
	Server DNS name : dc4.tech.example.com
	Server DN name  : CN=NTDS 
Settings,CN=DC4,CN=Servers,CN=133,CN=Sites,CN=Configuration,DC=tech,DC=example,DC=com
		TransportType: RPC
		options: 0x00000001
Warning: No NC replicated for Connection!
Connection --
	Connection name: 059eb3b5-754d-43b4-b424-e67000c30f6d
	Enabled        : TRUE
	Server DNS name : dc1.tech.example.com
	Server DN name  : CN=NTDS 
Settings,CN=DC1,CN=Servers,CN=190bis,CN=Sites,CN=Configuration,DC=tech,DC=example,DC=com
		TransportType: RPC
		options: 0x00000001
Warning: No NC replicated for Connection!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20250428/804e2d08/OpenPGP_signature.sig>


More information about the samba mailing list