LDAP连接一直出错
DirectoryEntry entry = new DirectoryEntry("LDAP://192.168.1.1:336/ou= 销售部,dc=EMS,dc=com", "zs", "pwdzs,,", AuthenticationTypes.None);
这种写法对么?连接串有没错误?
求各位大神指导
一直报错 + base {"登录失败: 未知的用户名或错误密码。\r\n"} System.Runtime.InteropServices.COMException {System.DirectoryServices.DirectoryServicesCOMException}
ExtendedErrorMessage "80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v23f0" string