removing a orphaned child domain in w2003 Active Directory / ldap_delete_ext_sW error 0x42
-
Wednesday, July 28, 2010 4:00 PM
Recieving the folowing error using ntdsutil.exe
first ran:
http://support.microsoft.com/kb/230306
than rec'd
metadata cleanup: remove selected domain
DsRemoveDsDomainW error 0x2015(The directory service can perform the requested o
peration only on a leaf object.)than ran:
http://support.microsoft.com/kb/887424/
here though, I get:
domain management: delete nc dc=Tulsa,DC=Corp,DC=Mon,dc=com
ldap_delete_ext_sW error 0x42(66 (Not allowed on Non-leaf).
Ldap extended error message is 00002015: UpdErr: DSID-03100B8E, problem 6003 (CA
NT_ON_NON_LEAF), data 0
Win32 error returned is 0x2015(The directory service can perform the requested o
peration only on a leaf object.)
)
domain management:Can't find help on this error anywhere. Any suggestions? From what I can tell the problem in the ADSI Edit is the configuration CN=Partitions, but when i try to remove that in the gui it gives me:
"The Directory service can perform the requested operation only on a leaf object"In AD Sites and Services the site is not listed, but in my AD Domains it still is.
All Replies
-
Wednesday, July 28, 2010 4:32 PM
Verify that the domain you are trying to remove does not host any application partitions (in particular, DomainDNSZones). This can be done via ntdsutil (domain management context). If so, delete those first
hth
Marcin -
Wednesday, July 28, 2010 5:07 PM
this is a good suggestion... it's appears there is...how can I purge it out, I get the following error:
domain management: list
Note: Directory partition names with International/Unicode characters will only
display correctly if appropriate fonts and language support are loaded
Found 21 Naming Context(s)
0 - CN=Configuration,DC=Corp,DC=Mon,DC=com
9 - DC=Tulsa,DC=Corp,DC=Mon,DC=com
10 - DC=DomainDnsZones,DC=Tulsa,DC=Corp,DC=Mon,DC=com
11 - DC=TMP,DC=Corp,DC=Mon,DC=com
domain management: delete nc dc=tulsa,dc=corp,dc=mon,dc=com
ldap_delete_ext_sW error 0x42(66 (Not allowed on Non-leaf).
Ldap extended error message is 00002015: UpdErr: DSID-03100B8E, problem 6003 (CA
NT_ON_NON_LEAF), data 0
Win32 error returned is 0x2015(The directory service can perform the requested o
peration only on a leaf object.)
)
domain management:domain management: delete nc dc=tulsa,dc=corp,dc=mon,dc=com
ldap_delete_ext_sW error 0x42(66 (Not allowed on Non-leaf).
Ldap extended error message is 00002015: UpdErr: DSID-03100B8E, problem 6003 (CA
NT_ON_NON_LEAF), data 0
Win32 error returned is 0x2015(The directory service can perform the requested o
peration only on a leaf object.)
)
domain management: -
Wednesday, July 28, 2010 5:13 PM
delete DC=DomainDnsZones,DC=Tulsa,DC=Corp,DC=Mon,DC=com first
hth
Marcin- Marked As Answer by jhaaga Wednesday, July 28, 2010 6:06 PM
-
Wednesday, July 28, 2010 6:06 PMyou are correct, thanks.
-
Wednesday, March 07, 2012 7:35 PM
delete DC=DomainDnsZones,DC=Tulsa,DC=Corp,DC=Mon,DC=com first
hth
MarcinThanks that helps especially if you are follow KB 887424 which does not tell you the syntax to delete the DomainDnsZones

