Skip to content Skip to sidebar Skip to footer

Intermittent Authentication Against Active Directory From Node

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: const expres

Solution 1:

The 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'.

Post a Comment for "Intermittent Authentication Against Active Directory From Node"