Simflofy offers both LDAP Authentication and LDAP Sync for standard LDAP Servers as well as Microsoft Active Directory
Setting up LDAP Authentication and Sync
In order to update LDAP properties, look in
Active Directory authentication has different requirements, found here.
When using LDAP or AD for authentication the default admin user will not be available. Be sure to have role mappings configured.
|The full url of your LDAP instance, including domain information|
|The base search name for individuals users|
|The filter used to find users, based on their login|
|The base search criteria for groups|
|The filter used to search for users within a group|
The values can be comma delimited to map multiple groups to a role. Spaces are allowed
Simflofy Admin Roles
These values will be converted to the format"ROLE_(AUTHORITY)", which is the standard format for an authority.
These values are checked when authenticating to assign a role to a new user.
auth.ldap.adminGroupName=exampleAdmins will become
If an authority passed to the user mapper by the LDAP server does not begin with ROLE_, Simflofy will prepend it. Additionally, all authorities are converted to uppercase.
Map LDAP group to Simflofy Administrators
Map LDAP group to Simflofy Read-Only Users
These two properties should reflect the name of the groups in your directory server.
Additionally, you can set what attribute fields are checked to map users from your LDAP. Here are the properties and their defaults.
|Required. The field that will become the user's login||uid|
|The user's first name||displayName|
|The user's last name||sn|
|The user's email address|
Group and User Sync
If you have groups and users you wish to automatically sync to Simflofy you can use the following configurations. They are set to their default values here
LDAP Sync is executed at startup and can be manually triggered or individual users or groups.
This feature will only work if your LDAP groups contain the keys to their users.
|The distinguished named of the authenticating user. Used if your LDAP requires authentication|
|The password for the authenticating user, if needed|
|Map groups as startup|
|Map users with their groups. Only occurs if mapping groups.|
|The name attribute of the ldap group. Will become the name of the user group, with "ldap:" prepended|
|The attribute on the group used to denote a member. Will be used to gather user ids.|
|The class of object to search for when looking for a group.|
|The class of object to search for when looking for a user|
|The id attribute for a user, which should represent their login name|
|The attribute which represents the full distinguished named of the user, including domain and group.|
|Map groups that have no users.|
|A comma delimited list of group names to skip mapping Ex. (Group1,Group2,...)|
Re-syncing a user
LDAP users are marked as such in the database. In the Admin)Users page you will see the sync icon available next to LDAP users.
Simflofy does not support mapping the same groups to different roles and vice versa
Re-syncing a Group
Groups can be re-synced by editing them in the Admin > User Groups page.
Active Directory (3.1.1+)
Simflofy can also use Active Directory for authentication. In order to do so the following fields are required:
|Let's Simflofy know it's connecting to Active Directory|
|Your AD Domain|
|Your ldap url with port. Do not include any domain information|
|Will become the user's login. The example value is the default field for Active Directory.|
|Active Directory always requires authentication to connect. Be sure the authenticating user has the authority to search|
|The authenticating user's password|
The user does not need to supply the
@domain during authentication
Active Directory Sync(3.1.1+)
In order to use the sync feature with Active Directory, the following fields must be populated. Their values for the default Active Directory configuration are included.
LDAP Sync Order of operations
Search objectClass = auth.ldap.map.groups.class
Return group list by mapping names using auth.ldap.map.groups.name.attribute
Then, for each group name,
Check if a user group by that name exists. We add the ldap: prefix for sync groups.
Search for the group by name.
Extract a list of a members from the group using auth.ldap.map.groups.member.attribute
Search the ldap for that user with auth.ldap.map.user.name.attribute
Extract that user's uid using the auth.ldap.map.user.id.attribute
Add id to list of users
If mapping users, search for the user's authorities using their id.
Map the user to the Simflofy database using the mapping attributes above.
Set the new user list on the group, and save.