question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a way to configure multiple Ldap servers?

I’m thinking that the Startup could look something like below. .AddLdapUsers<ActiveDirectoryAppUser>(Configuration.GetSection("activeDirectory1"), UserStore.InMemory).AddLdapUsers<ActiveDirectoryAppUser>(Configuration.GetSection("activeDirectory2"), UserStore.InMemory);

I’m not sure how to configure and specify which Active Directory server to connect, currently when I add multiple user stores it only searches the second addition.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:17 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
uchetfieldcommented, Nov 8, 2018

Thank you for all of the changes. I have created pull request #14 that allows the user to specify a domain without breaking changes.

0reactions
Nordescommented, Nov 10, 2018

@uchetfield : For info, the only problem I see with your solution is if we use the other flow in order to get a token (not by showing the login page). The domain is not part of the implementation in that case. So just be aware of that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Build a Multi-Server Environment
1. Install and Configure Servers. Install the servers that will make up your multi-server environment in a physical location. Once the servers ...
Read more >
6 Reasons Why You Should Start Using A Multi-Server ...
A multi-server environment allows you to have more services and connections, supports to keep the system in working condition because of ...
Read more >
Overview of multiple server architecture
When building a multiple server architecture, there are two main design choices. Several OS deployment servers connected to a single, centralized database.
Read more >
6 Amazing Benefits of Multi-Server Environment
The multi-server environment has become one of the most reliable and credible settings for effectively managing resources.
Read more >
System architecture - Multiple server configuration
In a multiple server configuration, a load balancer is used to distribute the load between the two identical installations. The administrator is responsible...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found