LDAP

サーバーから紹介が返ってきました

何度見ても日本語がおかしいとしか思えんのだが。起こったときは↓参照 Windows Server 2012, Exchange advice. Help solving computer problems. PowerShell VBScript A referral was returned from the server

ドメインコンローラー内のオブジェクトを列挙

所属ドメコンで権限がある場合。 所属ドメコン内のオブジェクトを列挙。 参照設定:Com の「Active DS Type Library」と「System.DirectoryServices」が必要。 static void Main( string[] args ) { try { DirectoryEntry rootEntry = new DirectoryEntry( "…

識別子取得

LDAP+C# 参照設定:System.DirectoryServicesが必要。 DirectoryEntry directoryEntry = new DirectoryEntry( "LDAP://rootDSE" ); Console.WriteLine( directoryEntry.Properties["defaultNamingContext"].Value);LDAP+VBS Set objDomain = GetObject( "LDA…