Question
You are asked to provide a list of security groups a user is a member of. You write a script to pull the data
You are asked to provide a list of security groups a user is a member of. You write a script to pull the data from Active Directory but are left with the following Distinguished Names (DN). Write a Perl script to remove everything except the name of the security group. There are several ways to accomplish this HINT: Use index to find the location of the comma HINT: Use substr to extract the group name HINT: You could alsso use a combination of split and substr instead Sample input CN-DL.WG.UTO. EAS, OU=Trusted Groups, DN=ASURITE, , DN=ad.asu.edu CN=DL.ORG.UTO, DN=ASURITE, DN=ad.asu.edu CN=DL.WG.Staff. Poly, DN=ASURITE, DN=ad.asu.edu CN=Domain Users, DN=ASURITE, DN=ad.asu.edu Sample invocation and output %./myScript.pl domain_groups.txt DL.WG.UTO.EAS DL.ORG.UTO DL.WG.Staff. Poly Domain Users
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Statistics For Business And Economics
Authors: Paul Newbold, William Carlson, Betty Thorne
8th Edition
0132745658, 978-0132745659
Students also viewed these Computer Network questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App