Samba at Laurenz.ws
2013-Oct-24 12:47 UTC
[Samba] SAMBA 4 - Remove last Windows DC from Domain
HI, i just played around with Windows 2008 R2 as ADS Server and two SAMBA 4 as additional DCs. Setting up the Samba 4 DCs works fine. Now I wanted to remove the last Windows DC with dcpromo. It fails with the following statement: Der Vorgang konnte nicht durchgef?hrt werden. Fehler: Active Directory konnte keinen anderen Dom?nencontroller f?r die ?bertragung der verbleibenden Daten in Verzeichnispartition DC=ForestDnsZones,DC=local,DC=laurenz,DC=ws finden. "Die angegebene Dom?ne ist nicht vorhanden, oder es konnte keine Verbindung hergestellt werden." All FSMO Roles are already transferred to the samba4 DCs. Replication worksfine according to MS Repl Viewer. Any hint, were to start the search for the problem? Regards, DIrk
Samba at Laurenz.ws
2013-Oct-25 15:20 UTC
[Samba] SAMBA 4 - Remove last Windows DC from Domain
Hello, so i removed the DC with dcpromo /forceremoval and only to samba4 DCs are remaining. I deleted the old windows dc via ads users and computers and also in sites and services. But it remains as a ghost in samba-tool showrepl.... How do I remove this remaining server? Here's samba-tool drs showrepl from both servers.... on dc01: (the ghost is the one with 466 consecutive failure(s).) root at dc01:~# samba-tool drs showrepl Zuhause\DC01 DSA Options: 0x00000001 DSA object GUID: adfef18f-8548-419d-8061-dd9d335c4f9a DSA invocationId: 233bf2fa-3cfb-43d9-8b72-dc1484243245 ==== INBOUND NEIGHBORS === DC=DomainDnsZones,DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 17:13:04 2013 CEST failed, result 2 (WERR_BADFILE) 18 consecutive failure(s). Last success @ Fri Oct 25 15:43:02 2013 CEST DC=DomainDnsZones,DC=local,DC=laurenz,DC=ws Zuhause\DC02 via RPC DSA object GUID: 12715464-b579-4337-9e93-6637ad44e399 Last attempt @ Fri Oct 25 17:13:05 2013 CEST was successful 0 consecutive failure(s). Last success @ Fri Oct 25 17:13:05 2013 CEST DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 17:13:06 2013 CEST failed, result 2 (WERR_BADFILE) 18 consecutive failure(s). Last success @ Fri Oct 25 15:43:05 2013 CEST DC=local,DC=laurenz,DC=ws Zuhause\DC02 via RPC DSA object GUID: 12715464-b579-4337-9e93-6637ad44e399 Last attempt @ Fri Oct 25 17:13:07 2013 CEST was successful 0 consecutive failure(s). Last success @ Fri Oct 25 17:13:07 2013 CEST DC=ForestDnsZones,DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 17:13:05 2013 CEST failed, result 2 (WERR_BADFILE) 18 consecutive failure(s). Last success @ Fri Oct 25 15:43:03 2013 CEST DC=ForestDnsZones,DC=local,DC=laurenz,DC=ws Zuhause\DC02 via RPC DSA object GUID: 12715464-b579-4337-9e93-6637ad44e399 Last attempt @ Fri Oct 25 17:13:05 2013 CEST was successful 0 consecutive failure(s). Last success @ Fri Oct 25 17:13:05 2013 CEST CN=Schema,CN=Configuration,DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 17:13:08 2013 CEST failed, result 2 (WERR_BADFILE) 18 consecutive failure(s). Last success @ Fri Oct 25 15:43:10 2013 CEST CN=Schema,CN=Configuration,DC=local,DC=laurenz,DC=ws Zuhause\DC02 via RPC DSA object GUID: 12715464-b579-4337-9e93-6637ad44e399 Last attempt @ Fri Oct 25 17:13:10 2013 CEST was successful 0 consecutive failure(s). Last success @ Fri Oct 25 17:13:10 2013 CEST CN=Configuration,DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 17:13:10 2013 CEST failed, result 2 (WERR_BADFILE) 18 consecutive failure(s). Last success @ Fri Oct 25 15:43:13 2013 CEST CN=Configuration,DC=local,DC=laurenz,DC=ws Zuhause\DC02 via RPC DSA object GUID: 12715464-b579-4337-9e93-6637ad44e399 Last attempt @ Fri Oct 25 17:13:13 2013 CEST was successful 0 consecutive failure(s). Last success @ Fri Oct 25 17:13:13 2013 CEST ==== OUTBOUND NEIGHBORS === DC=DomainDnsZones,DC=local,DC=laurenz,DC=ws Zuhause\DC02 via RPC DSA object GUID: 12715464-b579-4337-9e93-6637ad44e399 Last attempt @ NTTIME(0) was successful 0 consecutive failure(s). Last success @ NTTIME(0) DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 17:15:40 2013 CEST failed, result 2 (WERR_BADFILE) 877 consecutive failure(s). Last success @ Fri Oct 25 15:46:31 2013 CEST DC=local,DC=laurenz,DC=ws Zuhause\DC02 via RPC DSA object GUID: 12715464-b579-4337-9e93-6637ad44e399 Last attempt @ NTTIME(0) was successful 0 consecutive failure(s). Last success @ NTTIME(0) DC=ForestDnsZones,DC=local,DC=laurenz,DC=ws Zuhause\DC02 via RPC DSA object GUID: 12715464-b579-4337-9e93-6637ad44e399 Last attempt @ NTTIME(0) was successful 0 consecutive failure(s). Last success @ NTTIME(0) CN=Schema,CN=Configuration,DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 15:33:13 2013 CEST was successful 0 consecutive failure(s). Last success @ Fri Oct 25 15:33:13 2013 CEST CN=Schema,CN=Configuration,DC=local,DC=laurenz,DC=ws Zuhause\DC02 via RPC DSA object GUID: 12715464-b579-4337-9e93-6637ad44e399 Last attempt @ NTTIME(0) was successful 0 consecutive failure(s). Last success @ NTTIME(0) CN=Configuration,DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 17:15:40 2013 CEST failed, result 2 (WERR_BADFILE) 466 consecutive failure(s). Last success @ Fri Oct 25 15:33:14 2013 CEST CN=Configuration,DC=local,DC=laurenz,DC=ws Zuhause\DC02 via RPC DSA object GUID: 12715464-b579-4337-9e93-6637ad44e399 Last attempt @ NTTIME(0) was successful 0 consecutive failure(s). Last success @ NTTIME(0) ==== KCC CONNECTION OBJECTS === Connection -- Connection name: DC02 Enabled : TRUE Server DNS name : DC02.local.laurenz.ws Server DN name : CN=NTDS Settings,CN=DC02,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration,DC=local,DC =laurenz,DC=ws TransportType: RPC options: 0x00000000 Warning: No NC replicated for Connection! ------------------------- On dc02: (also the one with failures is the ghost) root at dc02:~# samba-tool drs showrepl Zuhause\DC02 DSA Options: 0x00000001 DSA object GUID: 12715464-b579-4337-9e93-6637ad44e399 DSA invocationId: baa9f972-3c07-4ad0-8972-a882e140785c ==== INBOUND NEIGHBORS === DC=DomainDnsZones,DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 17:12:51 2013 CEST failed, result 2 (WERR_BADFILE) 18 consecutive failure(s). Last success @ Fri Oct 25 15:42:48 2013 CEST DC=DomainDnsZones,DC=local,DC=laurenz,DC=ws Zuhause\DC01 via RPC DSA object GUID: adfef18f-8548-419d-8061-dd9d335c4f9a Last attempt @ Fri Oct 25 17:15:11 2013 CEST was successful 0 consecutive failure(s). Last success @ Fri Oct 25 17:15:11 2013 CEST DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 17:12:55 2013 CEST failed, result 2 (WERR_BADFILE) 18 consecutive failure(s). Last success @ Fri Oct 25 15:42:51 2013 CEST DC=local,DC=laurenz,DC=ws Zuhause\DC01 via RPC DSA object GUID: adfef18f-8548-419d-8061-dd9d335c4f9a Last attempt @ Fri Oct 25 17:12:57 2013 CEST was successful 0 consecutive failure(s). Last success @ Fri Oct 25 17:12:57 2013 CEST DC=ForestDnsZones,DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 17:12:54 2013 CEST failed, result 2 (WERR_BADFILE) 18 consecutive failure(s). Last success @ Fri Oct 25 15:42:50 2013 CEST DC=ForestDnsZones,DC=local,DC=laurenz,DC=ws Zuhause\DC01 via RPC DSA object GUID: adfef18f-8548-419d-8061-dd9d335c4f9a Last attempt @ Fri Oct 25 17:14:05 2013 CEST was successful 0 consecutive failure(s). Last success @ Fri Oct 25 17:14:05 2013 CEST CN=Schema,CN=Configuration,DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 17:12:58 2013 CEST failed, result 2 (WERR_BADFILE) 18 consecutive failure(s). Last success @ Fri Oct 25 15:42:54 2013 CEST CN=Schema,CN=Configuration,DC=local,DC=laurenz,DC=ws Zuhause\DC01 via RPC DSA object GUID: adfef18f-8548-419d-8061-dd9d335c4f9a Last attempt @ Fri Oct 25 17:13:00 2013 CEST was successful 0 consecutive failure(s). Last success @ Fri Oct 25 17:13:00 2013 CEST CN=Configuration,DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 17:13:01 2013 CEST failed, result 2 (WERR_BADFILE) 18 consecutive failure(s). Last success @ Fri Oct 25 15:42:59 2013 CEST CN=Configuration,DC=local,DC=laurenz,DC=ws Zuhause\DC01 via RPC DSA object GUID: adfef18f-8548-419d-8061-dd9d335c4f9a Last attempt @ Fri Oct 25 17:13:03 2013 CEST was successful 0 consecutive failure(s). Last success @ Fri Oct 25 17:13:03 2013 CEST ==== OUTBOUND NEIGHBORS === DC=DomainDnsZones,DC=local,DC=laurenz,DC=ws Zuhause\DC01 via RPC DSA object GUID: adfef18f-8548-419d-8061-dd9d335c4f9a Last attempt @ NTTIME(0) was successful 0 consecutive failure(s). Last success @ NTTIME(0) DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 17:15:48 2013 CEST failed, result 2 (WERR_BADFILE) 927 consecutive failure(s). Last success @ Fri Oct 25 15:33:04 2013 CEST DC=local,DC=laurenz,DC=ws Zuhause\DC01 via RPC DSA object GUID: adfef18f-8548-419d-8061-dd9d335c4f9a Last attempt @ NTTIME(0) was successful 0 consecutive failure(s). Last success @ NTTIME(0) DC=ForestDnsZones,DC=local,DC=laurenz,DC=ws Zuhause\DC01 via RPC DSA object GUID: adfef18f-8548-419d-8061-dd9d335c4f9a Last attempt @ NTTIME(0) was successful 0 consecutive failure(s). Last success @ NTTIME(0) CN=Schema,CN=Configuration,DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 15:33:01 2013 CEST was successful 0 consecutive failure(s). Last success @ Fri Oct 25 15:33:01 2013 CEST CN=Schema,CN=Configuration,DC=local,DC=laurenz,DC=ws Zuhause\DC01 via RPC DSA object GUID: adfef18f-8548-419d-8061-dd9d335c4f9a Last attempt @ NTTIME(0) was successful 0 consecutive failure(s). Last success @ NTTIME(0) CN=Configuration,DC=local,DC=laurenz,DC=ws NTDS DN: CN=NTDS Settings\0ADEL:262e2471-dc01-4d71-ae5d-f71f9d8c2d5d,CN=SHELBY\0ADEL:72a698fc -6b93-41d1-9961-504008ea2415,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration ,DC=local,DC=laurenz,DC=ws DSA object GUID: 262e2471-dc01-4d71-ae5d-f71f9d8c2d5d Last attempt @ Fri Oct 25 17:15:49 2013 CEST failed, result 2 (WERR_BADFILE) 468 consecutive failure(s). Last success @ Fri Oct 25 15:33:02 2013 CEST CN=Configuration,DC=local,DC=laurenz,DC=ws Zuhause\DC01 via RPC DSA object GUID: adfef18f-8548-419d-8061-dd9d335c4f9a Last attempt @ NTTIME(0) was successful 0 consecutive failure(s). Last success @ NTTIME(0) ==== KCC CONNECTION OBJECTS === Connection -- Connection name: DC01 Enabled : TRUE Server DNS name : DC01.local.laurenz.ws Server DN name : CN=NTDS Settings,CN=DC01,CN=Servers,CN=Zuhause,CN=Sites,CN=Configuration,DC=local,DC =laurenz,DC=ws TransportType: RPC options: 0x00000000 Warning: No NC replicated for Connection! -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von Samba at Laurenz.ws Gesendet: Donnerstag, 24. Oktober 2013 14:47 An: samba at lists.samba.org Betreff: [Samba] SAMBA 4 - Remove last Windows DC from Domain HI, i just played around with Windows 2008 R2 as ADS Server and two SAMBA 4 as additional DCs. Setting up the Samba 4 DCs works fine. Now I wanted to remove the last Windows DC with dcpromo. It fails with the following statement: Der Vorgang konnte nicht durchgef?hrt werden. Fehler: Active Directory konnte keinen anderen Dom?nencontroller f?r die ?bertragung der verbleibenden Daten in Verzeichnispartition DC=ForestDnsZones,DC=local,DC=laurenz,DC=ws finden. "Die angegebene Dom?ne ist nicht vorhanden, oder es konnte keine Verbindung hergestellt werden." All FSMO Roles are already transferred to the samba4 DCs. Replication worksfine according to MS Repl Viewer. Any hint, were to start the search for the problem? Regards, DIrk -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba