Jump to content

Recommended Posts

Posted

Some may or may not know this system. But this is a great Room booking system. Especially for schools.

 

Most schools have microsoft Active directory systems. This software can be a right pain in the arse to get to work.

 

Fortunately I have it working!

 

Two config files are the main things to mess around with are

 

'config.inc.php' and 'auth_ldap.inc'

 

snapshot of 'config.inc.php'

 

###############################################

# Authentication settings - read AUTHENTICATION

###############################################

$auth["session"] = "php"; # How to get and keep the user ID. One of

# "http" "php" "cookie" "ip" "host" "nt" "omni"

# "remote_user"

$auth["type"] = "ldap"; # How to validate the user/password. One of "none"

# "config" "db" "db_ext" "pop3" "imap" "ldap" "nis"

# "nw" "ext".

 

# Cookie path override. If this value is set it will be used by the

# 'php' and 'cookie' session schemes to override the default behaviour

# of automatically determining the cookie path to use

$cookie_path_override = '';

 

# The list of administrators (can modify other peoples settings)

$auth["admin"][] = "127.0.0.1"; # localhost IP address. Useful with IP sessions.

$auth["admin"][] = "administrator";

$auth["admin"][] = "db"; <-----username from AD

 

#$auth["admin"][] = "10.0.0.1";

#$auth["admin"][] = "10.0.0.2";

#$auth["admin"][] = "10.0.0.3";

 

# 'session_http' configuration settings

$auth["realm"] = "mrbs";

 

 

# 'auth_ldap' configuration settings

# Where is the LDAP server

$ldap_host = "mulpdc.mulberry.local";

# If you have a non-standard LDAP port, you can define it here

$ldap_port = 389;

# If you want to use LDAP v3, change the following to true

$ldap_v3 = true;

# If you want to use TLS, change following to true

$ldap_tls = false;

# LDAP base distinguish name

# See AUTHENTICATION for details of how check against multiple base dn's

$ldap_base_dn = "ou=Admin,dc=mulberry,dc=local";

$ldap_base_dn = "ou=SubAdmin,dc=mulberry,dc=local";

$ldap_base_dn = "ou=Staff,ou=Users,ou=Mulberry,dc=mulberry,dc=local";

$account_suffix = "@mulberry.local";

# Attribute within the base dn that contains the username

$ldap_user_attrib = "sAMAccountName";

 

 

# 'auth_ldap' extra configuration for ldap configuration of who can use

# the system

# If it's set, the $ldap_filter will be combined with the value of

# $ldap_user_attrib like this:

# (&($ldap_user_attrib=username)($ldap_filter))

# After binding to check the password, this check is used to see that

# they are a valid user of mrbs.

#$ldap_filter = "mrbsuser=y";

 

see attached files for more detailed analysis

 

goto http://mrbs.sourceforge.net/docs.html for more info

 

The auth_ldap.inc needs to be modified for AD usage (see attached file)

 

Working on MRBS 1.2.5

 

If you need any help give me a buzz

mrbs1.2.5exampleconfig.zip

  • Thanks 1
Posted
Theres a few posts on this one its a great system. Webman has built his own as well which is available. I also posted instructions on how to modify it so you can set the maximum number of days ahead they can book. Not sure if that a standard feature in the newer versions.
Posted

Do you have a link to his creation?

 

I would like a look at it

 

Theres a few posts on this one its a great system. Webman has built his own as well which is available. I also posted instructions on how to modify it so you can set the maximum number of days ahead they can book. Not sure if that a standard feature in the newer versions.
  • 2 weeks later...
Posted

We use that one as well timbo343. Some times it crashed and needs IIS service restarting on the server. I don't know if its just are server and it doesnt do it oftern.

 

All round good I agree

  • 8 years later...
Posted
Did this ever happen? Its a great system, but useless for most people without LDAP or AD integration...

 

It's still planned, but I'm afraid it's still not in yet.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...