Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VBASP.NET
hello everyone,
 
what are the pre-requisite to connect a "asp.net website using vb" with ldap?
 
Some Details :
 
domain name: esnlab.local, IP : 192.168.60.146
 
Users :Total ten(10) users are there like : abhijit,amit,bitan,chinmoy,lalit,nivesh,vinod,vikash1,poulomi,santanu.
 
Password: "admin@123" for all
 
what will be the code please suggest me ?
 
Is there anyone who will provide me the exact code.....If there any more details required then please ask me or post it here. But please help regarding this matter. I am eager to see the solutions.......plz...plz...
Posted 26-Nov-12 2:14am
Edited 4-Dec-12 18:51pm
v2
Comments
ryanb31 at 26-Nov-12 8:45am
   
You'll want to look into the DirectoryServices namespace. http://msdn.microsoft.com/en-us/library/system.directoryservices.directoryentry.aspx
Abhijit Dan at 26-Nov-12 10:42am
   
hey Tim, Could you please provide me the code by which I can connect my website with Active Directory using LDAP.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You will need to do some work on this, since most examples are in C# but they convert quite easily to VB.NET using a converter. Here are a couple I found:
 
http://stackoverflow.com/questions/9812199/adding-users-to-ad-using-ldap[^]
Howto: (Almost) Everything In Active Directory via C#[^]
 
These will get you started working with LDAP in your code. They both show methods for accessing, reading, and updating Active Directory using LDAP.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Shai Vashdi 576
1 OriginalGriff 183
2 Tadit Dash 150
3 Peter Leow 140
4 Sergey Alexandrovich Kryukov 121
0 Sergey Alexandrovich Kryukov 9,280
1 OriginalGriff 5,473
2 Peter Leow 4,100
3 Maciej Los 3,540
4 Abhinav S 3,333


Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 5 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid