Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8531819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:34:23+00:00 2026-06-11T09:34:23+00:00

I have an issue with my website authentication. I’m building an website that needs

  • 0

I have an issue with my website authentication.

I’m building an website that needs to use the same single sign on as an intranet site.

My idea was to use windows authentication on the website to get the user credentials and then use LDAP to authenticate them against our client’s Domain controller.
The website in question is hosted on a server outside the client’s domain.
I’ve tried using the ActiveDirectoryMembershipProvider but i cannot get it to work with integrated authentication.

My issue is that my i cannot get windows authentication to use LDAP as a membership provider. At the moment, windows authentication gets the user credentials, tries to authenticate them against users on the computer and fails as the web server is not on the domain. I want to get the credentials and send them using LDAP to a domain controller that will authenticate them.

Is there a way i can do integrated authentication using and LDAP connection for authentication?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T09:34:25+00:00Added an answer on June 11, 2026 at 9:34 am

    Updated

    If your website is Hosted on the Server outside the Client’s Domain then you can not get the User Authenticated.

    Because when you send the Credential to the Hosted Server there is a Location object in the Domain Server, and it will try to find that specified User first locally where you have hosted your website and then to the Doamin Server that have been specified in location(though we can also set the priority)

    If it doesn’t found any user locally then

    After that it will Send request to the Domain Server with those Credentials.

    In your case First it will not found that Domain Server name in the location object to which you want it to communicate with.

    For ex:

     PrincipalContext pr = new PrincipalContext(ContextType.Domain, "corp.local", "dc=corp,dc=local", username, password);
    

    Here Corp.Local is the Domain name which is in my Location object and Username and Password of that user which have administrative rights for Edit/Update/Delete any user in Domain server.

    So the whole process goes again and when the specified Domain Server is found in the Location object then it will make communication with that Domain and generate a TOKEN

    The Only Solution for your case is that you need to replicate all your user from Client Server to your Domain Server or else you need to make TRUST between two domain servers.

    Hope this is what you are looking for.!!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web application set up on our intranet that uses windows authentication
We have an instance of IIS6 running an intranet website with Windows Authentication and
I have a MVC3 website that uses forms authentication, and I wanted to know
I have an ASP.NET web site set up to use windows authentication (not sure
I have issue with a strange url request to my site.. that may come
I have several performance issue in my website. I'm using asp.net mvc 2 and
I have an issue. We have a website, where person can login and make
I have a somehow funny issue. While trying to understand why a certain website
Here is my issue. I have an ASPX web site and I have code
I have this issue: I have WebSite with asp.net pages. http://desiis:90/WebSite1 In this webSite,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.