Questions tagged [active-directory]

Active Directory, known as AD, was developed by Microsoft as a distributed directory service. It acts as a centralized database for storing all information and configurations related to a deployment. With AD, administrators have the ability to manage policies, distribute software updates, and deploy applications across the network. The size of AD networks can range from small setups with minimal devices and users to large-scale environments with tens of thousands of users, multiple network domains, and extensive server farms spread out across various geographical locations.

Resetting passwords in Node.js using ldapjs without the need for the current password

Is there a way to reset an active directory password in Node.js without knowing the current password? Currently, I am using the following 2 libraries: https://www.npmjs.com/package/activedirectory The code snippet below works perfectly for resetting pas ...

Securing a Node.js server with Azure AD OAuth 2.0

I recently developed a server in node.js and successfully deployed it to Azure WebApp. Now, I am looking to implement service-to-service authentication using Azure AD OAuth similar to this example. I have previously configured this on another WebApi serv ...

Experiencing difficulties when verifying credentials against the active directory using PHP LDAP

While working on a basic login form in html/php 1.6 to authenticate against active directory 2012r2, I encountered an issue where sometimes when I try to login, I receive the following error during the execution of ldap_search in php: (without making any c ...

Using Node.js to retrieve a user's group memberships with NTLM authentication

I am currently utilizing express-ntlm for domain controller authentication, which is working smoothly. However, I now need to access the group details of the authenticated user, with authorization limited to a specific group. I have come across some examp ...

Encountering an authentication issue in Active Directory while using Express.js

I've encountered a unique issue while using the activedirectory module for user authentication with AD. While most users authenticate without any problems, users within a specific OU are constantly facing authentication failures. Below is the code snippet ...

Dealing with 401 Unauthorized error and CORS issues in Angular POST requests to a .NET Core Web Api

My front-end and back-end projects are separate, using Angular for the front-end and .NET Core WEB Api for the back-end. I have successfully set up CORS and windows AD authentication. While GET calls work fine, I am experiencing issues with POST requests. ...

Is it possible to verify credentials across multiple sources such as a database, Active Directory, and

While I have been using my own authentication and authorization code with Symfony2 as a framework, I recently decided to explore Symfony's security system. Following the tutorial on their website, I successfully set up login using my database. However, no ...

Is it feasible to implement Single Sign-On for a NodeJs application using NTLM-LDAP integration?

I am faced with the challenge of setting up Single Sign On for my Node application within an Active Directory Domain Network. Both the application and the clients trying to access it are on the same network, which should simplify the process. While I hav ...

Show a list of Active Directory groups that a user is a part of, including all nested memberships

This script I have checks for access in AD and verifies membership within a specific group. I am looking to list all groups that a user has access to, including indirect ones. For example - if userA is in groupA and groupA is in groupB, I want it to show ...

What steps are needed to authenticate to Azure AD using NodeJS?

Currently, I am utilizing the activedirectory package from npm (https://www.npmjs.com/package/activedirectory). For reference, you can view an example from activedirectory here. I am having trouble determining the URL. I attempted it with my default Azure ...