次のコードを使用してADユーザーを検証しています
string strLDAP = "LDAP://dc=ADServerIP/cn=Users,DC=Domain;
DirectoryEntry entry = new DirectoryEntry(strLDAP, usr, pwd);
object nativeObject = entry.NativeObject;
return true;
実行時に次の例外が発生します
object nativeObject = entry.NativeObject;
System.Runtime.InteropServices.COMException (0x80005000):
System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
での不明なエラー (0x80005000) System.DirectoryServices.DirectoryEntry.Bind()
で System.DirectoryServices.DirectoryEntry.get_NativeObject()
同じコードが別の AD サーバーで機能しています。問題は何ですか?