Dhya S
Dhya S

Reputation: 143

Check Active Directory without password in Express js

I am using express js 4.1. I want to access the Active directory without user and admin credentials. I would simply wants to check username alone connected in the root domain. If the user exists in the domain, i will redirect my application to main page from login page. I have tried out with most of the npm's such that activedirectory, passport-windowsauth, passport-ldapauth

None of the above methods is working as they all requires credential details of either admin or user at some point. Please suggest me a good way to access active directory with username alone and npm absolutely suits my requirement.

Upvotes: 2

Views: 888

Answers (1)

T-Heron
T-Heron

Reputation: 5594

By default, Active Directory cannot be accessed anonymously. Such access as what you are looking for will not work, you must bind with full credentials, for every type of user authentication, whether it is with an individual, or some other known account.

Upvotes: 1

Related Questions