Limpieza de metadatos en dominios secundarios que no cuentan con controladores de domino

     Buenos días, tras el parón veraniego, me he encontrado con el siguiente caso: Durante las pruebas para generar un dominio secundario se había usado el nombre final que se deseaba otorgar a este, y al eliminar el dominio que se generó para las pruebas, no se hizo de la manera correcta y quedaron datos perdidos sobre la existencia de este dominio, en el dominio raíz.

     Esto produjo que al generar el domino secundario y ya que existían datos de este en los controladores del domino raíz, al que iba a pertenecer, nos dijese que el dominio que deseábamos crear ya existiese. Resumiendo teníamos un dominio que ya existía y el cual carecía de controladores, de manera que no podíamos generar el dominio de nuevo ni agregar controladores a este, ya que no contaba con ningún otro controlador sobre el que replicarse.

     Para el ejemplo voy a usar el dominio raíz Hades.local y sus dominios secundarios test.hades.local y Madrid.hades.local, siendo este último del cual queremos eliminar los metadatos para poder volver a generarlo desde cero.

     Este tipo de situaciones suele producirse porque durante la eliminación del domino secundario quedan metadatos sin limpiar en el domino raíz. Para limpiar estos metadatos deberemos proceder de la siguiente manera:

     Accederemos a la herramienta de línea de comandos ntdsutil, ejecutaremos metadata cleanup y listaremos el contexto:

ntdsutil: metadata cleanup

metadata cleanup: select operation target

select operation target: list naming context

Se han encontrado 9 nombres de contexto

      0 – CN=Configuration,DC=hades,DC=local

     1 – DC=hades,DC=local

     2 – CN=Schema,CN=Configuration,DC=hades,DC=local

     3 – DC=DomainDnsZones,DC=hades,DC=local

     4 – DC=ForestDnsZones,DC=hades,DC=local

     5 – DC=TEST,DC=hades,DC=local

      6 – DC=DomainDnsZones,DC=TEST,DC=hades,DC=local

     7 – DC=madrid,DC=hades,DC=local

     8 – DC=DomainDnsZones,DC=madrid,DC=hades,DC=local

     Podemos ver como las entradas 7 y 8 corresponden al domino que se había eliminado dejando metadatos presentes. A continuación seleccionamos la entrada correspondiente a la zona dns del dominio y la eliminamos:

select operation target: select naming context 8

No hay sitio actual

No hay dominio actual

No hay servidor actual

Contexto de nombres: DC=DomainDnsZones,DC=madrid,DC=hades,DC=local

select operation target: q

metadata cleanup: remove selected naming context

«DC=DomainDnsZones,DC=madrid,DC=hades,DC=local» quitado del servidor «DC-hades»

     Verificamos que ha desaparecido esa entrada:

metadata cleanup: select operation target

select operation target: list naming context

Se han encontrado 8 nombres de contexto

     0 – CN=Configuration,DC=hades,DC=local

     1 – DC=hades,DC=local

     2 – CN=Schema,CN=Configuration,DC=hades,DC=local

     3 – DC=DomainDnsZones,DC=hades,DC=local

     4 – DC=ForestDnsZones,DC=hades,DC=local

     5 – DC=TEST,DC=hades,DC=local

     6 – DC=DomainDnsZones,DC=TEST,DC=hades,DC=local

     7 – DC=madrid,DC=hades,DC=local

Y procedemos a eliminar la entrada restante:

     select operation target: select naming context 7

No hay sitio actual

No hay dominio actual

No hay servidor actual

Contexto de nombres: DC=madrid,DC=hades,DC=local

select operation target: q

metadata cleanup: remove selected naming context

«DC=madrid,DC=hades,DC=local» quitado del servidor «DC-hades»

     Verificamos la eliminación total de las entradas del dominio:

metadata cleanup: select operation target

select operation target: list naming context

Se han encontrado 7 nombres de contexto

     0 – CN=Configuration,DC=hades,DC=local

     1 – DC=hades,DC=local

     2 – CN=Schema,CN=Configuration,DC=hades,DC=local

     3 – DC=DomainDnsZones,DC=hades,DC=local

     4 – DC=ForestDnsZones,DC=hades,DC=local

     5 – DC=TEST,DC=hades,DC=local

     6 – DC=DomainDnsZones,DC=TEST,DC=hades,DC=local

     También podemos listar los dominios y ver que tampoco aparece ya en la lista:

