• Hi

    We have wpdirauth installed on our multi-site install of word press 5.0.3.
    We have noticed that when we change the BASE DN setting on one site it changes it across other sites on the install. This is causing some users to be unable to login to their site as the BASE DN has been changed through the /wp-admin of another site.
    I was under the impression that when it is changed on 1 site on a multisite install that it would only affect that site. We are a university so we have sites which are for staff and students, others that are restricted to just staff. Its when we restrict the BASE DN so that only staff can access the site that it stops the students logging into sites they have access to.

    Andy advice would be appreciated.
    Many thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Paul Gilzow

    (@gilzow)

    Sorry. I thought I had responded your post already and just saw that I actually hadn’t.

    Since there’s only one actual “pool” of users in a multisite, it’s challenging to write it to allow for different settings per site. Particularly if different sites are using different ldap servers that end up having users with the same id. So it was written such that in a multisite configuration, every site uses the same settings.

    I’m sure this isn’t the answer you were hoping for. Just thinking out loud, and without knowing how your organization is set up, there is a filter query hook in the plugin wpdirauth_filterquery that allows you to alter the filter/search before looking up the user. Could you search your global catalog instead of limiting it via Base DN, and then amend the filter to the domain you want? Not an ideal solution, just trying to think of ways to get you where you need to be.

Viewing 1 replies (of 1 total)
  • The topic ‘wpdirauth on Multisite install’ is closed to new replies.