Skip to end of metadata
Go to start of metadata

Table of Contents

Introduction

Description

This connector implements the LDAPS protocol and it is used to connect the Sync-Server with every server that allows this communication protocol.

Managed Systems

This connector has been performed to connect to Active Directory system, it's a fork of our LDAP Connector with custom features.

For more information to check if your system may be synchronized with this connector you do not hesitate to contact us through our Contact form

Prerequisites

To enable LDAPS in your Active Directory, please read the following guide: SSL access to Active Directory.

It is needed a Active Directory user with full administrator access.

Download and install

This addon is located in the Connectors section and its name is Windows (including Active Directory).

For download and install the addon you could review our generic documentation about this process: Addons installation

Agent configuration

Basics

Generic parameters

After the installation of the addon, you may create and configure agent instances.

This addon has 5 available agents:

  • Customizable Active Directory (with triggers)
  • Customizable Active Directory (without SSL)
  • Active Directory Only Passwords
  • Remote Windows Host
  • Windows Server

To configure this Windows (including Active Directory) you could select "Customizable Active Directory (with triggers)" or "Customizable Active Directory (without SSL)" in the attribute "Type" of the generic parameters section in the agents page configuration.

For more information about how you may configure the generic parameters of the agent, see the following link: Agents configuration

Custom parameters

Below there are the specific parameters for this agent implementation (both types: "Customizable Active Directory (with triggers)" / "Customizable Active Directory (without SSL)")

  • Host name of the domain controler
  • Active Directory distingished name in X500 format. e.g.: dc=soffid,dc=local
  • Administrator principal name in X500 format, relative to A.D name. e.g.: cn=Administrator,cn=Users
  • Administrator password
ParameterDescription
HostnameHost name of the server
LDAP base DN
LDAP Base name
Principal name

User name in DN format, including base name if needed

PasswordPassword
Enable debugTwo options: [ Yes / No ]. When it is enabled more log traces are printed in the Synchronization Server log
Accepted certificates
Two options: [ Only trusted certificates / Any (insecure) ]
Follow referralsTwo options: [ Don't / Yes ]
Manage child domainsTwo options: [ No / Yes ]
Create OUs when neededTwo options: [ No / Yes ]

Attribute mapping

Active Directory connector could manage Users and Groups by using LDAPS protocol.

Properties

To enable it, add the following properties to each object mapping:

PropertyDescription
renameAD agent will always map account and group names to SAMAccount attribute. BaseDN and cn can be calculated based on user attributes. AD agent is able to move and rename AD objects. If you don't desire users or groups to be renamed or moved, a object property named "rename" with value "false" can be added to some object mappings.
searchBaseif you want reconcile process to search accounts on a directory subtree other than AD root, put a searchBase property with de relative tree to look for.

Attributes

You can map user, groups and role objects. Active Directory membership is automatically managed based on user and group mappings.

Any object mapping must have the following system attributes:

System attributeDescription
objectClassActive Directory object class. The following values mostly used and "user" and "group"
baseDnActive Directory container where user or group should be created. Its value should be absolute, containing Active Directory DC parts
relativeBaseDnActive Directory container where user or group should be created. Its value should be relative to Active Directory DC parts.
cnObject name

There is a bunch of AD special attributes that need some special treatment:

System attributeDescription
sAMAccontNameIs automatically be mapped. It is internally mapped to role name or account name, without further customization
accountExpres

Sets the last date (in nanoseconds since 1600) in which the account will be valid. A common mapping expression is:

if ( attributes {"expirationDate"} == null)

   return 9223372036854775807L;

else

   return attributes{"expirationDate"}.getTime() * 10000L + 116445528000000000L;

samAccountTypeCan be used to identify distribution lists. A value of 268435457 or 268435456 means the AD group is a distribution list group rather than a security group.
lastLogon

Attribute can be used to get the last time an account was used. Soffid attribute is named lastLogin and a right mapping could be the following one. Mind when you make a reference to lastLogon attribute, each and every domain controller is queried about this attribute, as its value is not replicated across AD controllers:


if ( lastLogon == null || lastLogon == void) return null;
Long v = Long.decode(lastLogon);
v = v / 10000000L;
v-=11644473600L;
return new Date(v*1000);

=>

lastLogin

For more information about how you may configure attribute mapping, see the following link: Soffid Attribute Mapping Reference

 

For example:

Load triggers

Pending to be documented.

Account metadata

Pending to be documented.

Operational

Monitoring

After the agent configuration you could check in the monitoring page if the service is running in the Synchronization Server, please go to "Start Menu > Monitoring and reporting > System monitoring".

Tasks

Authoritative

If you are checked "Authorized identity source", an automatic task to load identities from the managed system to Soffid is available, please go to "Start Menu > Processes and Tasks > Manage automatic tasks", and you will something like "Import authoritative data from <AGENT_NAME>".

Reconcile

If your are configured the "Attribute Mapping" tab with some of our objects: "user, account, role, group or grant", an automatic task to synchronize these objects from the managed system to Soffid is available, please go to "Start Menu > Processes and Tasks > Manage automatic tasks", and you will something like "Reconcile all accounts from <AGENT_NAME>".

Synchronization

About the synchronization of the objects, there are two possible options:

  • If you are checked the generic attribute "Read Only" in the "Basics" tab, only the changes in the managed systems will be updated in Soffid. We recommend this options until the global configuration of Soffid will be tested.
  • If you are not checked the generic attribute "Read Only" in the "Basics" tab, all the changes in Soffid or the managed system will be updated in the other. Note that this synchronization must be configured in the "Attribute mapping" tab correctly.

 

  • No labels