passport-activedirectory | Active Directory strategy for passport.js | Authentication library
kandi X-RAY | passport-activedirectory Summary
kandi X-RAY | passport-activedirectory Summary
Active Directory strategy for passport.js
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Strategy constructor .
- Strategy constructor .
- Extract the user name from a request header .
passport-activedirectory Key Features
passport-activedirectory Examples and Code Snippets
Community Discussions
Trending Discussions on passport-activedirectory
QUESTION
I'm trying to build a website where employees at my company can enter their Windows Domain credentials to log in. I am running an Express backend that looks like this:
...ANSWER
Answered 2020-Jun-26 at 18:17The issue was that I was connecting to 'LDAP://internal.mycompany.com'
, when I should have been connecting to 'LDAP://LOGON_M0103.internal.mycompany.com'
. Apparently that's the name of the actual domain controller.
For anyone else that has this issue, I found the answer by using AD Explorer and looking at the root of the connection, where it said the domain controller's name in square brackets. Also, there's an entry OU=Domain Controllers
, and that has CN=LOGON_M0103
within it inside the AD.
I'm still puzzled by why it was even working at all with just 'LDAP://internal.mycompany.com'
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install passport-activedirectory
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page