[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1536
  • Last Modified:

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
0
manojjohnchacko
Asked:
manojjohnchacko
  • 3
  • 3
1 Solution
 
lunadlCommented:
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.
0
 
manojjohnchackoAuthor Commented:
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
0
 
lunadlCommented:
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.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
manojjohnchackoAuthor Commented:
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
0
 
lunadlCommented:
Well what was the solution?
0
 
manojjohnchackoAuthor Commented:
it was a weird solution I had to validate the username using authentication.anonymous first as authentication. none or ssl was giving me errors and then one username was validated and I incorporate the user name in to the path and then using the new path validated again using authentication.none and it worked
http://forums.asp.net/p/360332/838998.aspx
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now