adding realm to usernames, rlm_attr_rewrite?

2002-07-11 Thread Vector
I'm looking to add a realm to a username when the user does not specify one before authorization and authentication is done. Can this be done? I read what few comments I could find in the list archives about rlm_attr_rewrite which apparently was originally rlm_attribute_rewrite. Am I on the

MySQL issues

2002-07-11 Thread Joshua Corbin
I setup the sql source and created the sql tables as per the schema file. The rlm mysql module loads w/o a hitch. I added a user test/test and made it part of a group that sends replies. But whenever I radtest it says that it doesn't know the user, what did I miss? I am using v0.6 on debian

Naslist configuration

2002-07-11 Thread Roonui
Hi,   I'm using freeradius.snapshot.14022002   I'd like to know if it's possible to add a subnets in the naslist file ?   example :   10.0.0.1/28    nas    usrhiper   thank you       Roonui ADAMS

Re: Bugs 0.6 STRANGE !!

2002-07-11 Thread Alan DeKok
"Breuer Nicolas - BelCenter.com" <[EMAIL PROTECTED]> wrote: > The bug is not on all username uppercase but username who > begin with the letter C or S > > ex : CHRISTIAN don't work but TCHRISTIAN work Please see the 'hints file. It's doing exactly what you told it to do. Alan DeKok.

Bugs 0.6 STRANGE !!

2002-07-11 Thread Breuer Nicolas - BelCenter.com
The bug is not on all username uppercase but username who begin with the letter C or S ex : CHRISTIAN don't work but TCHRISTIAN work Nico -- Nicolas Breuer Content & Marketing Manager BelCenter.com Tel : +32 2 354 93 97 Mobile : +32 486 50 27

Re: EAP documentation

