Skip to content

It is not possible to use a custom ldap authentication logic #10689

@SinergiaCRM

Description

@SinergiaCRM

Issue

It is not possible to use a custom version of the modules/Users/authentication/LDAPAuthenticate/LDAPAuthenticateUser.php file to allow custom logic in user authentication.

Possible Fix

Allow use custom/modules/Users/authentication/LDAPAuthenticate/LDAPAuthenticateUser.php if exists.

Steps to Reproduce the Issue

1. Create `custom/modules/Users/authentication/LDAPAuthenticate/LDAPAuthenticateUser.php`  file with modified authentication logic.
2. Attempt to authenticate a user using the custom logic. 
3. Observe that the custom logic is not applied.

Context

We need to implement custom authentication logic for ours SuiteCRM instances, specifically related to how users are authenticated via LDAP. The current setup does not allow for a straightforward way to modify the LDAPAuthenticateUser.php file without directly altering the core system, which is undesirable for maintainability and upgrade paths.

Version

7.14.6

What browser are you currently using?

Chrome

Browser Version

Chrome versión 131.0.6778.139 (Build oficial) (64 bits)

Environment Information

MySQL, PHP Version 7.4

Operating System and Version

Kubuntu 22.04.4 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:ImportantIssues & PRs that are important; broken functions, errors - there are workaroundsSeverity: ModerateKey function failed, but no or little impactStatus:Fix ProposedA issue that has a PR related to it that provides a possible resolutionType: BugBugs within the core SuiteCRM codebase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions