1
这是ConnectionString中正在使用我的web.config:服务器不能操作
<add key="GlobalAppStoreActiveDirectoryPath" value="GC://10.xxx.xx.xxx/DC=company,DC=com"/>
在我的认证页面代码:
using (var searchRoot = new DirectoryEntry(_path, domUserName, password))
{
try
{
using (var searcher = new DirectorySearcher(searchRoot))
{
searcher.Filter = "(SAMAccountName=" + username + ")";
searcher.PropertiesToLoad.Add("cn");
var result = searcher.FindOne();//---> am getting an exception here "server not operational"
的telnet
到Active Directory服务器正在 telnet 10.xxx.xx.xxx 3268
但是我没有得到认证.Plz在这方面的帮助