如何从孩子的直流修改AD对象的父域控制器? [英] How to modify AD object on Parent Domain Controller from child DC?

查看:144
本文介绍了如何从孩子的直流修改AD对象的父域控制器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有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.

我希望这有助于。

这篇关于如何从孩子的直流修改AD对象的父域控制器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