Re: Accessing ActiveDirectory through LDAP with .NET

From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 12/22/04

  • Next message: mostro: "Bypassing a session ID?"
    Date: Wed, 22 Dec 2004 08:08:19 -0600
    
    

    On Tue, 21 Dec 2004 17:16:52 -0600, "Tim Mavers" <webview@hotmail.com> wrote:

    ¤ I am trying to determine the best way I can authenticate against an
    ¤ ActiveDirectory using LDAP with .NET. I need to use LDAP because I need to
    ¤ authenticate across the Internet.
    ¤
    ¤ Right now I have code that authenticates (e.g. I pass username/password to
    ¤ it) via NTLM but the problem is I am accessing this via a domain user
    ¤ account that has access to the domain controller (e.g. it's the account that
    ¤ IIS is running under).
    ¤
    ¤ Obviously this doesn't work over the Internet and the only temporary
    ¤ solution is for my client to set up a VPN and have a trust relationship,
    ¤ which is really not something they want to do.
    ¤
    ¤ I read somewhere (brief blurb) that I could access this information via
    ¤ LDAP.
    ¤
    ¤ Essentially I am building sort of a single-sign on application where the
    ¤ user enters their name/password in my app and it is authenticated against an
    ¤ ActiveDirectory instance.
    ¤
    ¤ Any ideas on how I can do this in a secure manner over the Internet without
    ¤ the need for a VPN?

    It isn't clear to me what type of application this is but you may want to take a look at the
    following:

    HOW TO: Authenticate against the Active Directory by Using Forms Authentication and Visual Basic
    .NET
    http://support.microsoft.com/default.aspx?scid=kb;en-us;326340

    Paul ~~~ pclement@ameritech.net
    Microsoft MVP (Visual Basic)


  • Next message: mostro: "Bypassing a session ID?"

    Relevant Pages

    • Re: ipfw plus authentication (authpf is cool but....)
      ... their ipaddress, mac address, workstation os, etc. in our ldap directory. ... gain network access is indeed belongs to that user. ... router first before being allowed to access any server. ... user will authenticate to a web based login form which is tied up ...
      (freebsd-questions)
    • Re: Trouble Authenticating users from trusted domains
      ... For the internal referrals, ... We have a new ERP system that can either authenticate with it's own user ... If you specify an LDAP server, ... >> login as a user from the child domain, ...
      (microsoft.public.win2000.active_directory)
    • RE: Cant authenticate to LDAP domain with Redhat9
      ... it is more used by the authconfig ... sure you can reach your ldap server with ldapsearch, ... Cant authenticate to LDAP domain with Redhat9 ...
      (RedHat)
    • Re: Anonymous LDAP Access Problem
      ... Check the ADSI ... I need to authenticate using LDAP and I still am having some problems. ... which works when that is a domain account, but does not when that account ...
      (microsoft.public.windows.server.active_directory)
    • Re: Accessing ActiveDirectory through LDAP with .NET
      ... ActiveDirectory using LDAP via LDAP's credentials vs using Microsoft's ... authenticate against it, I would need to include some sort of credentials ...
      (microsoft.public.dotnet.framework.aspnet.security)