You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Introduction

This wiki page shows all the steps needed to configure an external LDAP resource identified by the following connection parameters:

*Server host: localhost
*Server port: 1389
*Principal: cn=Directory Manager
*Credentials: password
*Root suffix: o=isp

In order to link an external LDAP resource there are pre-requisites and configuration steps to be satisfied.

Pre-Requisites

  1. Install ConnId LDAP connector bundle

Configuration steps

  1. Configure LDAP connector instance
  2. Configure LDAP resource

Configure LDAP connector instance

Please, take a look at all configurable parameters at LDAP Connector Configuration and use this page as reference to provide your configuration.

  1. Open your browser and access to the Syncope administration console (http://host:port/syncope-console).
  2. Log into the interface by providing the following credentials:
  3. :Login: admin!Ldap_2.png|thumbnail,width=200px!;
  4. :Password: password.
  5. Click on the Resources tab.
  6. Click on the Connectors sub-tab.
  7. Click on Create new Connector button (configuration modal page appears).
  8. Click on tab General.
  9. :Provide Display name (e.g. 'Ldap demo connector') and the correct Bundle name (org.connid.bundles.ldap.${version}).
  10. Click on tab Configurations and provide connector instance configuration.
    #:Principal: cn=Directory Manager
    #:Password: password
    #:Host: localhost
    #:TCP Port: 1389
    #:Account Object Classes: top person organizationalPerson inetOrgPerson
    #:Password Attribute: userPassword
    #:LDAP Filter for Retrieving Accounts: uid=*
    #:Change Number Attribute: changeNumber
    #:Uid Attribute: uid
    #:Base Contexts: o=isp
    #:Account User Name Attributes : uid
    #:Change Log Block Size: 100
  11. Click on tab Capabilities.
  12. Check needed capabilities as shown at Connector instance configuration.
  13. Click on Save button.

Configure LDAP resource



  1. Click on the Resources tab.
  2. Click on the Resources sub-tab.
  3. Click on Create new Resource button (configuration modal page appears).
  4. Click on Resource Details tab.
  5. Choose from the list the correct Connector instance name.
  6. Provide the following information
  7. :Name: Ldap demo
  8. :Connector: Ldap demo connector
  9. Click on Schema Mappings tab.
  10. Click on Add button to insert attributes mapping.
  11. Provide Account Link: 'uid=' + username + ',o=isp'
  12. Click on Save button.
Schema mapping

Internal mapping types

Internal mapping

External Attributes

Mandatory condition

Account Id

Password

Username

 

 

true

X

 

Password

 

 

true

 

X

UserSchema

surname

sn

true

 

 

UserSchema

firstname

cn

true

 

 

DISPLAYTITLE:Configure LDAP Resource

  • No labels