Search the Community
Showing results for tags 'mrbs'.
-
I have tried many different settings... changed the mail backend settings to all three, mail, smtp, and sendmail, I have tried both the public gmail server address and port and the restricted gmail server address and port. I definitely have the login info right... the users are all set up, I mean really, it should just work and it isn't. PLEASE help. [DEBUG] Preparing email for new or changed booking ... [DEBUG] Preparing to send email ... [DEBUG] Using backend 'smtp' [DEBUG] Recipients: '[email protected],archive@vintag echurchla.com' Also: excerpt from config.inc.php: [color=#333333]$mail_settings['admin_on_bookings'] = FALSE; // the addresses defined by $mail_settings['recipients'] below[/color] [color=#333333]$mail_settings['area_admin_on_bookings'] = FALSE; // the area administrator[/color] [color=#333333]$mail_settings['room_admin_on_bookings'] = FALSE; // the room administrator[/color] [color=#333333]$mail_settings['booker'] = TRUE; // the person making the booking[/color] [color=#333333]$mail_settings['book_admin_on_approval'] = FALSE; // the booking administrator when booking approval is enabled[/color] [color=#333333]$mail_settings['on_new'] = TRUE; // when an entry is created[/color] [color=#333333]$mail_settings['on_change'] = TRUE; // when an entry is changed[/color] [color=#333333]$mail_settings['on_delete'] = FALSE; // when an entry is deleted[/color] [color=#333333]$mail_settings['html'] = TRUE; // Set to true if you want HTML mail[/color] [color=#333333]$mail_settings['icalendar'] = TRUE; // Set to TRUE to include iCalendar details[/color] [color=#333333]$mail_settings['admin_lang'] = 'en'; // Default is 'en'.[/color] [color=#333333]$mail_settings['domain'] = '@vintagechurchla.com';[/color] [color=#333333]$mail_settings['username_suffix'] = '';[/color] [color=#333333]$mail_settings['admin_backend'] = 'smtp';[/color] [color=#333333]$smtp_settings['host'] = 'aspmx.l.google.com'; // SMTP server[/color] [color=#333333]$smtp_settings['port'] = 25; // SMTP port number[/color] [color=#333333]$smtp_settings['auth'] = TRUE; // Whether to use SMTP authentication[/color] [color=#333333]$smtp_settings['username'] = '[email protected]'; // Username (if using authentication)[/color] [color=#333333]$smtp_settings['password'] = '*************************'; // Password (if using authentication)[/color] [color=#333333]$mail_settings['from'] = '[email protected]';[/color] [color=#333333]$mail_settings['organizer'] = '[email protected]';[/color] [color=#333333]$mail_settings['recipients'] = '[email protected]';[/color] [color=#333333]$mail_settings['cc'] = '[email protected]';[/color] [color=#333333]$mail_settings['treat_cc_as_to'] = TRUE;[/color] [color=#333333]$mail_settings['ics_filename'] = "VintageCal";[/color] [color=#333333]$mail_settings['debug'] = TRUE;[/color] [color=#333333]$mail_settings['disabled'] = FALSE;[/color] PLEASE HELP IT ISN"T WORKING!
-
Hi All, My first post here, this place is a great resource of knowledge! I have set up MRBS v1.4.8 on a Ubuntu Server 11.10. I am using LDAP authentication which works great. In my MRBS set up I have two OUs in ldap_base_dn, one for Associate Staff and one for Teaching And Support Staff, so everyone from these two OUs are able to login to MRBS. What I would like to do is to filter users from these OUs and put them in appropriate groups, which I have also set up in AD and called them mrbs_users and mrbs_admins. This would enable me to have greater control over who can access MRBS and also being able to control access from AD rather than editing config files to change admins, etc. Is it possible to set up MRBS to work this way? Here is the part of the config file responsible for authentication: /**********LDAP Authentication**********/ $auth["session"] = "php"; $auth["type"] = "ldap"; $ldap_host = "192.168.x.x"; $ldap_port = 389; $ldap_v3 = true; $ldap_tls = false; $ldap_base_dn[] = "ou=Associate Staff, dc=company, dc=com"; $ldap_base_dn[] = "ou=Teaching And Support Staff, dc=company, dc=com"; $ldap_user_attrib = "sAMAccountName"; $ldap_dn_search_dn = "cn=user,cn=Users,dc=company, dc=com"; $ldap_dn_search_attrib = "sAMAccountName"; $ldap_dn_search_password = "password"; $ldap_filter[] = "memberof=cn=mrbs_admins,ou=MRBS, dc=company, dc=com"; $ldap_filter[] = "memberof=cn=mrbs_users,ou=MRBS, dc=company, dc=com"; $ldap_admin_group_dn = 'cn=mrbs_admins,ou=MRBS,dc=company, dc=com'; $ldap_group_member_attrib = 'memberof'; #$ldap_debug = FALSE; It seems like the first ldap_filter applies to first ldap_base_dn and same for the second element, so in this case only members of Associate Staff are able to login as admins and vice versa for Teachings and Support Staff. However, some users from the Teaching Staff OU also need to be able to log in as admins and this won't work in the current setup. Is there any way to make this work? and be able to control user access from AD? Thanks!
-
We have a two week timetable which I'd like to import into the MRBS system which is a block on our Moodle VLE, and I need some guidance on how to set about this please.
- 1 reply
-
- import timetable
- moodle block
-
(and 1 more)
Tagged with:
-
Good morning all. I apologise for making a thread which comes up fairly regularly on here but I'm at a loss as to where I am going wrong. I've read through many of the threads on here on this topic, and compared my config with other but I can't see where I am going wrong. I have MRBS running in a testing environment on my workstation. Windows 7 IIS 7, PHP 5.4.3 and PHP manager installed from the Platform web installer. LDAP extension has been enabled from within the PHP Manager. The domain controller I'm trying to authenticate against is a Windows 2008 R2 server. My MRBS authentication config from config.inc.php is as follows; // Authentication // Where is the LDAP server $ldap_host = "sdc02.sjc.ac"; //DC 2 //$ldap_port = 389; $ldap_v3 = true; $ldap_tls = false; // LDAP base distinguish name $ldap_base_dn[] = "OU=SEN,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=Science,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=RE,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=PE,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=Music,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=MFL,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=Mathematics,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=Mandarin,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=ICT,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=History,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=Geography,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=FoodTech,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=English,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=DT,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=CoverSupervisors,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=BusinessStudies,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=Art,OU=Teaching,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=Administration,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_base_dn[] = "OU=Technical,OU=Staff,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_dn_search_attrib = "sAMAccountName"; $ldap_dn_search_dn = "CN=Administrator,CN=Users,DC=sjc,DC=ac"; $ldap_dn_search_password = "*****"; $ldap_filter = "memberof=CN=mrbs_admins,OU=Groups,OU=Users,OU=Managed,DC=sjc,DC=ac"; $ldap_get_user_email = TRUE; $ldap_email_attrib = "mail"; $ldap_unbind_between_attempts = FALSE; $ldap_debug = TRUE; All the LDAP DN's have been copied directly from Sysinternals AD Explorer so they should be correct. I'm trying to test logging in with my user which is a member of the technical OU and also a member of the mrbs_admins group specified in the ldap_base_dn. When I attempt to login I'm just given the message "Unknown user". I'm not sure where to look for any logs or diagnostic information about what is happening. Can anyone see any glaring omissions from my config or can anyone tell me how I can get more detailed diagnostic information as to what is happening behind the scenes during my authentication request? Regards, John
-
Hi everybody I had a look and could not find an answer to my question. So, i was wondering: say you have set up MRBS to allow users to book from 9.00 to 18.00 (half our intervals). Is it possible not to allow particular hours such as 13.00-14.00 within the allow time range (the same way you may not allow Wednesdays, for example)? Thank you in advance...
-
Hi all I was wondering if somebody could help me with a bit of code, we are currently using mrbs and I have a bit of an issue with it at the moment when staff book a room they are not selecting there department and just leave it as default, the default entry is A in a list array which I have set to please select your department. what I want to do is to force the them to select any entry apart from default by throwing up an error if not selected I have managed to get as far as getting the error on screen but I unable to link it with the entry type. please see attached jpegs Modification 1 I have made in edit_entry.php <?php if ($type2 == "$c")?> { alert ( "<?php echo get_vocab("you_have_not_selected") . '\n' . get_vocab("your_department") ?>"); return false; } Modification 2 I have made in edit_entry.php <?php echo get_vocab("type")?>: <?php for ($c = "A"; $c <= "A"; $c++) { if (!empty($typel2[$c])) { echo " $typel2[$c]\n"; } } for ($c = "B"; $c <= "Z"; $c++) { if (!empty($typel[$c])) { echo " $typel[$c]\n"; } } ?> Modification 2 I have made in config.inc.php $typel2["A"] = "Please Select your Department"; $typel["B"] = "Admin"; $typel["C"] = "Art"; $typel["D"] = "Careers"; $typel["E"] = "Child Development"; $typel["F"] = "Citizenship&RE"; $typel["G"] = "Diploma"; $typel["H"] = "Drama"; $typel["I"] = "English"; $typel["J"] = "Geography"; $typel["K"] = "History"; $typel["L"] = "ICT&Business Studies"; $typel["M"] = "ICT-Support"; $typel["N"] = "Maths"; $typel["O"] = "Media"; $typel["P"] = "MFL"; $typel["Q"] = "Music"; $typel["R"] = "PE&Dance"; $typel["S"] = "Science"; $typel["T"] = "SEN"; $typel["U"] = "SLT"; $typel["V"] = "Technology"; $typel["W"] = "All Staff"; Has any body had any similar issues or know where I am going wrong with my coding. Thanks J
-
can anyone tell me a way around this one, we currently have a moodle 2.2 install with MRBS. we have all our rooms set up and they are currently in use by staff. what we want to do is set it so NO ONE other than 'admin user' can add a booking outside of the 'max day' setting. i've found one or two threads on this but nothing about the moodle version, can anyone help?
- 3 replies
-
- admin controls
- moodle
-
(and 2 more)
Tagged with:
-
Hey Everyone, We are using 1.4.1 and I am having some issues. I want to limit bookings to 45 minutes, no more. I took this code from online: # if not administrator, reject bookings longer than 2 hours if ((!getAuthorised(2)) && (($units * $duration) > 7200)) { print_header($day, $month, $year, $area); ?> <?php echo get_vocab('invalid_booking'); ?> <?php echo get_vocab('invalid_duration'); ?>
-
Hi, I've just set set mrbs, which is excellent btw, but I'm having issues with booking emails sent to users. I'm using AD ldap for authentication, using the sAMAccountName attribute, as a consequence outgoing mail is looking for sAMAccountNameatmydomain.co.uk. I need some way to specifiy that the email config use the mailNickname attrib, or to tell mrbs to use the email address in the AD ldap. Does anyone know how to do this? Many thanks, MJ.
-
- authentication
-
(and 3 more)
Tagged with:
-
hi, im getting errors when setting up mrbs, the line the error refers to is where im trying to set up periods as opposed to time lines... could you post the calendar bit of your config file if you have a working periods not time set up>>??? "Parse error: syntax error, unexpected T_VARIABLE in /var/www/mrbs/config.inc.php on line 94" thanks!!!!
-
hi, tried to google to no avail. for MRBS software, how do you prevent users from booking on the same day he / she wants to use the room? for example: Susan wants to use Room001 on Thursday; therefore so she must book the room before Thursday (24 hours before). is this possible with MRBS? thanks in advance.
-
I just installed and everything is going well for me now, use LDAP, and everything runs perfect. Now the issue I have is that any user can request a room, and this is reserved, what I really need is that the room is requested and this is pending the approval of the administrator. Search my systemdefaults.inc.php and found no way to make users do not automatically reserve. I attached what seemed relevant to me edit my systemdefaults.inc.php // SETTINGS FOR APPROVING BOOKINGS - PER-AREA // These settings control whether bookings made by ordinary users need to be // approved by an admin. The settings here are the default settings for new // areas. The settings for individual areas can be changed from within MRBS. $approval_enabled = TRUE; // Set to TRUE to enable booking approval // Set to FALSE if you don't want users to be able to send reminders // to admins when bookings are still awaiting approval. $reminders_enabled = TRUE; // SETTINGS FOR APPROVING BOOKINGS - GLOBAL // These settings are system-wide and control the behaviour in all areas. // Interval before reminders can be issued (in seconds). Only // working days (see below) are included in the calculation $reminder_interval = 60*60*24*2; // 2 working days // Days of the week that are working days (Sunday = 0, etc.) $working_days = array(1,2,3,4,5); // Mon-Fri // SETTINGS FOR BOOKING CONFIRMATION // Allows bookings to be marked as "tentative", ie not yet 100% certain, // and confirmed later. Useful if you want to reserve a slot but at the same // time let other people know that there's a possibility it may not be needed. $confirmation_enabled = TRUE; // The default confirmation status for new bookings. (TRUE: confirmed, FALSE: tentative) // Only used if $confirmation_enabled is TRUE. If $confirmation_enabled is // FALSE, then all new bookings are confirmed automatically. $confirmed_default = FALSE; Can anyone help me? I have other issues but the questions I will be doing later. sorry for my English (I've tweaked with google translator)
-
I have been running MRBS successfully for over a year, then we had problems with authenticating users. Originally it was set up with session = http and type = config.... but on window XP machines with Explorer that are image by our IT dept they no longer can log in. (though I can use a XP machine that is not imaged and a MAC successfully). Since these errors have occurred I have upgraded to MRBS 1.4.2 and have tried to change the authentication to session = php and type = db.... the users table has been added and names & passwords have been imported ..... but I cannot get past 'UNKNOW USER' when trying to make a entry into the database. Any suggestions to correct this would be appreciated. bm of cw
-
I'm working with the MRBS calendar system, and have it set up with LDAP for my school. Right now, everyone who logs in with their username and password is a level 1 user, so they have rights to book a room in any area (since the only levels of authentication are 0-anonymous, 1-default user, and 2-administrator). I was wondering if anyone could help me add code to some of the files to give permissions to users, allowing them access to only book rooms in certain areas, but not the right to book any area. I assume if i created different user groups (a different authentication level for each), it would be easier to add to the already created functions and "make permissions", so to speak.
-
- areas
- authentication
-
(and 3 more)
Tagged with:
-
Hi everyone. I've got loads of help over the last few months reading through the forums, especially with regard to room booking systems. I've done a lot of work getting MRBS set up and working, and now just need to solve a couple more problems before we adopt it as our school system. a) It would be great to be reassured that lots of schools are using this as a "robust" solution for room booking. We plan to use it for all our bookings: ICT rooms, study spaces, room changes, lettings etc etc, so it has to be solid. If you're using it in that sort of capacity I'd love to know how reliable you've found it and any issues that you've picked up. b) We use Serco's Facility CMIS MIS. I've developed a process using Access to take a CSV of the timetable from CMIS and output a text file for MRBS. This works, but it's clunky. Has anyone found a better way? Would anyone like to have a look at what I've done so you can use it/improve it? Thanks in advance, Simon.
-
Hi Guys, I have just installed the most recent version of mrbs and it works well in fact really well. I have come across a slight snag! well more a hole in my knowledge base, ldap! I am trying to get mrbs to authenticate users against Active directory and it seems to fail whichever setting I put in ? does anyone one have an example of their working config.ini.php file? who may be using ldap? I have been browsing multiple threads and I just dont get it any help would be very much appreciated.
- 11 replies
-
- authentication
- ldap
-
(and 1 more)
Tagged with:
-
Hey Everyone... This is a question for anyone using the MRBS which I'm hoping is lots of people XD I need a hand on something. I'm building the MRBS for a client and one of their specifications is that they do not want users to delete or edit even their own bookings. The client wants the users to ask the admins to delete or edit bookings. It seems that the norm for the MRBS is to let users delete or edit the bookings they made. So how can I make so that users can't delete or edit bookings of any kind and only let Admins do it, I reckon it's done in the code but I'm not sure where. Thanks for any help and the quicker the answer the better, this needs to be done soon Oh and sorry if I posted this in the wrong place, I wasn't to sure.
-
I am having some problems installing MRBS on a Redhat box with MySql. I am sure it is a stupid config issue but don't know where to go with it. MRBS displays ok until I go to login with the following config entry $auth["session"] = "php"; // How to get and keep the user ID. One of // "http" "php" "cookie" "ip" "host" "nt" "omni" // "remote_user" $auth["type"] = "db"; // How to validate the user/password. One of "none" // "config" "db" "db_ext" "pop3" "imap" "ldap" "nis" // "nw" "ext". I am wanting to use the MRBS db option. When I click on the User List I get the following errors Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /var/www/html/mrbs/mysql.inc on line 312 Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/html/mrbs/mysql.inc on line 33 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/mrbs/mysql.inc:312) in /var/www/html/mrbs/Themes/default/header.inc on line 30 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/mrbs/mysql.inc:312) in /var/www/html/mrbs/Themes/default/header.inc on line 31 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/mrbs/mysql.inc:312) in /var/www/html/mrbs/Themes/default/header.inc on line 32 The MRBS user table is not created and I am unable to login. Any ideas what I have missed? Thanks for the help. TK
- 2 replies
-
- installation
- mrbs
-
(and 1 more)
Tagged with:
-
Hello, I'm involved with a group of Yoga studios with teachers that often go around to different schools and teach at different times. I'm requesting some help with modding the tables for MRBS. Plan on running LAMP, open to suggestions on the absolutely, easiest one click graphic distro setup for same on a cheap intel box. I really find MRBS brilliant especially in its simple relational design. What I want to do is mod it ( At least I think I have to mod it ) to serve as a reminder system for teachers, so it will email them a user-defined length of time before a class starts, reminding them when they should be where. The classes and locations have to be user defined, the times can be on the hour for now, I can fix that later. So the user sequence would be 1)Teacher goes to studiocollectivesomething.org 2) Create or login to account with email and PW 3) Go to config screen with list of rules 4) Rule consists of a) Week choice in month ( 1st, 2nd, 3rd, 4th, 1st and 3rd, 2nd and 4th) b) Number of weeks to repeat and/or end date c) Self defined label describing location ( Joe's Yoga) d) How long before class you want to be reminded , reminder #1 and #2 configurable. e) How long is the class 1-164 hours, limit one week 5) Then the system running cron or similar would check and send reminders out. Don't know if I'm allowed to offer money here, but I would be willing to hire someone to do the mods if interested. thanks to all.
-
IMPORTANT - The script has been updated, please jump to post 50 for the latest working version. The old attachment has been removed to prevent confusion. Dear all, Please find attached to this thread a script allowing you to import your SIMS Room Timetable into MRBS, by exporting to CSV first. To Set Up: Place the PHP Script in the same folder as MRBS' config.inc.php Amend the PHP Script (see below) Amendments to make for your school: Room Names to ID Numbers (Script Lines 44-61, using mrbs_room table in database for reference) Default Entry Type for Booking, and an alternate entry type, along with which subjects to use this entry type for (Script Lines 17-19, using MRBS config.inc.php for reference) Your Periods/Break/Lunch system, as MRBS treats each period as a 'booking slot' and break/lunch as a 'booking slot', so Period 10 = 0 (first 'slot') + 1 (registration) + 9 (periods past) + 1 (break) + 1 (lunch) = Slot 12, see script lines 203-217 with longer explanation. Instructions for use: Export SIMS timetable for ONE ROOM using attached Report Definition Load PHP Script in Web Browser Fill out form, including File to Upload [start/End Term Dates auto-suggested] Press Go. CSV File Notes (auto-setup in Report Definition though): ONE ROOM ONLY Order of Columns: Room, Day, Period, Class, Teacher, Subject Code, NoStudents Period should be defined as 'Mon:7' or 'Mon:07' Hope this helps!
-
hi I am trying to authenticate mrbs with ldap on my machine having ubuntu-12.04. I have installed mrbs it's working fine. Now I need to authenticate it with ldap. So I set-up ldap server on my machine.I added entries in config.inc.php from the documentation and previous post on ldap and mrbs. But which value should be given to $ldap_dn_search_attrib? As I'm working on linux machine i cannot give sAMAccountName so what value is to be given? $ldap_dn_search_attrib = "sAMAccountName"; #this is for Microsoft AD directories Here is my config.inc.php for ldap authentication $auth["session"] = "php"; $auth["type"] = "ldap"; $auth["realm"] = "mrbs"; $ldap_host = "127.0.1.1"; $ldap_port = 389; $ldap_v3 = true; $ldap_tls = false; $ldap_user_attrib = "uid"; $ldap_dn_search_attrib = "sAMAccountName"; $ldap_base_dn = "ou=2000,ou=students,ou=comp,dc=***,dc=org,dc=in"; $ldap_dn_search_dn = "cn=admin,dc=***,dc=org,dc=in"; $ldap_dn_search_password = "****"; So please tell what modification are to be done in order to make it work. Also how to check the error when I try to login through ldap? I get the page Unknown user every time when I try to login with ldap. So I'm not able to get where exactly is the error?
