2011-02-23 114 views
1

我有問題,我不能連接(和讀取)在Windows XP下的活動目錄。 香港專業教育學院tryed到目前爲止,這些解決方案在Windows XP計算機上閱讀Active Directory

http://www.codeproject.com/KB/IP/StorerActiveDirectory.aspx

http://linqtoad.codeplex.com

我需要讀取當前用戶的組。

非常感謝!

問候 丹尼斯

+0

當您嘗試連接到AD時會出現什麼錯誤?哪個服務器版本(Windows 2008,Windows 2003等)託管域名? – 2011-02-23 18:22:12

+0

服務器是Windows Server 2008 R2的 我得到的異常... System.Runtime.InteropServices.COMException(0x8007203A):服務器是不是 操作 在System.DirectoryServices.DirectoryEntry.Bind(布爾throwIfFail ) 在System.DirectoryServices.DirectoryEntry.Bind() 在System.DirectoryServices.DirectoryEntry.get_AdsObject() 在System.DirectoryServices.DirectorySearcher.FindAll(布爾 findMoreThanOne) 在System.DirectoryServices.DirectorySearcher.FindOne () – dknaack 2011-02-23 18:38:40

回答

0

指向TCP/IP V4到Active Directory服務器的DNS解決了這個問題。

相關問題