473,382 Members | 1,377 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,382 software developers and data experts.

LDAP Connection

Hi!

How to connect to LDAP Server using ASP.NET and VB.NET

Thanks,
Baren
Jun 9 '06 #1
3 1469
"Baren" <Ba***@discussions.microsoft.com> wrote in message
news:0A**********************************@microsof t.com...
How to connect to LDAP Server using ASP.NET and VB.NET


1) Launch your Internet browser (e.g. IE, FireFox, Netscape, Opera etc)

2) Navigate to http://www.google.com

3) Enter the text below in the box:

"VB.NET" LDAP

4) Hit the button
Jun 9 '06 #2
Too right!

Forums are here to help, not do the work!.

Chris

"Mark Rae" <ma**@markN-O-S-P-A-M.co.uk> wrote in message
news:uq*************@TK2MSFTNGP05.phx.gbl...
"Baren" <Ba***@discussions.microsoft.com> wrote in message
news:0A**********************************@microsof t.com...
How to connect to LDAP Server using ASP.NET and VB.NET


1) Launch your Internet browser (e.g. IE, FireFox, Netscape, Opera etc)

2) Navigate to http://www.google.com

3) Enter the text below in the box:

"VB.NET" LDAP

4) Hit the button

Jun 9 '06 #3
You could spend a day or two trying to find on Google what you want to do
with LDAP. Do you have a specific action you are trying to do? I use C# but
check out the DirectoryServices API in .net. This is simply to connect and
search for a particluar person:

DirectoryEntry entry = new
DirectoryEntry("LDAP://YOURDOMAIN/OU",AdminUserName,AdminPassword,AuthenticationType s.Secure);
DirectorySearcher search = new DirectorySearcher(entry);
search.Filter = "(objectCategory=user)(sAMAccountName=UserName )";
foreach (SearchResult result in search.FindAll())
Console.WriteLine(result.DirectoryEntry.Path);
entry.Close();

"Baren" wrote:
Hi!

How to connect to LDAP Server using ASP.NET and VB.NET

Thanks,
Baren

Jun 9 '06 #4

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

Similar topics

0
by: Luca Bighi | last post by:
I try to use ldap-star-tls to connect to a win2003 domain controller and browse AD. $ds = ldap_connect("ldap://$ad_server/") ,"389"); // Connect to an LDAP server echo $debug?"<BR>LDAP...
5
by: Bryan | last post by:
Hello, I have a asp.net app working with directory services on my Windows XP development machine. However when I moved the application over to our production server (Win 2000 Server) it no longer...
1
by: LDAP Connection stays open | last post by:
Howzit. I am currenlty using .NET C# to connect to the normal eDirectory tree to auth users. My code is 3 lines long, using the Novell LDAP/C# API examples. The code work 100% and the users...
4
by: Terry Miller | last post by:
I have DB2 V8.2 loaded on a Redhat Enterprise Linux version 3 (RHEL 3) box. RHEL is configured to talk to LDAP for authenticaton besides the local passwd file. I can verify this by executing an su...
0
by: sbartz | last post by:
Greetings, My ldap application relies on user input for a ldap server uri, so I am looking for a way to use the ldap api to determine whether the ldap server is up or not. All the docs have to...
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: 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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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.