Re: Access-Reject in a php script (manIP)

2007-10-26 Thread Sean Bracken

Hi,

I have a working PHP script that may help. You can load it from 
http://swarmhotspots.com/bb.php.txt The sript is designed to reply to 
Chillispot authentication requests but should be easy to modify for other 
NAS's.


Hope it helps.

Regards,

Sean Bracken

http://swarmhotspots.com 


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Strange problem

2007-08-21 Thread Sean Bracken
Hi, I am using Freeradius with a MySQL backend and the users log in through 
Chillispot running on Buffalo and Linksys routers running DD-WRT. The 
problem is that randomly users are recorded up to five times in radacct with 
one login. This is not a problem for users with expiration acccounts but 
users with max-all-session accounts are thrown out before they have really 
used up their time. Has anyone come accross this before? I'd appreiate any 
help.

Sean
- Original Message - 
From: <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, August 21, 2007 4:28 PM
Subject: Freeradius-Users Digest, Vol 28, Issue 73


> Send Freeradius-Users mailing list submissions to
> freeradius-users@lists.freeradius.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.freeradius.org/mailman/listinfo/freeradius-users
> or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
>
> You can reach the person managing the list at
> [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Freeradius-Users digest..."
>
>
> Today's Topics:
>
>   1. RE: PAM Radius (Sayan S)
>   2. customise dialup admin (Carl aniams)
>   3. I am a first timer ! (Joshua Mashiane)
>   4. Database Population problem with mysql (ram)
>   5. RE: Database Population problem with mysql (Josh Howlett)
>   6. Re: I am a first timer ! (Alan DeKok)
>   7. Re: Database Population problem with mysql (ram)
>
>
> --
>
> Message: 1
> Date: Tue, 21 Aug 2007 04:22:20 -0700 (PDT)
> From: Sayan S <[EMAIL PROTECTED]>
> Subject: RE: PAM Radius
> To: FreeRadius users mailing list
> 
> Cc: Josh Howlett <[EMAIL PROTECTED]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> yes josh, as you guessed it, it doesn't work with HP-UX and Solaris (to 
> some extent, as it provides a warning during useradd command with '@' in 
> the username).
> We don't plan to use LDAP for NSS immediately.
>
> thanks to all.
>
> sayan
>
> Josh Howlett <[EMAIL PROTECTED]> wrote: Hi Sayan,
>
> I think I have tried this previously, and it was possible (on
> Linux/glibc anyway - YMMV with other unices).
>
> TBH, I don't really see the point in using RADIUS when you'll (probably)
> want to use LDAP anyway for nss resolution, so you might as well just
> use LDAP for PAM.
>
> josh.
>
>> -Original Message-
>> From:
>> [EMAIL PROTECTED]
>> org
>> [mailto:[EMAIL PROTECTED]
> eradius.org] On Behalf Of Sayan S
>> Sent: 20 August 2007 14:04
>> To: FreeRadius users mailing list
>> Subject: Re: PAM Radius
>>
>> Thanks Alan for the quick response.
>> I am referring to realm here, as RADIUS support realms, and
>> we are using RADIUS to authenticate the users to Linux, so
>> seems like we need to have all users contained in the same realm.
>>
>> Is having username in [EMAIL PROTECTED] form a valid unix format? I
>> was thinking the first part of the [EMAIL PROTECTED] should be the
>> unix username though the radius request is sent as
>> [EMAIL PROTECTED] Otherwise we need to have a comprehensive
>> [EMAIL PROTECTED] to Unix-userid mapping.
>>
>> regards,
>> sayan
>>
>> Alan DeKok  wrote:
>>
>>  Sayan S wrote:
>>  > Greetings, I am very new to RADIUS and PAM RADIUS.
>>  > I am trying to configure PAM Radius to authenticate
>> users on a Linux
>>  > host. I would like to know, how to configure PAM
>> Radius to authenticate
>>  > users from different realms, as the current
>> configuration doesn't seem
>>  > to take realm.
>>
>>  You don't use realms in Unix logins.
>>
>>  > please help me with this as I have configured users
>> to be part of
>>  > different realms on radius server and now want to
>> authenticate all those
>>  > users to the same Linux host.
>>
>>  You just login as "[EMAIL PROTECTED]". That might work.
>>
>>  Alan DeKok.
>>  -
>>  List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>>
>>
>> 
>>
>> Park yourself in front of a world of choices in alternative vehicles.
>> Visit the Yahoo! Auto Green Center.
>> n_center/;>
> _ylc=X3oDMTE5cDF2bXZzBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ
>> 3JlZW4tY2VudGVy>
>>
>
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
>
>
>
> -
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, 
> news, photos & more.
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> https://lists.freeradius.org/pipermail/freeradius-users/attachments/20070821/8287c4ad/attachment-0001.html
>
> --
>
> Message: 2
> Date: Tue, 21 Aug 2007 15:32:04 +0200
> From: "Carl aniams" <[EMAIL PROTECTED]>
> Subject: customise dialup admin
> To: freeradius-users@lists.freeradius.org
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi
>