r/BookStack • • Feb 17 '25

Bookstack ldap auth stopped working

I tried logging into bookstack today and got the dreaded unknown error occurred.

looked at the laravel.log file and see an error stating can't contact ldap server. unable to bind to server. can't contact ldap server.

LDAP has worked for this for quite a long time.

I noticed that the certificate our DCs use for LDAP expired, so I renewed them, restarted the bookstack server and tried again but no luck.

what else could it be?

the settings haven't changed. DCs haven't changed besides OS updates.

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/CGS_Web_Designs Feb 19 '25

Not sure if this will help, but if you go to the Bookstack documentation here: https://www.bookstackapp.com/docs/admin/ldap-auth/

Look at lines 51-72 in the authentication setup and maybe something is there. If the new cert for your LDAP server came from a new CA, then definitely you need to make some changes here.