如何从孩子的直流修改AD对象的父域控制器?对象、域控制器、孩子、AD

由网友(成全╄→背叛)分享简介:我有1个域,其中有1父DC等为孩子DC,父母DC具有示例 - 欧1 Active Directory对象。我想用在孩子的直流运行的应用程序来改变这个OU对象的属性。这个应用程序是用C#。我使用的DirectoryEntry 类用于此目的。我能读OU对象的属性,但是当我试图修改它的价值,我得到的例外是拒绝访问。我可以设置...

我有1个域,其中有1父DC等为孩子DC,父母DC具有示例 - 欧1 Active Directory对象。我想用在孩子的直流运行的应用程序来改变这个OU对象的属性。这个应用程序是用C#。我使用的DirectoryEntry 类用于此目的。我能读OU对象的属性,但是当我试图修改它的价值,我得到的例外是拒绝访问。我可以设置相同的属性,当我运行父DC的应用程序。 我是否需要提供一些额外的许可?如果是的话,那该怎么办呢?

I have 1 domain in which there is 1 parent DC and other is child DC, parent DC has 1 Active directory object for example- OU. I want to change properties of this OU object by using an application running on child DC. This application is written in C#. I am using DirectoryEntry class for this purpose. I am able to read properties of OU object, but when I try to Modify its value,i am getting exception as "Access Denied". I can set same property when i run app on parent DC. Do I need to give some extra permission ? If yes, then how to do that ?

推荐答案

什么样的​​应用是关于什么的?

What kind of application is it about ?

我有这样的问题,设计用于Active Directory管理一个网站。 执行环境不允许管理AD为止。 因此,通过IIS,我们更改了默认帐户的本地系统。

I had this kind of issue with a website designed for active directory management. The execution environment was not allowed to manage AD so far. So, through IIS, we changed the default account to local system.

如果这是一个WinForm的应用程序,你的本地管理员应该是一个森林管理员或有关AD的管理员成员。

If it's a WinForm app, your local administrator should be a forest admin or an administrator member of the concerned AD.

我希望这有助于。

阅读全文

相关推荐

最新文章