Set up LDAP user authentication
Administration permission required: Configuration
Phocas authentication is the default security model, with users and passwords stored in the Phocas system. However, you can configure LDAP (Lightweight Directory Access Protocol) authentication as the user authentication mechanism. This method only authenticates a user's username and password; permissions are stored in Phocas.
Access LDAP configuration
Click the Phocas menu button > Administration > Configuration, then click the Connections tab.
Configure the LDAP
The following configuration options are available in the LDAP window:
Username and Password: Username and password to connect to the LDAP server.
Group: LDAP users can be members of one or more LDAP Groups.
A group name can be entered to limit the number of LDAP usernames retrieved.
Alternatively, a valid LDAP filter can be entered, beginning with a left bracket ‘(‘.
If an LDAP filter is not entered, the following filter will automatically be applied to limit the number of usernames retrieved: (objectClass=user)(objectCategory=person).
Groups can be used with or without LDAP organizational units (OUs).
Domain: Should be left blank, as it is added to LDAP usernames at login.
Connection string: String to store the server, port, domain and, where required, the organization unit where the users are stored.
Test the LDAP configuration
Click the Test button below the settings to test the current LDAP configuration. If the connection is successful, a list of retrieved usernames displays.
If the connection is unsuccessful, a Connection Failed message displays, with an explanation of the problem.
Deal with server changes
From time to time, server changes might affect LDAP access. This can easily be addressed by updating IP addresses in your firewall, which can be obtained from your Phocas Support Team.
Combine LDAP and non-LDAP users
When LDAP is enabled, all new users are assumed to be LDAP accounts, but the system does allow a mixed approach.
In the user maintenance form, there is a checkbox under the Username box, which is selected for new users by default. If you clear this checkbox, the user will be authenticated by Phocas instead.