473,383 Members | 1,922 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

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 5170
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.