Jonis- Are you running this on the DC that you originally provisioned the domain on? If that is the case, this has been the behavior for several months now and I was never able to get to the bottom of it, nor able to demote/remove that original DC.
However, in my experience, the command works just fine on any non-original DCs. Is this the case for you? While certainly not ideal, having one old relic sit around in your directory probably isn't a deal breaker. Mike Ray ----- Original Message ----- From: "Jonis Maurin Ceará" <jmce...@gmail.com> To: samba@lists.samba.org Sent: Friday, July 26, 2013 8:45:29 AM Subject: [Samba] Error demoting Hi. I'm trying to demote my samba4, but i'm getting an error: [root@adteste bin]# ./samba-tool domain demote -U administrator ERROR: Current DC is still the owner of 2 role(s), use the role command to transfer roles to another DC The thing is that all roles are transfered to my another controller, as you can see (SERVER2): [root@adteste bin]# ./samba-tool fsmo show InfrastructureMasterRole owner: CN=NTDS Settings,CN=SERVER2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=fearp,DC=usp,DC=br RidAllocationMasterRole owner: CN=NTDS Settings,CN=SERVER2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=fearp,DC=usp,DC=br PdcEmulationMasterRole owner: CN=NTDS Settings,CN=SERVER2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=fearp,DC=usp,DC=br DomainNamingMasterRole owner: CN=NTDS Settings,CN=SERVER2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=fearp,DC=usp,DC=br SchemaMasterRole owner: CN=NTDS Settings,CN=SERVER2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=fearp,DC=usp,DC=br So, what's those 2 other roles and how can i change? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba