Link to home
Start Free TrialLog in
Avatar of PJan8724
PJan8724

asked on

Vb.Net LDAP Authentication for Windows App

Hey All,

Just looking for some ideas in general and perhaps some code too.  I'm developing a windows app (exe) for my company that is going to track hardware upgrades and so on just to give you a general idea of what the application is going to be used for.  I'm going to use VB.net 2k3 for the front end and SQL Server 2k5 for the back end.  

Anyway, rather the create user tables and seperate logins and passwords for everyone that will be using the application I'd like to use LDAP to handle user logins for my application.  So I'm looking for some ideas or some code that will allow me to use LDAP for the User/Client logins for my applications.  Does anyone have any ideas on how I can go about coding my application to use LDAP.  I'm fairly good with Vb.net in general I just haven't had a need to code anything using LDAP until now so I'm not sure where to begin.  Any help that you can provide in the matter would be greatly apprecaited.

Thanks,

Pete J.
ASKER CERTIFIED SOLUTION
Avatar of frodoman
frodoman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PJan8724
PJan8724

ASKER

Frodoman,

Thanks for the help, I have to play with it a little bit more before I award the points.  I started playing with it but the code or my application threw an exception error and I need to figure out what caused it.  

Thanks,

Pete J
Hi guys,

I tired the same code but it didnt work for me!! so can you send me the part of your code from which you called the isAuthenticatd method? so i can check where i'm making the error. And further i dont understand how the following method work
 Public Sub New(ByVal path As String)
            _path = path
        End Sub

it will be a real help if you can help me out!!

thanks,

ananmanan