Authenticate to Multiple LDAP servers
The ability for a single installation of FileCloud to authenticate against multiple LDAP servers is available in FileCloud Server version 18.2 and later.
You can use an LDAP directory server as a general-purpose data store in a wide variety of applications.
- As a directory server (more technically referred to as a Directory Server Agent, a Directory System Agent, or a DSA) LDAP is a type of network database that stores information represented as trees of entries
- An LDAP server database is different from a relational database, which uses tables comprised of rows and columns
- LDAP is designed to provide extremely fast read/query performance for a large scale of dataset
- Typically you want to store only a small piece of information for each entry
- The add/delete/update performance for LDAP is relatively slower compared with read/query because the assumption is that you don’t want to update the data too often
Strictly speaking, LDAP is a protocol - the Lightweight Directory Access Protocol. It is not a database or even a directory.
- LDAP, the Lightweight Directory Access Protocol, is a well-supported standards-based mechanism for interacting with directory servers
- It’s often used for authentication and storing information about users, groups, and applications
- As a global directory service, LDAP was expected to hold hundreds of millions of entries and be managed by thousands of different organizations
- LDAP stores information in a tree structure known as the Directory Information Tree (DIT). The nodes in the tree are directory entries, and each entry contains information in attribute-value form
- An LDAP server is effectively a service model based on many cooperating servers known as DSAs (Directory System Agents)
- Queries are expected to outnumber updates by a very large factor
Enable multiple LDAP server authentication
To enable multiple LDAP server authentication, you have to configure settings in the following places:
- ldapconfig.php file
- Admin Dashboard
To enable multiple AD server authentication:
Open a browser and log in to the Admin Portal.
On the Admin Dashboard, from the left navigation panel, click Settings.
On the Manage Settings screen, click Authentication.
To enable the LDAP Settings, under Authentication Settings, change the Authentication Type to LDAP.
Select the LDAP sub-tab, type in the required information, and then click Save.
Create a file called ldapconfig.php in one of the following locations, depending on your OS:
Windows Location c:\xampp\htdocs\config\ldapconfig.php Linux Location /var/www/htdocs/config/ldapconfig.php
Add the information for the other LDAP servers using the following example. Do not add the same LDAP server detail that was already configured in Admin Dashboard.
Now additional users from these domains can also login into FileCloud.