Updating the Security Module to Support the New LDAP

Updating the Security Module to Support the New LDAP

LDAP is a widely used protocol for user management and authentication in corporate networks. It allows applications to connect to a centralized directory with Active Directory to validate credentials and obtain user information.

In version 9.12, Scriptcase now includes the LdapRecord library, bringing significant improvements in integration with LDAP servers. This new library expands access control capabilities, allowing for more comprehensive management of users and groups within Scriptcase.

Below is a comparison of the features of adLDAP and LdapRecord, which is now available in the tool:

AspectadLDAP - OldLdapRecord - New Library
ArchitectureOlder and less flexible implementation.Modern framework with support for Active Directory, OpenLDAP, and 389 Directory Server.
Data RetrievalLimitations in obtaining all attributes of users and groups.Allows retrieving all user data and detailed group information directly from the LDAP directory.
Integration with FrameworksLimited integration with modern frameworks.Includes robust integration with modern frameworks, facilitating PHP application development with LDAP authentication.
Maintenance and UpdatesLess active in terms of updates and support.Actively maintained, offering continuous improvements and up-to-date support.

Enabling the LdapRecord Library in the Project

Info
This step is only necessary for older projects. For new projects (in installations with an active upgrade), the LdapRecord library is already enabled.

In existing Scriptcase projects created in earlier releases of the tool, it will be necessary to define the use of the library in the project properties. Follow the steps below:

1. Access the project where you want to update the LDAP security module.


2. Within the project, go to Project → Properties.

3. In "Ldap Library", select the LdapRecord library and Save.

Creating the Security Module with LDAP

1. Go to Modules → Security:


2. Choose the type of LDAP security to be used:


3. Select the connection you used in the old LDAP and click Next:

4. In General, define a name for the applications of the new module:


5. In LDAP, enter your server information:


6. In Insert data, enter the login information and click Connection Test. If successful, click Generate Security:


7. The Save Profile tab is optional. Click OK:

Conclusion

With version 9.12, Scriptcase introduced support for the LdapRecord library as a new feature for integration with LDAP servers. This implementation offers greater compatibility, better performance, and the ability to retrieve all user and group data, providing more comprehensive authentication control.

The adLDAP library remains available for users without an active upgrade, ensuring compatibility with previous implementations. If you have access rights, to take advantage of the benefits of LdapRecord, you need to enable the new library, which can be set globally in Administration > Options or specifically for existing projects in Project Properties.

With this update, LDAP authentication in Scriptcase becomes more robust, secure, and prepared for corporate environments that require greater flexibility in access management.

    • Related Articles

    • Updating the Security Module to Support Google Login

      With the replacement of the NCP protocol with the ARPANET TCP/IP protocol, the internet gained space to evolve constantly. As more people joined the internet, things needed to happen faster, making the evolution process almost exponential: the faster ...
    • Update of the security module synchronization application

      In order to improve security in our projects, we made several changes to the application files. One of these changes affected a crucial file that tells applications how to sync. To ensure that the synchronization continues to work correctly, we made ...
    • Security module password recovery error

      To fix the error during the security module password recovery process, you need to follow the steps below: Only available when using the option to email the change new password link. 1- Access the application app_change_pswd By default, when ...
    • Upgrading the Security Module: how to migrate from the old to the new

      Web application attacks are constantly evolving. With data being such a valuable asset, it is crucial to keep system security updated to avoid losses. The new security module, besides being extremely flexible and intuitive, implements several ...
    • How to create a simple LDAP Database on Linux

      Creating a simple LDAP Database on Linux. Installing and configuring slapd We are going to use OpenLDAP(slapd) to build a LDAP database accessible for the security module WITHOUT simulating an Active Directory. This tutorial will create an LDAP ...