select operation target: list domains

Se han encontrado 2 dominios

     0 – DC=hades,DC=local

     1 – DC=TEST,DC=hades,DC=local

     Espero os sea de utilidad la información y nos vemos pronto.

      Dar las gracias a mi compañero Felix Saenz-Lopez que ha colaborado para la publicación de este post.

78 comments

  1. Сможет ли человечество направить свое
    влечение к агрессии на путь культурного изменения, на путь самосовершенствования?
    Сейчас люди легко и быстро
    способны истребить друг друга.
    Отсюда – беспокойства, страхи, неврозы.
    Остается надеяться только на созидательную силу любви,
    на торжество неизменного Эроса.
    5 способов вернуть интерес к работе и увлечениям

  2. fayrouz dice:

    يمكن تنظيف الفراش بالطرق التالية ، اعتمادًا على نوع القماش. نظف قطعة قماش عادية بالماء والصابون. بالنسبة للأقمشة التي يمكن غسلها بهذه الطريقة ، يتم تنظيفها كما يلي: امزج ربع كوب من صابون الأطباق. يقلب المزيج جيدًا مع 1 كوب ماء دافئ. يتم وضعه على المفروشات عن طريق تقسيم الرغوة إلى أجزاء وفرك كل جزء بفرشاة ناعمة ونظيفة. أزل الماء الزائد وافركه بقطعة قماش مبللة. لاحظ أنه يجب غسل قطعة القماش عندما تتسخ. تنظيف المصنوعات الجلدية: بالنسبة للمفروشات الجلدية ، نوصي باستخدام الماء الدافئ وصابون الأطباق لعمل رغوة ، وفرك الجلد بفرشاة ناعمة ، والمسح بإسفنجة رطبة. أعد اللمعان وأعد اللمعان مرة أخرى. تنظيف الفينيل: يتم تنظيف أقمشة الفينيل بنفس طريقة تنظيف الجلد ، كما توجد منظفات تجارية خاصة مصممة لهذا الغرض ، ويمكن تنظيفها ، ولا ينصح باستخدام المنتجات الزيتية على الإطلاق. سيؤدي ذلك إلى تصلب قطعة القماش المصنوعة من الفينيل

    شركة تنظيف الكويت

  3. DerekDUP dice:

    free dating without registration: dating sim – best online meeting websites

  4. JimmyeLurn dice:

    average cost of prednisone 20 mg: http://prednisone1st.store/# where to buy prednisone in australia

  5. LarryAquap dice:

    where buy generic mobic tablets can you get cheap mobic price can i purchase cheap mobic for sale

  6. Claudeescax dice:

    amoxicillin online without prescription can you buy amoxicillin over the counter in canada – amoxicillin brand name

  7. Charlessmite dice:

    Read now.
    where to get generic mobic online: can i order cheap mobic without a prescription – cost cheap mobic online
    Top 100 Searched Drugs.

  8. Scottsow dice:

    amoxicillin 500 mg capsule amoxicillin order online no prescription – amoxicillin 500 mg without a prescription

  9. Samuelensut dice:

    https://cheapestedpills.com/# erectile dysfunction medications

  10. Claudeescax dice:

    ed pills for sale: the best ed pill – best drug for ed

  11. Darylkelty dice:

    amoxicillin cephalexin: http://amoxicillins.com/# amoxicillin for sale

  12. JamesFex dice:

    cheap erectile dysfunction pills online buy erection pills ed pill

  13. Scottsow dice:

    can i purchase cheap mobic price: rx mobic – can i get generic mobic prices

  14. Charlessmite dice:

    Get here.
    medication for ed: top ed drugs – new treatments for ed
    Get here.

  15. LarryAquap dice:

    cheap propecia no prescription cost of generic propecia without rx

  16. Claudeescax dice:

    prescription for amoxicillin buying amoxicillin online – cost of amoxicillin 30 capsules

  17. Samuelensut dice:

    generic amoxil 500 mg: http://amoxicillins.com/# generic amoxicillin over the counter

  18. Charlesitems dice:

    can i buy amoxicillin over the counter amoxicillin script – amoxicillin 500mg capsule cost

  19. Scottsow dice:

    cheap ed drugs: otc ed pills – ed drugs

  20. LarryAquap dice:

    can i purchase generic mobic tablets how to buy generic mobic pill cost cheap mobic online

  21. Charlessmite dice:

    drug information and news for professionals and consumers.
    propecia order get propecia without insurance
    Get information now.

  22. Scottsow dice:

    purchase amoxicillin 500 mg where to buy amoxicillin 500mg without prescription – amoxicillin 500mg prescription

  23. JamesFex dice:

    ed drug prices medication for ed ed medications

  24. FreddyMenda dice:

    mexican pharmaceuticals online: п»їbest mexican online pharmacies – reputable mexican pharmacies online

  25. Albertscund dice:

    canadian pharmacy uk delivery: canadian drug prices – rate canadian pharmacies

  26. RobertPar dice:

    https://mexpharmacy.sbs/# mexican online pharmacies prescription drugs

  27. Albertscund dice:

    canadian drugs online: canada drug pharmacy – canadian pharmacy 365

  28. Albertscund dice:

    mexican border pharmacies shipping to usa: mexican border pharmacies shipping to usa – purple pharmacy mexico price list

  29. Edwardfum dice:

    http://mexpharmacy.sbs/# mexico drug stores pharmacies

  30. Albertscund dice:

    best india pharmacy: best india pharmacy – top 10 online pharmacy in india

  31. FreddyMenda dice:

    mexico pharmacies prescription drugs: mexico drug stores pharmacies – mexican pharmaceuticals online

  32. RobertPar dice:

    https://mexpharmacy.sbs/# mexico pharmacies prescription drugs

  33. Albertscund dice:

    world pharmacy india: world pharmacy india – indian pharmacy paypal

  34. FreddyMenda dice:

    india pharmacy mail order: indian pharmacies safe – best online pharmacy india

  35. Albertscund dice:

    buy medicines online in india: indianpharmacy com – india pharmacy

  36. MichaelZib dice:

    zithromax 500mg over the counter zithromax online usa no prescription how to get zithromax online

  37. Lucasbiape dice:

    32 neurontin: medicine neurontin capsules – gabapentin generic

  38. Barryfapse dice:

    http://gabapentin.pro/# neurontin 800 mg price

  39. Lucasbiape dice:

    ivermectin 1 cream 45gm: ivermectin price – ivermectin oral 0 8

  40. MichaelZib dice:

    zithromax buy online zithromax 250 mg pill can you buy zithromax over the counter

  41. Lucasbiape dice:

    ivermectin lotion price: ivermectin 3mg tablets price – ivermectin 1 cream generic

  42. Barryfapse dice:

    http://gabapentin.pro/# buying neurontin without a prescription

  43. Lucasbiape dice:

    neurontin 300 mg price: neurontin prescription coupon – discount neurontin

  44. WilliamRef dice:

    the best ed pills: top erection pills – ed pills that work

  45. RobertMiday dice:

    men’s ed pills: drugs for ed – medication for ed dysfunction

  46. DavidNub dice:

    https://paxlovid.top/# Paxlovid over the counter

  47. WilliamRef dice:

    paxlovid generic: Paxlovid buy online – paxlovid price

  48. Georgegok dice:

    https://lisinopril.pro/# lisinopril without an rx

  49. Georgegok dice:

    https://ciprofloxacin.ink/# ciprofloxacin 500mg buy online

  50. ZacharyHit dice:

    canadian pharmacy 24h com safe canadian pharmacy no scripts certified canadian international pharmacy

  51. GeorgeCacle dice:

    mexican mail order pharmacies: mexican drugstore online – mexico pharmacies prescription drugs

  52. RobertSon dice:

    indian pharmacy paypal: reputable indian pharmacies – indian pharmacy paypal

  53. ZacharyHit dice:

    medicine in mexico pharmacies medication from mexico pharmacy buying prescription drugs in mexico online

  54. Franciskew dice:

    mexican drugstore online: mexican rx online – buying prescription drugs in mexico online

  55. DennisBiz dice:

    safe canadian pharmacies: canadian international pharmacy – best canadian pharmacy

  56. Rickeysmalt dice:

    farmacia online piГ№ conveniente: viagra generico – comprare farmaci online all’estero

  57. Billyfrush dice:

    http://edpharmacie.pro/# п»їpharmacie en ligne

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *