Description
A user authenticated via external Active Directory can successfully log in to CTI, but cannot log in to PBX Report (/pbx-report). PBX Report returns 401 Unauthorized and the backend logs show PAM authentication failed ... exit status 49 (ldap_bind: Invalid credentials (49)), suggesting a bug/inconsistency in the reports authentication flow compared to CTI.
Steps to reproduce
- Configure NethVoice with an external AD/LDAP as authentication source.
- Ensure an AD user has “password never expires” and CTI access works.
- Ensure the related CTI profile grants CDR permissions.
- Open
https://host.example.com/pbx-report and attempt login with the same AD credentials used for CTI.
- Observe the login request to
POST /pbx-report-api/login.
Expected behavior
User can log in to PBX Report using the same credentials that work for CTI.
Actual behavior
PBX Report login fails with 401 Unauthorized and UI error incorrect Username or Password.
Browser console shows:
POST https://host.example.com/pbx-report-api/login 401 (Unauthorized)
{message: 'incorrect Username or Password'}
Server journal shows:
reports-api: PAM authentication failed for user firewall: exit status 49
reports-api: [GIN] ... | 401 | ... | POST "/login"
ldap_bind: Invalid credentials (49)
additional info: 80090308: LdapErr: DSID-0C090527, comment: AcceptSecurityContext error, data 52e, v4563
exit=49
Description
A user authenticated via external Active Directory can successfully log in to CTI, but cannot log in to PBX Report (
/pbx-report). PBX Report returns401 Unauthorizedand the backend logs showPAM authentication failed ... exit status 49(ldap_bind: Invalid credentials (49)), suggesting a bug/inconsistency in the reports authentication flow compared to CTI.Steps to reproduce
https://host.example.com/pbx-reportand attempt login with the same AD credentials used for CTI.POST /pbx-report-api/login.Expected behavior
User can log in to PBX Report using the same credentials that work for CTI.
Actual behavior
PBX Report login fails with
401 Unauthorizedand UI errorincorrect Username or Password.Browser console shows:
Server journal shows: