meeting-room-booking-system / mrbs-code

MRBS application code
Other
124 stars 61 forks source link

What are required to implement LDAP #3350

Open jberanek opened 1 year ago

jberanek commented 1 year ago

Hi I've been trying to find a way to implement LDAP in MRBS. But from what I can find on the internet they are all using OpenLDAP and Active Directory, which I don't quite understand.

I would like to ask if that to in order implement LDAP in MRBS can I do it directly by just configuring the config.inc,php? Or there are other things that I should set up first? And is OpenLDAP the right thing to use if I want to implement LDAP? If OpenLDAP is the right thing to set up before implementing LDAP, is there any way for me to authenticate them with the user data I have created prior to setting up OpenLDAP or all the user data must be filled in manually when setting up LDAP?

I've installed MRBS 1.10.0 on ubuntu server 22.04 with PHP8.1 and using MariaDB as the database. The documentation on here is quite fuzzy as it only tells you what to fill in and nothing more. All the information for setting also doesn't answer any of the questions I'm currently having.

Any replies and help with this topic is much appreciated. Thank in advance.

Reported by: oweeya

Original Ticket: mrbs/support-requests/2665

jberanek commented 1 year ago

MRBS will work with either OpenLDAP or Active Directory. All you need to do in MRBS is configure the appropriate settings in config.inc.php. MRBS assumes you have already got an operational LDAP server somewhere on the network.

If you have already created user data in MRBS using the 'db' authentication scheme you won't be able to use it in your LDAP server without manually adding the data to your LDAP server.

Original comment by: campbell-m

jberanek commented 1 year ago

Thanks for the reply. This help clear out a lot of confusion for me.

Now I having problem on creating user account with admin right using LDAP. For now the guides i could find are only teaching how to create normal users.

Any tips on this will be really appreciated. Thanks in advance.

Original comment by: oweeya