Solved

Problem with ADPrep RODCPrep

Posted on 2009-04-09
4
4,888 Views
Last Modified: 2012-05-06
ADPrep RODCPrep gets an error:
-----
Adprep could not contact a replica for partition DC=DomainDnsZones,DC=Domain,DC=com.
Adprep encountered an LDAP error.
Error code: 0x0. Server extended error code: 0x0, Server error message: (null).
Adprep failed the operation on partition DC=DomainDnsZones,DC=Domain,DC=com. Skipping to n
ext partition.
-----
Oringinally the fsmoRoleOwner in:
cn=Infrastructure,dc=domaindnszones,dc=domain,dc=com was pointing to a deleted server.  

I used NTDSutil to check the replicas for the partition ...
NTDSUtil
domain management
connections
connect to server DcName
quit
list nc replicas "dc=DomainDnsZones,DC=Domain,DC=com"

Then I set the fsmoRoleOwner to a server in the list as follows:
(cut and pasted from the NtDSUtil output).
CN=NTDS Settings,CN=servername,CN=Servers,CN=sitename,CN=Sites,CN=Configuration,DC=rootdomain,DC=local

The above has not corrected the problem.
I looked at the partition with ADSIedit on the DC I pointed it to and it looks valid.

The error is:
Adprep could not contact a replica for partition DC=DomainDnsZones,DC=Domain,DC=com.
Adprep encountered an LDAP error.
Error code: 0x0. Server extended error code: 0x0, Server error message: (null).

Anyone have any ideas what to look at next???
0
Comment
Question by:brhahne
  • 2
4 Comments
 
LVL 15

Assisted Solution

by:zelron22
zelron22 earned 25 total points
ID: 24108779
Run a DCDIAG and see if anything errors out.
Is the machine you're running it on pointing to an AD aware DNS server?
How many DC's do you have?

Try running it directly on the schema master.
0
 
LVL 57

Assisted Solution

by:Mike Kline
Mike Kline earned 25 total points
ID: 24108793
Have you seen this TechNet article

http://support.microsoft.com/kb/949257

Did you run a  metadata cleanup on that old deleted server?
Thanks
Mike
0
 

Accepted Solution

by:
brhahne earned 0 total points
ID: 24109598
The server was demoted properly and does not show up in the metadata.

yes I have seen kb article 949257 but since we have a lot of DCs I decided to set it manually.  I did comment the script to see where it would have set the fsmoRoleOwner though.

I had initially set the fsmoRoleOwner to a Windows 2008 DC but changed it to a Windows 2003 DC.  After doing that the RODCPrep completed successfully on the DomainDNSZones partition.

Now I just have to do the ForestDNSZones partition...  All the rest of them have already succeeded.
0
 

Author Comment

by:brhahne
ID: 24163285
ForestDNSZones worked as well.  All issues resolved.
0

Featured Post

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question