473,473 Members | 2,255 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Cross LDAP Domain search - how do I do it?

dln
Hello all. Our organization has multiple domains, all of which are part of
the same forest. Using the DirectorySearcher class, how would I specify a
search root that would allow the AD search to span all the domains in the
same forest when looking for a specific user or group (search the global
catalog)? Is this possible or do I need to perform a separate search for
each domain?

Thanks.
Nov 16 '05 #1
2 5171
dln
Figured it out - need to do a query against the global catalog server.
Thanks anyway.

"dln" <dn**********@hotmail.com> wrote in message
news:eB**************@TK2MSFTNGP14.phx.gbl...
Hello all. Our organization has multiple domains, all of which are part
of the same forest. Using the DirectorySearcher class, how would I
specify a search root that would allow the AD search to span all the
domains in the same forest when looking for a specific user or group
(search the global catalog)? Is this possible or do I need to perform a
separate search for each domain?

Thanks.

Nov 16 '05 #2
dln
Figured it out - need to do a query against the global catalog server.
Thanks anyway.

"dln" <dn**********@hotmail.com> wrote in message
news:eB**************@TK2MSFTNGP14.phx.gbl...
Hello all. Our organization has multiple domains, all of which are part
of the same forest. Using the DirectorySearcher class, how would I
specify a search root that would allow the AD search to span all the
domains in the same forest when looking for a specific user or group
(search the global catalog)? Is this possible or do I need to perform a
separate search for each domain?

Thanks.

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Amar | last post by:
I am trying to connect to my college LDAP directory using ASP.NET. This LDap does not have security as it returns only user demographic information. i do not need to bind with a username or...
2
by: Chandy | last post by:
Hi, I have found some sample code for accessing active directory using the LDAP provider to check a user's credentials. The sample looks good but I do not understand the point of two lines. ...
0
by: dln | last post by:
Hello all. Our organization has multiple domains, all of which are part of the same forest. Using the DirectorySearcher class, how would I specify a search root that would allow the AD search to...
2
by: CodeRazor | last post by:
I am trying to create an LDAP connection. I have managed to connect to "LDAP://myServerName" I now want to connect further down the directory tree, to a particular user group. I have tried...
3
by: mrwoopey | last post by:
Hi, I am using the example "Authenticate against the Active Directory by Using Forms Authentication and Visual Basic .NET": http://support.microsoft.com/default.aspx?scid=KB;EN-US;326340 ...
3
by: Dennis Dobslaf | last post by:
I try to do some authentication with LDAP. But it's a bit different to the sample in msdn. I wrote a class LdapAuthentication with a method public bool IsAuthenticated(String domain, String...
1
by: Dave | last post by:
Could someone fix this for me please. The last bit i cant figure out is the last line in the sub. Results.SetDataBinding(myTable.DefaultView, "") Thanks Dave ...
2
by: rufpirat | last post by:
Hello I'm in the middle of trying to build an "AD phone book", and this being my first try at asp.net, I have a few questions that I hope some of you might be able to help with: 1. Is it...
6
by: hotani | last post by:
I am attempting to pull info from an LDAP server (Active Directory), but cannot specify an OU. In other words, I need to search users in all OU's, not a specific one. Here is what works: con...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.