[Step By Step] Configuring credential caching on an RODC in Windows Server 2008 R2
Hello friends! This time I bring you an article on how to configure credential caching on an RODC in Windows Server 2008 R2. I hope you find it useful! Objective The objective of this tutorial is to detail the steps and requirements needed
AI-assisted translation, approved by Mateo.
Objective
The objective of this tutorial is to detail the steps and requirements needed to allow credential caching on a Read Only Domain Controller.Scope
The scope of this tutorial is to detail the steps and requirements needed to allow credential caching on a Read Only Domain Controller in Windows Server 2008 R2 in a single-forest/single-domain environment.Introduction
In Active Directory Domain Services, RODCs have a read-only database that has one-way replication with writable domain controllers; that is, changes cannot be made from an RODC. This read-only database stores ALL Domain/forest objects except the passwords of users, computers, or service accounts, which does not allow users to authenticate through an RODC; it must redirect the query to a Full DC. To allow users to authenticate through the RODC without needing to go through a Writable Domain Controller, the password must be cached by configuring the Password Replication Policy (PRP). This tutorial details how to carry out this process.Scenario
- DCs
- PDC01 (Writable DC)
- PDC03 (RODC)
- Desktops
- W701-PC
- Test users
- Prueba1
- Prueba
Procedure to carry out
For a user to be able to log on to an RODC (without requiring a writable Domain Controller to be available), the following series of steps must be carried out:- Client computer network adapter configuration
- Adding the user and computer account to the Allowed RODC Password Replication Group
- Password pre-population.
Credential caching tests
Based on the detailed procedure to carry out, 2 tests are generated to verify the operation of credential caching. To execute these tests, the user Prueba1@madent.local was created, and a client computer named W701-PC was prepared where this user has not authenticated.Test 1
- The user Prueba1 and the W701-PC computer are added to the “Allowed RODC Password Replication Group”. This operation is carried out on a Writable Domain Controller.
- At the command line, the repadmin /syncall command is run
- The writable domain controller is shut down.
- The W701-PC computer is turned on
- An attempt is made to log on with the Prueba1 user on the W701-PC computer
- The following error is displayed.
Test 2
- The user Prueba1 and the W701-PC computer are added to the “Allowed RODC Password Replication Group”. This operation is carried out on a Writable Domain Controller.
- The password of the W701-PC computer account and the Prueba and Prueba1 accounts is pre-populated.
- We open the RODC properties
- Go to Password Replicaction Policy. Click Advanced.
- Click “Prepopulate Passwords…”
- A text box will open where we must add the W701-PC computer
- The wizard asks whether we want to send the passwords to the RODC
- The pre-population is completed.
- We carry out the same steps for the Prueba and Prueba1 accounts. Then we perform the pre-population (remember that the Prueba account was not added to the “Allowed RODC Password Replication Group” security group)
- An error is found while pre-populating the password for the Prueba account because it has not been added to the “Allowed RODC Password Replication Group”.
- The writable domain controller is shut down.
- The W701-PC computer is turned on
- An attempt is made to authenticate with the Prueba1 user on the W701-PC computer
- The test is verified as successful.
- The logonserver is verified as PDC03 (RODC)
Sources
http://technet.microsoft.com/en-us/library/cc772234(v=ws.10).aspx http://technet.microsoft.com/en-us/library/cc753459(WS.10).aspx http://technet.microsoft.com/en-us/library/cc730883(v=ws.10).aspx http://technet.microsoft.com/en-us/library/cc755310(v=ws.10).aspxThanks for reading. The learning continues in the next article.