Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 31st, 2003, 07:14 AM
Registered User
 
Join Date: Jul 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default LDAP Authentication Problem

Dear All,
    I am a novice ASP programmer. I am currently developing a web based application which requires LDAP authentication.
    The people here in the organization do not know any thing about LDAP. They are using Windows 2000 Advanced Server and all LDAP configurations have been made by third party vendors.
    Now they are reluctant to allow me to sit on the server to check the configurations. So considering the server to be a black box, is there any way I can query the LDAP service.

    My objective is as follows:
        Username, Password will be provided on a html form.
        I will need to verify whether he is a valid user of the system.
        I do not need to bother about access grants/privileges etc.
        I may need to obtain the corresponding mail - id of the user.

    I would appreciate if any body could supply me a code for running in ASP 3.0 and just extracting the return values.
    I am using a m/c with Windows 2000 Professional , IIS 5.0.

    I know the IP address of the LDAP server only.

    Thanks in Advance
                    Ayan
 
Old August 8th, 2003, 06:03 AM
Registered User
 
Join Date: Jul 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear All,
           I thank u for ur kind co-operation with respect to this problem.
           I am happy to announce that the problem is solved successfully.
           Any one may mail me any queries regarding this topic.

                                              Regards
                                                          Zicaden




 
Old February 16th, 2005, 09:18 AM
Registered User
 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am also facing the same problem

I dont know what happens in LDAP.

What I have to do is when a user wants to login first time we have to send a cookie to LDAP by redirecting to another login page

There on that page user will enter username and password and if that is correct then another cookie will be sent with uid

We are unable to get that proper value (I am getting very long string here)

Can You please help on this

Thank You

 
Old October 31st, 2005, 12:28 AM
Registered User
 
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am looking for te same solution. Could you send me an example of your solution. I am looking for a ASP page where the user enters their userid and password and the is authenticated with LDAP and allows the user to login to the web site. Thanks in advance.

 
Old January 14th, 2007, 01:41 PM
Registered User
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Zicaden

I need a solution for a similar LDAP authentication situation classic ASP. Please send me the information.

Thanks
 
Old January 14th, 2007, 03:36 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Start by researching it, if you get a code base you are having problems with i will help you.

Here is a good place to start.

http://www.google.com/search?hl=en&q=asp+-+LDAP

-----------------------------------------------------------
I will only tell you how to do it, not do it for you.------------
Unless, of course, you want to hire me to do work for you.---
^^Thats my signature--------------------------------------
-----------------------------------------------------------
http://www.catb.org/~esr/faqs/smart-questions.html -------
^^Took that from planoie's profile--------------------------
-----------------------------------------------------------
 
Old January 14th, 2007, 06:23 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

zicaden
Great news that you have solved your problem. To keep this forum a wealth of problems and solutions may I ask you to post your solution for others?

I have an LDAP binding task coming up this week (2003 Exchange), this is new to me. Im sure your code may assist me in addition to others in the future.

Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP Authentication -- Need Help avinashraj General .NET 1 May 25th, 2006 12:13 AM
Help Using LDAP user authentication in ASP page dreamzentrue Classic ASP Basics 0 November 11th, 2005 01:33 PM
LDAP and Relative Path problem Dmitriy Pro VB 6 0 July 21st, 2003 12:45 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.