Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
72:ldap_getting_started [2018/07/16 12:00] – created bkkr72:ldap_getting_started [2024/02/15 00:00] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 ====== Getting Started ====== ====== Getting Started ======
 +
 +The synchronization of the Stages user database with a LDAP directory is configured in a specific section of the config.xml file. The LDAP configuration is defined in the ldap-provider tag section.\\
 + The config.xml file can be found under: \\
 +'' <Stages folder>/stages/conf  ''
 +
 +The LDAP configuration example includes variables, they can be configured in:
 +
 +'' <Stages folder>/stages/conf/config.properties  '' \\
 +or\\
 +'' <Stages folder>/stages/conf/secret.properties  ''
 +
 +=== Basic Configuration ===
 +
 +<code>
 +<ldap
 + refreshIntervalMinutes="INTERVAL"
 + maximumDeletionPercentage="0">
 + <ldap-provider url="ldap://SERVER/DIRECTORY"
 + key="authenticationUsername">
 + <ldap-authentication
 + type="simple"
 + principal="%">
 + </ldap-authentication>
 + <ldap-attribute name="username" id="sAMAccountName"/>
 + <ldap-query-user name="QUERYUSER" credentials="PWD" />
 + </ldap-provider>
 +</ldap>
 +
 +</code>
 +
 +  * INTERVAL – synchronization interval in minutes
 +  * SERVER – hostname and port of the LDAP server
 +  * DIRECTORY – DN of the directory containing the user entres
 +  * QUERYUSER & PWD– DN and password of user to be used for queries