本文介绍了DirSync在Active Directory中搜索的首选项。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我们使用DirSync方法在Active Directory域控制器中进行IDirectory搜索。由于用户凭据没有管理权限,因此不会执行搜索。但是在DC的事件查看器中记录了复制错误。 为什么会这样?我们可以阻止记录事件吗? 搜索无法执行并且不想提供用户管理员凭据或复制目录更改权限。它是预定搜索的一部分,因此在事件查看器中导致大量错误日志。  解决方案 我不确定在尝试搜索操作时会记录什么错误,但如果由于权限不足而导致操作被取消而导致重复出错,则可能无法阻止此操作被记录。或者根据文章中提到的关于 -control"> 目录同步控件你可以使用不同的方法 使用USNchanged属性进行轮询更改。请检查您的建议方法是否适用于您的应用程序。此问题更适合Windows目录服务,我们会将其移至相同的位置。  希望信息有所帮助。如果信息有用,请将此标记为答案,以便对社区的其他成员有所帮助。  谢谢。  We are using the DirSync method for a IDirectory search in an Active Directory Domain Controller. Since the user credentials does not have administrative rights the search is not executed. But a replication error gets logged in the event viewer of the DC. Why is this happening? Can we prevent the event from being logged?We are fine with the search not being able to execute and do not want to give the user the admin credentials or replicating directory changes permission. It is part of a scheduled search and is hence causing a lot of error logs in the event viewer.  解决方案 I am not sure what error is logged whenever a search operation is attempted , but if you are getting the error repeatedly due to operation being cancelled because of insufficient rights , there may not be any way to stop this from getting logged. Alternatively as per the details mentioned in the article about Dirsync controls you can use a different method for polling changes using USNchanged attribute . Please check if your the suggested approach can be useful in your application. This question is more suited to windows Directory Services and we will move it to the same. Hope the information helps. In case the information is helpful , please mark this as answer so that it is helpful to other members of the community . Thank you .  这篇关于DirSync在Active Directory中搜索的首选项。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-31 00:49