Add either new suffixes or different group (AD or Ldap)

Community Support for Booked Scheduler
Post Reply
Dhaunzyne
Posts: 3
Joined: Sun Nov 21, 2021 11:50 pm

Add either new suffixes or different group (AD or Ldap)

Post by Dhaunzyne »

Hello!

I'm trying to get my instance of Booked Sched (currently 2.8.5.4) to either accept different suffixes (@example.uni.edu.au and @example.students.uni.edu.au) in the AD auth, or two different groups in the same OU (CN=example,OU=example,DC=uni,DC=edu,DC=au,CN=example_studio,OU=example,DC=uni,DC=edu,DC=au), but neither of them are working. Both authentication types do work with either just the one suffix or group, so it's just the multiples that aren't working.

Any help is appreciated!

Dhaunzyne
Posts: 3
Joined: Sun Nov 21, 2021 11:50 pm

Re: Add either new suffixes or different group (AD or Ldap)

Post by Dhaunzyne »

It took a while, but I got a fix working (a bit scuffed, however)

rather than changing required group in Ldap.config.php (which is where the site directs you to change it), the change must be made in LdapConfig.php on the server (located in directory /plugins/Authentication/Ldap) in the 'REQUIRED_GROUP' line - groups are to be concatenated with ' ' and seperated with |

Post Reply