Automate Active Directory(Installation(Packer)+Provisioning(Vagrant))
Hi Readers, Here we will be looking into automation of ad deployment. This challenge is part of Auror Project initiative by Zscaler’s Sudarshan Pisupati 🙏
Prerequisites:
- Packer
- Vagrant
- Virtualbox/Vmware Workstation(i have used VirtualBox for demonstration)
- Curiosity/Laziness
The Challenge/Goal:
Let’s create two machines, Machine A and Machine B.
Machine A (Domain controller)-
- Machine A is the domain controller
- Domain Name is “auror.local”
- Has DNS role
- Create a user “Adam” with password “Pass@123”
Machine B-
- Machine B is the machine to join to domain auror.local
- Machine B should have Chrome installed
- User Adam is configured as an administrator
- Firewall should be off
- Machine A and Machine B must be in the same subnet.
For example:
Machine A : 10.0.0.9, Machine B: 10.0.0.19
Test Cases
- RDP into Machine B with user “Adam” should be successful
- From Machine B as user Adam, the command “net use \\auror.local” should result in command completed…