Re: [Mrbs-general] Authentication problems
Brought to you by:
jberanek
From: Luke L. <lin...@ex...> - 2001-04-13 18:58:25
|
OK, so I dropped the auth_radius .inc file into my MRBS home dir and this into my config.inc: # NEW STUFF to TRY. ############################################### # Authentication settings - read AUTHENTICATION ############################################### # IP authentication allows any user to create bookings. $auth["realm"] = "MRBS"; $auth["type"] = "radius"; $auth["prog"] = ""; $auth["params"] = ""; # The various level two users (can modify other peoples settings) # By default, only localhost is an administrator. $auth["admin"][] = "luke"; and now I get an error when I try to click on either admin or when I click on a date to add a booking: Content-Type: application/octet-stream; name="auth_radius.inc" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="auth_radius.inc" Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in auth_radius.inc on line 19 Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in auth_radius.inc on line 20 Any help would be great! -Luke On Wed, 11 Apr 2001 15:55:04 -0500, Brad Hanson wrote: > here it is. Attached is the .inc file for it, follows is the sample portion > of the config.inc file that defines the users who can modify entries. > > password for everyone is the same... it is secret (reference the > code in the auth_radius.inc file) > > ############################################### > # Authentication settings - read AUTHENTICATION > ############################################### > # IP authentication allows any user to create bookings. > $auth["realm"] = "MRBS"; > $auth["type"] = "radius"; > $auth["prog"] = ""; > $auth["params"] = ""; > > # The various level two users (can modify other peoples settings) > # By default, only localhost is an administrator. > $auth["admin"][] = "bhanson"; > $auth["admin"][] = "dberg"; > $auth["admin"][] = "cknutson"; > $auth["admin"][] = "tparker"; > > ----- Original Message ----- > From: "Luke LaRussa" <lin...@ex...> > To: <mrb...@li...> > Sent: Wednesday, April 11, 2001 12:30 PM > Subject: [Mrbs-general] Authentication problems > > > > Hello all, > > > > So I scoured the mailing lists already and I cannot find an answer to > > my problem. > > > > So, here I go: > > > > I want to have my receptionist administrate the MRBS that I have installed > > and gotten up and running. Version is MRBS 1.0-pre2. > > > > She sits in an office that is not in the same building that the MRBS > > is loaded on. The MRBS machine is behind a NAT'd box.... > > Actually where she sits it is NAT'd....the ip is the same as all of the > > other users that will be using the system. > > > > So my dilemma is how do I get her to authenticate as an admin, and all of > > the other users authenticate as regular users, that cannot make changes > and > > what not? > > > > I have tried to use the : > > ############################################### > > # Authentication settings - read AUTHENTICATION > > ############################################### > > # IP authentication allows any user to create bookings. > > $auth["realm"] = "MRBS"; > > $auth["type"] = "ext"; > > $auth["prog"] = "./badpw.pl"; > > $auth["params"] = "#USERNAME# #PASSWORD#"; > > > > but that doesn't seem to work.... > > > > What else can I do? > > > > Much Appreciated, > > Luke > > > > > > > > > > > > _______________________________________________________ > > Send a cool gift with your E-Card > > http://www.bluemountain.com/giftcenter/ > > > > > > > > _______________________________________________ > > Mrbs-general mailing list > > Mrb...@li... > > http://lists.sourceforge.net/lists/listinfo/mrbs-general > > > > > > << File Attachment Removed: "application/octet-stream; > name="auth_radius.inc"" >> _______________________________________________________ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/ |