Skip to main content

Active Directory Connector

Active Directory Active Directory for LDAP (Lightweight Directory Access Protocol) is a protocol for accessing and managing directory information. This component provides tools for operations such as authentication, querying, and managing directory entries.

Library Reference

The component was built using the ldapts library.

Connections

LDAP

Authenticate using username and password

To connect to an Active Directory server, you must provide the following details:

  • URL: The Active Directory server URL (e.g., ldap://ldap.example.com).
  • DN: The Distinguished Name (DN) used to bind to the server (e.g., uid=example,dc=example,dc=com).
  • Password: The password associated with the DN.
  • Certificate (optional): A certificate for secure connections if required by the server.

Ensure these details are correctly configured in the connection settings to establish a successful connection.

InputCommentsDefault
URLThe LDAP server URL. Required when not using the on-prem connection.
DNThe Distinguished Name used to bind to the LDAP server.
PasswordThe password used to authenticate the DN.
CertificateThe certificate to use for the connection if required by the LDAP server.
Use on-prem LDAPSWhen true, uses LDAPS for the connection to the private LDAP server.false

Actions

Add Entry

Adds an entry in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
DN to AddThe DN of the entry to add.
Attributes to AddThe attributes to add to the entry. Must be a JSON object.

Add Group

Adds a group in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
Group DNThe DN of the group to add.
Group NameThe name of the group to add.
Group TypeThe type of group to add.
sAMAccountNameThe sAMAccountName of the group to add.

Add User

Adds a user in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
User DNThe DN of the user to add.
User NameThe name of the user to add.
sAMAccountNameThe sAMAccountName of the user to add.
User Principal NameThe user principal name of the user to add.
PasswordThe password of the user to add.

Add User to Group

Adds a user to a group in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
Group DNThe DN of the group to add the user to.
User DN to AddThe DN of the user to add to the group.

Bind

Tests binding to Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.

Delete Entry

Deletes an entry in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
DN to DeleteThe DN of the entry to delete.

Disable User Account

Disables a user account in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
User DNThe DN of the user to disable.

Extended Operation

Performs an extended operation in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
OIDThe OID of the extended operation to perform.
ValueThe value to send with the extended operation.

Is Authenticated

Check if the connection is authenticated.

InputCommentsDefault
ConnectionThe LDAP connection to use.

Move User to Organizational Unit

Moves a user to an organizational unit in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
OU User DNThe DN of the user to move.
New OU User DNThe new DN for the user.

Remove User From Group

Removes a user from a group in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
Group DNThe DN of the group to remove the user from.
User DN to RemoveThe DN of the user to remove from the group.

Rename Entry

Renames an entry in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
Entry to RenameThe DN of the entry to rename.
New Relative DNThe new relative DN for the entry.

Searches for entries in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
Search BaseThe base DN to start the search operation from.
ScopeThe scope of the search operation.sub
FilterThe filter to apply to the search operation.(objectClass=*)
AttributesThe attributes to retrieve from the search operation. Leave empty to retrieve all attributes.
Include ReferencesWhen true, includes references in the search results.false

Search Groups

Searches for groups in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
Additional AttributesAdditional attributes to include in the search results.

Search Users

Searches for users in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
Additional AttributesAdditional attributes to include in the search results.

Set Password to User

Sets a user password in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
User DNThe DN of the user to set the password for.
New PasswordThe new password for the user.

Update Entry

Updates an entry in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
Entry to UpdateThe DN of the entry to update.
ChangesThe changes to apply to the entry. Must be an array of operations.

Update User

Updates a user in Active Directory.

InputCommentsDefault
ConnectionThe LDAP connection to use.
User to UpdateThe DN of the user to update.
ChangesThe changes to apply to the user. Must be an array of operations.