Skip to main content

Phone directory (LDAP) error codes (mpbx-ldap-dir)

Raised when the server starts the read-only LDAP directory that desk phones search. Phones never see these codes: they get standard LDAP result codes (below). Guide: Phone directory (LDAP).

CodeHTTPMeaningWhat to do
MPBX-LDAP-LISTEN-The LDAPS or plain LDAP listener could not be bound (port in use, no permission for a port below 1024). The server keeps running without the directory.Free the port or set ldap.listen_tls / ldap.listen_plain to another address.
MPBX-LDAP-CONFIG-The [ldap] section is unusable (a limit of 0, the same address for both listeners).Fix the value named in the message.

LDAP result codes the directory answers with​

ResultWhen
0 success
2 protocolErrorA malformed request, an unsupported extended operation, StartTLS (use the LDAPS port), a paging cookie of another search.
4 sizeLimitExceededMore entries match than the phone's or the server's size limit lets through: the phone shows the first ones.
7 authMethodNotSupportedSASL bind.
13 confidentialityRequiredA valid credential on the plain LDAP port of a company that does not allow plain LDAP.
32 noSuchObjectThe search base is not the company's base DN.
48 inappropriateAuthenticationAnonymous bind.
49 invalidCredentialsUnknown bind DN, wrong password, revoked phone, directory switched off, or too many failed binds from the address.
50 insufficientAccessRightsA search before a successful bind.
51 busyThe phone searched too often (rate limit).
52 unavailableThe database cannot be read right now.
53 unwillingToPerformWrites, compares, and a bind with a DN but no password.