In order to construct LDAP authentication,the Authentication key value needs to be updated with “LDAP” in the backendsettings file.
<Setting Value="LDAP" Key="AuthenticationModule"/>
In addition to this, the following values needs to be filled with the correct values.
<Setting Value="SERVER" Key="LDAPDomainName"/>
<Setting Value="389" Key="LDAPPortNumber"/>
<Setting Value="dc=server,dc=com" Key="LDAPBasedn"/>
<Setting Value="" Key="LDAPUsername"/>
<Setting Value="" Key="LDAPPassword"/>
Also, RoleMappingFile.xml needs to be created with the following content under C:\ProgramData\IDScan\IDScanEnterprise\
This content allows specified users who are member of the specified user groups, to be authenticated.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<RoleMapping xmlns:xsi="http://ww.w3.org/2001/XMLSchema-instance">
<RoleMappingItem>
<RoleName>IDScan Scan Users</RoleName>
<MappedRoleName>Scan User</MappedRoleName>
</RoleMappingItem>
<RoleMappingItem>
<RoleName>IDScan Scan Reviewer</RoleName>
<MappedRoleName>Scan Reviewer</MappedRoleName>
</RoleMappingItem>
<RoleMappingItem>
<RoleName>IDScan Setup Administration</RoleName>
<MappedRoleName>Setup Administrator</MappedRoleName>
</RoleMappingItem>
<RoleMappingItem>
<RoleName>IDScan System Administration</RoleName>
<MappedRoleName>System Administrator</MappedRoleName>
</RoleMappingItem>
<RoleMappingItem>
<RoleName>IDScan Report Users</RoleName>
<MappedRoleName>Report User</MappedRoleName>
</RoleMappingItem>
</RoleMapping>
RoleMapping file’s path should be indicated in web.config file like below:
add key="RoleMappingFilePath" value="C:\ProgramData\IDScan\IDScanEnterprise\RoleMappingFile.xml" />
IIS should be restarted after LDAP configuration.