Jump to content

oweeya

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by oweeya

  1. Hi and thanks for the reply. It took me weeks and a lot of trial and error but I managed to find the cause and solved it. My CA cert was done correctly and installed correctly on client side, but the problem is I didn't include it in my ldap.conf. After finding out I missed out the inclusion in my ldap.conf I went ahead and added it so now it is working fine and able to establish StartTLS connection no problem. Then I also went ahead and enabled LDAPS connection. to do this I simply just added ldaps:/// on the line SLAPC_SERVICES on the file /etc/default/slapd. Then just changed the ldap port in config.inc.php to 636. Now I am able to use MRBS in both StartTLS and LDAPS but I opted for LDAPS as it is the more secure connection when compared with StartTLS.
  2. I've updated the ca-certificates on my MRBS server with the .crt from LDAP server for TLS connection, I've also set the ldap_port = 636 but still fail. But this time I finally have some error log generated The MRBS server sits on ip 10.0.2.5 The LDAP server sits on ip 10.0.2.4 I don't know what is on 10.0.2.2 and I don't know why it appears, maybe this is something from NAT Network from my VirtualBox? I can't tell since this is my first time using it. So far everything I've tried is on MRBS config and LDAP config but nothing Nginx config, is it possible that it is a problem from Nginx instead of MRBS and LDAP? I'm really lost at this point so anything that I could find and try I've tried. Any advice will be highly appreciated.
  3. So I have now able to authenticate MRBS using LDAP. But when I tried to connect them using TLS and changing the $ldap_tls = true; doesn't work for me. I have already set up TLS in the LDAP server and confirmed it running using ldapwhoami -H ldap://example.com -x -ZZ. Trying to log errors using $ldap_debug = true; also doesn't seems to work for me as the log file doesn't contain any error. My LDAP server is running on Ubuntu server 22.04 and created using OpenLDAP. My MRBS server is running on Ubuntu server 22..04 using Nginx as web server. Am I missing something or wrong configs? Any advice is highly appreciated This is the tutorial I followed to create my LDAP server and TLS https://ubuntu.com/server/docs/service-ldap
  4. took me days but I finally done it, got a LDAP server running. But now I have a new problem for the VMs networking. so currently both of my MRBS VM and LDAP VM are running on NAT + Host-only. This enable me to access them 1 to 1 but now I need them to communicate. I found some ways to make them communicate but at the cost of losing access to the VMs externally(internal network and NAT network). Bridged network is not an option for me as my supervisor does not want to allocate IP for me to do testing. Is there any way for me to make them communicate while retaining access to them externally? Or is there some way to port forward it using NAT network? I can't seem to find much tutorials and info on NAT network which is why I am very lost on it currently. EDIT: Nevermind I solved it. Turns out my eyes went blind and completely missed the *Apply* button after setting up port forwarding :>
  5. I'm currently working as intern in a company and I assume that they tasked me to do LDAP because they want me to learn how to do it. I don't have a choice to reject and say just use db authenticate unfortunately.
  6. thanks for the heads up. I'm doing this in linux environment (VM running ubuntu server 22.04). Been trying for days to no avail kinda making me wanna give up already.
  7. For now security is not a concern for me as the test is only within my laptop and the VM inside of it. I am just trying to learn how to set up a LDAP and get it running to test out LDAP implementation on MRBS. Try to set up a LDAP server by following the guide here https://www.server-world.info/en/note?os=Ubuntu_22.04&p=openldap&f=1 and https://computingforgeeks.com/install-and-configure-openldap-server-ubuntu/. Not sure is these are the correct one to follow or I've been doing it all wrong. I wanna know that if it is possible for the LDAP server and MRBS to be on the same VM if I want to use LDAP authentication on MRBS or it must be on separate VM if I wan it to work? Some terms I might not able to explain properly or clearly as I still lack understandings regarding Linux, servers and network. I try my to best to explain but I can't guarantee my explanations is correct or easier to understand.
  8. To answer the ones asking regarding having AD or other centralised login within the company network. I am unable to confirm this as I am only doing things within my laptop and VM.
  9. Thanks for the reply. I wanted to do LDAP with it since I am tasked to do so (as a practice and compatibility). As for currently existing LDAP in company I can't confirm if there is one. for now I'm just doing it in my own VM on my laptop to try and learn how to implement LDAP into MRBS so i don't think there is much to worry about. For now the guides that I could find are all in the assumption that your machine is in the public network. I'm stuck on what should I enter when I doing it all on self-hosted network. Any guides on this is appreciated. Thanks.
  10. 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.
  11. Thanks for the tips. Now it is able to be run using Nginx.
  12. I'm sorry it seems that I have missed out some important info regarding the PHP-FPM. Yes I have checked that PHP-FPM is installed and running well prior to installing CRBS. I have tried to run other PHP scripts using Nginx aside from the phpinfo and yes they do work. But when I tried to run the index.php for CRBS it will surely fail which is 404 Not Found.
  13. Got a task to implement a booking system at the company that I'm currently having intern at. Found Classroombookings and decided to use it for it positive feedbacks. But currently I'm having issue with the installation of the program. I'm following the directions in the documentations but somehow it just never seems to work for me. The only thing I get when accessing the index.php is a 404 Not Found error. Nothing can be found on logs and the I can't seem to make use of the .env in the troubleshooting documentation too. I'm trying to install it in a VM and here's the config: Ubuntu Server 22.04 Nginx 1.23.2 PHP7.3 MariaDB 10.6.11 Any help or guidance is much appreciated as I'm very much new to all these. EDIT: restarted the VM entirely, now the installation seems to be working. The web server used was Nginx before the VM is shut down and it changed to Apache when it got restarted. Does this means that Classroombookings doesn't work with Nginx as web server dspite having Nginx listed as supported in the requirements or am I just having wrong configurations somewhere in Nginx?
×
×
  • Create New...