5017 ERROR_DIRECTORY_UNAVAILABLE

20 views
Skip to first unread message

Anthony Poirrier

unread,
Dec 19, 2025, 11:32:00 AM12/19/25
to pwm-general
I have been trying to resolve this issue, i followed the installation instructions got to the config page added my accounts and the check status with filling in the accounts worked just find, however I run into this problem

PWM 5017

Directory unavailable. If this error occurs repeatedly please contact your help desk. { 5017 ERROR_DIRECTORY_UNAVAILABLE (unexpected error during ldap search (profile=default), error: 5017 ERROR_DIRECTORY_UNAVAILABLE (unable to reach ldap server)) }

Jason Rivard

unread,
Dec 27, 2025, 9:04:15 PM12/27/25
to pwm-general
It's unusual the config check passed but you get this error during a search, it's probably due to a more advanced setting this configured (unbalanced parenthesis in filters being most common).  Try setting the log level to debug or trace and you will find the root cause of the error in the server logs.

Anthony Poirrier

unread,
Dec 29, 2025, 7:50:56 AM12/29/25
to pwm-general
have not tinkered with the advanced settings in the filter, if you could tell me where the filters are i can have a look, i'm just at the basic setup to this point, any assistace would be greatly appreicated

Jason Rivard

unread,
Dec 31, 2025, 3:42:18 PM12/31/25
to pwm-general
Many settings have LDAP filters.  If you haven't modified them they are not the problem.  Have you looked at the logs?
Reply all
Reply to author
Forward
0 new messages