在访问创建用户主要活性异常:异常0000202B:RefErr:DSID-031007EF,数据0,1接入点" [延伸错误8235]异常、活性、接入点、错误

2023-09-08 12:19:34 作者:我只是等了不该等的人

我需要阅读的活动目录,搜索用户并创建用户的功能。

I need to read the Active Directory, search users and create user functionality.

我可以使用的DirectoryEntry在C#和域名是唯一的物理服务器。

I am able to use DirectoryEntry in C# and Domain is only physical server.

在我的生产环境,我有相同的域名两个物理域中的服务器。当我尝试搜索AD用户或创建,我得到了以下异常。

In my production environment, I have two physical domain servers with same domain name. When I try to search the AD user or create, I am getting the following exception.

例外:0000202B:RefErr:DSID-031007EF,数据0,1接入点[扩展错误8235]

Exception : "0000202B: RefErr: DSID-031007EF, data 0, 1 access points" [extended Error 8235]

请注意,我对域的域管理员权限,但我仍然有同样的问题。

Note that I have Domain Admin privileges on the domain but I'm still having the same issue.

推荐答案

0000202B:可能意味着错误的DN / searchbase像不正确的直流值等

0000202B: could mean wrong DN/searchbase like incorrect DC value etc.

 
精彩推荐