我有一套成功搜索一个领域的剪辑,然而我们的客户说,它需要搜索全球目录。 这怎么容易? 这是否有意义?
What is the use of default keyword in C#? Is it introduced in C# 3.0 ?
我有一套成功搜索一个领域的剪辑,然而我们的客户说,它需要搜索全球目录。 这怎么容易? 这是否有意义?
对这一问题的回答很简单,我这样做的只是从......的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)。
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).
What is the use of default keyword in C#? Is it introduced in C# 3.0 ?
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. ...
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 ...
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 ...
I have two EF entities. One has a property called HouseNumber. The other has two properties, one called StartHouseNumber and one called EndHouseNumber. I want to create a many to many association ...
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, ...
Since I cannot order my dictionary, what is the best way of going about taking key value pairs and also maintaing an index?
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. ...