Link to home
Start Free TrialLog in
Avatar of manojjohnchacko
manojjohnchacko

asked on

Connect to LDAP server and authenticate users for an ASP WebPage using vb

Hi, I currently created an ASP webpage using VB. I want to authenticate the users of this webpage from an LDAP server, I am actually new to the LDAP enviornment, in the previos webpages i created i just had to validate users from oracle itelf. could you guys guide me through an easier process of doing this validation. Any help in this matter would be very helpful, thank you.

Manoj
Avatar of lunadl
lunadl
Flag of United States of America image

Are you on a windows network? If so you can change the properties in IIS to disallow anonymous access and change the security settings to Integrated Windows Authentication. Doing this will allow you to access the clients Logon User name and other AD information. If you want it to work in Firefox there will have to be some adjustments to the about:config settings to add your site as a trusted network.
Avatar of manojjohnchacko
manojjohnchacko

ASKER

yes i work on a windows network right now i am using my laptop for the IIS enviornment(windows XP)  but in the mean time i am also configuring a windows 2003 server, which will be the final location.

My company has a LDAP server with all the users  but their individual machines(Laptop/Desktops) does not prompt logon in to the particular domain, its all their own personal user accounts. So when ever they open my web page I want it to prompt username and password and they all have a company username and password, i want them to enter it and i want validate it from the LDAP server
Right, but they will already be authenticated on their machine and have the session information stored if you chose to use Integrated Windows authentication. But, if you would like to prompt the user for the login information anyway, an alternative is to use a security setting is IIS called 'Basic Authentication'. It does not encrypt the user/pass, but hopefully that shouldn't be an issue since it is internal. You would also have to disallow anonymous access I beleive. It will ask you to provide default domains for your authentication. You should fill in both 'blanks' it provides with your domain name so users will only have to type usrnm instead of usrnm@domain.com or DOMAIN\usrnm.
I actually got it  fixed. I didn't want to buy the LDAP services softwares and all. But after trying different things stumbled into the answer
Well what was the solution?
ASKER CERTIFIED SOLUTION
Avatar of manojjohnchacko
manojjohnchacko

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