Solved

How do I grant rights using dsacls

Posted on 2010-09-22
1
953 Views
Last Modified: 2012-05-10
This is the command I am using and the results.

C:\>dsacls cn={965545B4-2D20-4904-8E6A-B7878777CCE9},cn=policies,cn=system,dc=domain_name,dc=com /G "domain_name\Domain Admins"
The specified domain either does not exist or could not be contacted.

The command failed to complete successfully.

The domain_name is where I put our domain name however I keep getting the results specified domain either does not exist or could not be contacted.

I can ping my domain name.

Any ideas.
0
Comment
Question by:clearcap
1 Comment
 
LVL 31

Accepted Solution

by:
DrUltima earned 500 total points
ID: 33735847
Make sure you are using the right domain name.  When you look at ADUC, you will see at the root level your DC server name.  Under that you will see "Saved Queries" and your FQDN.  Your command must include what that has.  Let's say, for example, that your domain is mycompany.local.  Your command would be:

C:\>dsacls cn={965545B4-2D20-4904-8E6A-B7878777CCE9},cn=policies,cn=system,dc=mycompany,dc=local /G "domain_name\Domain Admins"

You can actually get EXACTLY what need to be there if you look at the Attribute Tab under the setting "distinguishedName".  The bolded "domain_name" above is actually the "Pre Windows 2000" name, and stored under the value "name" in the same attribute tab.

Justin
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Installing a printer using group policy preferences is not that hard let’s take a look at it. First lets open up your group policy console and edit the policy you want to add it to. I recommend creating a new policy for each printer makes it a l…
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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 …

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now