[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

OU Syntax in AD scripting

Posted on 2006-05-12
2
Medium Priority
?
471 Views
Last Modified: 2010-04-17
Hi,

I have a script that changes the rights on the property sets on a user.  The script works well but I do not know how to have it applied on an OU that is not at the root level.

Here's the code line I need to edit

Set objSdUtil = GetObject("LDAP://OU=testou,DC=company,DC=com")

All I need to know is the proper syntax to apply this script on an OU (users) that is in the following structure:

domain.com->city->groups->users


thanks!


0
Comment
Question by:inf2300
2 Comments
 
LVL 6

Accepted Solution

by:
tone28 earned 1000 total points
ID: 16674299
Can you elaborate on what rights you are changing on "the property sets".

For example what property sets? Are you delegating rights for users to specific OU's?

In domain.com->city->groups->users is the following correct?

OU=users,OU=groups,OU=city,DC=domain,DC=com

Thanks,

Tone
0
 

Author Comment

by:inf2300
ID: 16677692
Thanks Tone!  It works!  I was just entering my OU fields in the wrong order.

I'm trying to give a member of the users group the right to change phone numbers, addresses and other details in active directory on a specific OU.    




0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

829 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