2002-07-11 Thread Raghu
1. Authentication server generates Session Secret, but not Session Key, and sends it to both supplicant and AP. > >I missed this in my previous mail. The supplicant already has the >session secret (since it's generated by the AS and supplicant >together) so it is only sent to

Re: SP/ROUTING: Re: Re[4]: HELP!.....Using Berkeley DBM

2002-07-11 Thread Alan DeKok
"Brad Crotchett" <[EMAIL PROTECTED]> wrote: > Ok thanks, that got the dbm module to load without any errors. I think I am > really close now, but when I run radtest I get the following: rad_recv: > Access-Reject packet from host 208.142.64.112:1645, id=43, length=20 > > and when I tail the rad

RE: SP/ROUTING: Re: Re[4]: HELP!.....Using Berkeley DBM

2002-07-11 Thread Brad Crotchett
> It sounds like something is really wrong with your local >installation. > Try deleting ALL of the FreeRADIUS related files, and installing >the snapshot from last night. Ok thanks, that got the dbm module to load without any errors. I think I am really close now, but when I run radtest I

Re: FreeBSD 4.6 and user threads

2002-07-11 Thread Chris Parker
At 03:20 PM 7/11/2002 -0300, Giovanni P. Tirloni wrote: > > I don't see why. If FreeBSD has a Posix threads implementation, > >then it should work. > > I'm asking because I'm using the same radiusd.conf on Linux > and FreeBSD and on Linux it started many threads while on > FreeBSD I've only o

BUGS in 0.6

2002-07-11 Thread Breuer Nicolas - BelCenter.com
I try to pass with this user and password -> REJECTED or the user is present in users file Username : TEST password : test with the username in upper case and pass in lower case, the radius reject the user Nico - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/us

Re: FreeBSD 4.6 and user threads

2002-07-11 Thread Alan DeKok
"Giovanni P. Tirloni" <[EMAIL PROTECTED]> wrote: > I'm asking because I'm using the same radiusd.conf on Linux > and FreeBSD and on Linux it started many threads while on > FreeBSD I've only one process running. That got me wondering. Under Linux, different threads show up as different proce

Re: FreeBSD 4.6 and user threads

2002-07-11 Thread Giovanni P. Tirloni
> I don't see why. If FreeBSD has a Posix threads implementation, >then it should work. I'm asking because I'm using the same radiusd.conf on Linux and FreeBSD and on Linux it started many threads while on FreeBSD I've only one process running. That got me wondering. This is the relevant

Re: Need for Speed

2002-07-11 Thread Kostas Kalevras
On Thu, 11 Jul 2002, Funk, Michael wrote: > Hey All > > I'm in the middle of upgrading my ISP servers using FreeRADIUS. > > My main concern is SPEED. I have my opinions, but another one is ALWAYS > helpful! > > I will be handling about 300,000+ users and growing within the next few > months.

Re: Re[4]: HELP!.....Using Berkeley DBM

2002-07-11 Thread Alan DeKok
"Brad Crotchett" <[EMAIL PROTECTED]> wrote: > Ok, that took away my error about dbm, but now I have the following error: > > ERROR: Cannot find a configuration entry for module "pap". It sounds like something is really wrong with your local installation. Try deleting ALL of the FreeRA

Re: Need for Speed

2002-07-11 Thread Alan DeKok
"Funk, Michael" <[EMAIL PROTECTED]> wrote: > I'm in the middle of upgrading my ISP servers using FreeRADIUS. > > My main concern is SPEED. I have my opinions, but another one is ALWAYS > helpful! The server uses little CPU in the best of situations. So it's as fast as the underlying hardware

RE: EAP documentation

2002-07-11 Thread Henrik Eriksson
> From: Raghu [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 11, 2002 3:10 AM > > Henrik Eriksson wrote: > > >>From: Raghu [mailto:[EMAIL PROTECTED]] > >>Sent: Tuesday, July 09, 2002 7:35 PM > >> > >> > >>If you have already tested it I would like to take your point. > >>If I got your point r

RE: Re[4]: HELP!.....Using Berkeley DBM

2002-07-11 Thread Brad Crotchett
rlm_dbm doesn't authenticates user. It only stores user's info. Remove dbm from authenticate section. Ok, that took away my error about dbm, but now I have the following error: ERROR: Cannot find a configuration entry for module "pap". Right now pap is the only thing uncommented in t

Need for Speed

2002-07-11 Thread Funk, Michael
Hey All I'm in the middle of upgrading my ISP servers using FreeRADIUS. My main concern is SPEED. I have my opinions, but another one is ALWAYS helpful! I will be handling about 300,000+ users and growing within the next few months. ( Chris might be interested in that statement ;-) ) Any

Re: Re[2]: FreeBSD 4.6 and user threads

2002-07-11 Thread Spike Ilacqua
> Nope, the problem has been with various *bsd not having semaphores. > > This has been fixed on some systems by installing 'libsem', but I believe > this was mostly on older systems. Recent FreeBSDs have POSIX semaphores, so they should be fine. > Can any users comment on what systems ( *bsd )

How to use different modules

2002-07-11 Thread Jorge Lanza
Hi all. I've managed to install radius u For the moment I authenticate only but hope in a near future I manage to start the accounting (where can some info for that could be found). My big problem now is... I have used the users and the proper /etc/passwd files for putting the passwords a

Re[4]: HELP!.....Using Berkeley DBM

2002-07-11 Thread 3APA3A
Dear Brad Crotchett, --Thursday, July 11, 2002, 8:19:37 PM, you wrote to [EMAIL PROTECTED]: BC> authenticate { BC> dbm BC> } rlm_dbm doesn't authenticates user. It only stores user's info. Remove dbm from authenticate section. -- ~/ZARAZA

RE: Re[2]: HELP!.....Using Berkeley DBM

2002-07-11 Thread Brad Crotchett
BC> Ok, then what configuration do you think is missing? When I start radius I BC> keep getting this error: BC> Error: ERROR: Cannot find a configuration entry for module "dbm". BC> Thanks, BC> Brad AK>Please send a fragment of your configuration file with all dbm AK>related lines.

Database use with FreeRadius: How-To?

2002-07-11 Thread Aron Silverton
Hello, I have just started using FreeRadius. I am only using it to authenticate vty logins to Cisco routers and eventually I hope to use the Apache module to control access to some web pages. I am not running a NAS. I have configured FreeRadius using clients.conf and radiusd.conf, but I wo

RE: Problem with PAP modules in FreeRadius 0.6!

2002-07-11 Thread Kostas Kalevras
On Thu, 11 Jul 2002, Deramus, Chris wrote: > Kostas, > > I'm sorry I haven't done a CVS update yet. I should just go to > ftp://ftp.freeradius.org/pub/radius/CVS-snapshots/ and download the latest > snapshot. Do I do a configure, make, and make install like when installing > free-radius from scra

Re[2]: FreeBSD 4.6 and user threads

2002-07-11 Thread Chris Parker
At 06:40 PM 7/11/2002 +0400, 3APA3A wrote: >Dear Alan DeKok, > >It has since ancient times. Actually there is no problems with threads >in FreeRADIUS under FreeBSD . Nope, the problem has been with various *bsd not having semaphores. This has been fixed on some systems by installing 'libsem',

RE: Problem with PAP modules in FreeRadius 0.6!

2002-07-11 Thread Deramus, Chris
Title: RE: Problem with PAP modules in FreeRadius 0.6! Kostas, I'm sorry I haven't done a CVS update yet. I should just go to ftp://ftp.freeradius.org/pub/radius/CVS-snapshots/ and download the latest snapshot. Do I do a configure, make, and make install like when installing free-radius from

Re[2]: FreeBSD 4.6 and user threads

2002-07-11 Thread 3APA3A
Dear Alan DeKok, It has since ancient times. Actually there is no problems with threads in FreeRADIUS under FreeBSD . --Thursday, July 11, 2002, 6:33:18 PM, you wrote to [EMAIL PROTECTED]: AD> "Giovanni P. Tirloni" <[EMAIL PROTECTED]> wrote: >> Is it possible to have FreeRADIUS working with

Re: FreeBSD 4.6 and user threads

2002-07-11 Thread Alan DeKok
"Giovanni P. Tirloni" <[EMAIL PROTECTED]> wrote: > Is it possible to have FreeRADIUS working with user > threads in FreeBSD 4.6 ? It works ok with Linux but > since FreeBSD 4.x doesn't have kernel threads it's > a bit problematic to get that going. I don't see why. If FreeBSD has a Posix

Re: Problem with PAP modules in FreeRadius 0.6!

2002-07-11 Thread Kostas Kalevras
On Thu, 11 Jul 2002, Deramus, Chris wrote: > I believe I have found a problem with the PAP module in FreeRadius 0.6. In > our environment, we have a production box, running FreeRadius 0.5 and a > development box running 0.6 > > We're using MySQL for user authorization and PAP for password > authe

Re: 'OR' comparison for Attributes

2002-07-11 Thread Alan DeKok
Karl Pielorz <[EMAIL PROTECTED]> wrote: > This works fine, but is it possible to do the quivalent of: > > "Calling-Station-Id == 0123456789 >-or- > Calling-Station-Id == 0234567891" > > i.e. if The calling station ID is one value OR another value? Regexes. Calling-Station-Id =~ "01234

Re: having some problems..

2002-07-11 Thread Alan DeKok
"Johnno" <[EMAIL PROTECTED]> wrote: > I got the radius to work now.. but when I try to Authenticate request I get > > Auth: rlm_unix: [johnno]: invalid password > > but the password is right... any ideas??? Read the FAQ? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.fre

Re: FreeRADIUS Proxy and MS IAS

2002-07-11 Thread Alan DeKok
Dimitar Peikov <[EMAIL PROTECTED]> wrote: > Unfortunately I made proxy request but only PAP authentication > succeed. When using CHAP complain is about bad password! Read the FAQ on CHAP versus PAP. The same issues apply to IAS. Alan DeKok. - List info/subscribe/unsubscribe? See http://ww

Re: having some problems..

2002-07-11 Thread Emre Bastuz
Hi Johnno, Zitat von Johnno <[EMAIL PROTECTED]>: > I got the radius to work now.. but when I try to Authenticate request I get > Auth: rlm_unix: [johnno]: invalid password > but the password is right... any ideas??? you can turn on the "debug mode" of the radius server. Look into radiusd.conf a

Re[2]: HELP!.....Using Berkeley DBM

2002-07-11 Thread Andrei Koulik
BC> Ok, then what configuration do you think is missing? When I start radius I BC> keep getting this error: BC> Error: ERROR: Cannot find a configuration entry for module "dbm". BC> Thanks, BC> Brad Please send a fragment of your configuration file with all dbm related lines. Also s

Re: HELP!.....Using Berkeley DBM

2002-07-11 Thread Brad Crotchett
"J.J.Bailey" <[EMAIL PROTECTED]> wrote: > A few months ago I looked into dbm support too. I wasn't sure it was > working, so I started reading the code. This is from today's > snapshot, unchanged since earlier: > > muttley# find . -print | xargs fgrep use_dbm > ./src/include/radiusd.h:extern in

Problem with PAP modules in FreeRadius 0.6!

2002-07-11 Thread Deramus, Chris
Title: Problem with PAP modules in FreeRadius 0.6! I believe I have found a problem with the PAP module in FreeRadius 0.6. In our environment, we have a production box, running FreeRadius 0.5 and a development box running 0.6 We're using MySQL for user authorization and PAP for password auth

Re: HELP!.....Using Berkeley DBM

2002-07-11 Thread Brad Crotchett
BC> *in* the modules section. BC> Ok, then what parameters would it be looking for? I have told it the path BC> to the dbm file, what else would it need? Only "usersfile" parameter is expected in this version. In general way the section of dbm configuration look like: dbm { usersfile

RE: SP/ROUTING: Re: HELP!.....Using Berkeley DBM

2002-07-11 Thread Brad Crotchett
"J.J.Bailey" <[EMAIL PROTECTED]> wrote: > A few months ago I looked into dbm support too. I wasn't sure it was > working, so I started reading the code. This is from today's > snapshot, unchanged since earlier: > > muttley# find . -print | xargs fgrep use_dbm > ./src/include/radiusd.h:extern i

FreeBSD 4.6 and user threads

2002-07-11 Thread Giovanni P. Tirloni
Hi, Is it possible to have FreeRADIUS working with user threads in FreeBSD 4.6 ? It works ok with Linux but since FreeBSD 4.x doesn't have kernel threads it's a bit problematic to get that going. Any previous experience ? - Giovanni - List info/subscribe/unsubscribe? See http://www.free

having some problems..

2002-07-11 Thread Johnno
I got the radius to work now.. but when I try to Authenticate request I get Auth: rlm_unix: [johnno]: invalid password but the password is right... any ideas??? Many Thanks, Johnno - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: rotating sockets in sql.c

2002-07-11 Thread CheongMeng
Hi, I configured the mysql with num_sql_sock = 10 then I run 4 instances of radclient keep sending accounting data to the freeradius server. Found at radius.log, server say "There are no DB handles to use!". But mytop showed that there are still a number of sql socket sleeping! This does not hap

'OR' comparison for Attributes

2002-07-11 Thread Karl Pielorz
Hi All, I have a FreeRADIUS (0.6) server, hooked up with MySQL. In the various tables, I have a Group Check, which basically says: " Called-Station-Id == 0123456789 Auth-Type := Local Simultaneous-Use := 1 " This works fine, but is it possible to do the quivalent of: "Calling-Station

Re[2]: SP/ROUTING: Re: HELP!.....Using Berkeley DBM

2002-07-11 Thread Andrei Koulik
Thursday, July 11, 2002, 1:48:17 AM, Brad Crotchett wrote: BC> *in* the modules section. BC> Ok, then what parameters would it be looking for? I have told it the path BC> to the dbm file, what else would it need? Only "usersfile" parameter is expected in this version. In general way the sec

Re: FreeRADIUS Proxy and MS IAS

2002-07-11 Thread Dimitar Peikov
On Wed, 10 Jul 2002 12:25:31 -0400 "Alan DeKok" <[EMAIL PROTECTED]> wrote: > Dimitar Peikov <[EMAIL PROTECTED]> wrote: > > In this case NAS is MS RAS on 2k Server. > > > > This is explanation of error event 'A malformed request was received from= > > client . The data is the packet.' > >