freescout-helpdesk / freescout

FreeScout — Free self-hosted help desk & shared mailbox (Zendesk / Help Scout alternative)

Home Page:https://freescout.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LDAP configuration with AD OK, But none can login.

innov2e opened this issue · comments

PHP version: 7.4.30
FreeScout version: 1.8.122
Database: MySQL
Are you using CloudFlare: No

I am configuring the LDAP Module with Active Directory and the successful steps are:

  • I can bind the Active Directory fine with the Connect and Fetch Attributes button
  • I can fetch attributes from AD and assign them to Freescout fields in this way:
    Email -> email
    First Name -> givenname
    Last Name -> sn
    Job Title -> description
    Phone Number -> telephon number
  • I can import users from AD using the memberOf into the DNs and Filters field.
    The Imported users are the right one with the right attributes read from the AD Group.
    Then I have set the LDAP Authentication switch ON

BUT None of imported users can login into Freescout.
Into Users log I found an entry Failed login for each login attempt from which I get These credentials do not match our records. even if the user is present and correctly imported.

I found nothing into the logs, do you ave any suggestion about how debug this issues?

UPDATE: If, as admin, I start the reset password for an imported user, he receives the mail and is able to chenge password, BUT this becamew handled as LOCAL user. When he successful login with the new password no LDAP authentication is daon, but it is authenticaed as a LOCAL user.

If I use ldapsearch from command line I can connect and query orrectly the AD.

Anyone has some hints about how debug it?

What what drives me crazy is that before updating Freescout all was working fine....