English 中文(简体)
如何寻找全球对话而不是域名主计长?
原标题:How to search AD Global Caalogue rather than Domain Controller?

我有一套成功搜索一个领域的剪辑,然而我们的客户说,它需要搜索全球目录。 这怎么容易? 这是否有意义?

最佳回答

对这一问题的回答很简单,我这样做的只是从......的ur改。

GC://<url> to LDAP://<ur>
问题回答

AD Global Catalog(GC)可以是任何域名主计长(通常全部由他们担任),并且每隔几分钟对所有域名控制员进行积极目录的改动。 然而,在反倾销方面有一些环境没有复制,只能在这个特定领域控制器上找到,因此往往需要寻找所有领域控制人员的价值,然后才提出。

因此,回答你最有可能从事良好工作的问题(无法肯定地说没有源码),询问一个领域控制员,这正是你的客户要求你做的事。 但是,你可能需要增加选择,以扫描其他域名控制器,以获取更多信息(如果我记得每个域名控制器所储存但并未复制的物品,用户可采用最后记录)。

除非有更多东西,否则你会告诉我们:

Firs of all Global Catalog is a Directory. Programaticaly, it can be queried exactly in the same way as Active-Directory.

你们只得找到GCs压力和港口。 可轻易做到这一点,询问服务领域(SRV)条目下的用户域名目录<_gcp.DNSDomain。 这些条目将给你国家安全局的要员和在场的全球质子的港口(一般为3268)。

enter image description here

Here is the Nslookup example :

> set type=srv
> _gc._tcp.societe.fr
Serveur :  srventr2.societe.fr
Address:  192.168.183.138

_gc._tcp.societe.fr     SRV service location:
          priority       = 0
          weight         = 100
          port           = 3268
          svr hostname   = srventr2.societe.fr
srventr2.societe.fr     internet address = 192.168.183.138

After that, you can search the Global Catalog exactly in the same way as a normal directory. As you can read in comments it s only interresting if you ve got multiple domains in your forest. This is because all the objects of all domains of the forest can be found in the GC, but be carefull for each object all the attributes are not present (as specified in the SCHEMA).





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签