Configure Active Directory integration

 Instructions

  1. Obtain the Active Directory server and a set of credentials to test.

  2. Connect to the Active Directory server using the tools attached to this article.

  3. Find the baseDn and the query for users in this baseDn.

  4. Fill the userNamePattern.

Example

one.erp.security.ldap.cfg

ldapUrl = ldap://172.16.1.2:389 userNamePattern = %1$s@intern.bucuresti-primaria.ro # Base distinguished name (the root for the search) baseDn = OU=_PMB,DC=intern,DC=bucuresti-primaria,DC=ro ####everything below should not be changed### ################################ # Security options for binding ################################ # none | simple securityAuthentication = simple referral = ignore ################################ # Query ################################ # The query query = (&(objectCategory=person)(objectClass=user)) ################################ # Mapping of users ################################ attributeUserId = SAMAccountName attributeUserName = cn ################################ # Not currently used attributes ################################ attributeBusinessUnitName = defaultBusinessUnitName = System attributeOrganizationName = defaultOrganizationName = ONE ERP

Query to extract users

ldapsearch -v -H ldap://172.16.1.2 -D 'PMB\one.software' -W -b 'OU=_PMB,DC=intern,DC=bucuresti-primaria,DC=ro' '(&(objectCategory=person)(objectClass=user))' -E pr=10000/noprompt

Required tools

  File Modified

ZIP Archive LdapAdminExe-w64-1.8.3.zip

Dec 18, 2022 by Iulian Stan