[Samba] Cannot remove offline domain

lingpanda101 lingpanda101 at gmail.com
Thu Jan 11 16:07:17 UTC 2018


On 1/11/2018 10:25 AM, Harsh Kukreja via samba wrote:
> Hi
>
> I am trying to remove a dead offline domain using the below command which
> is failing
>
> samba-tool domain demote --remove-other-dead-server=IUMONG-RODC
> -UAdministrator
> ERROR: Demote failed: DemoteException: IUMONG-RODC is not an AD DC in
> iumnet.edu.na
> A transaction is still active in ldb context [0x2bf15b0] on
> tdb:///var/lib/samba/private/sam.ldb
>
> IUMONG-RODC domain is still visible under domain controllers in Active
> Directory Users and Computers.
>
> Please help on how to remove all the records of this dead domain from the
> DC.
>
> Thanks n Regards
>
> *Harsh Kukreja *Systems Administrator
> *International University of Namibia *Tel: 061-4336000 - E-mail: h.kukreja
> @ium.edu.na - Web:
> *http://www.ium.edu.na <http://www.ium.edu.na/>*Private Bag
> 14005,Bachbrech. 21-31 Hercules Street, Dorado Park, Windhoek, NAMIBIA

What version of Samba are you running? There have been improvements to 
removing an offline DC in recent versions.

-- 
--
James




More information about the samba mailing list