Re: building RPM from source

2007-08-15 Thread A . L . M . Buxey
Hi, My issue is that I am wanting mysql (on separate server) support built into freeradius, but I can't find any information on how that is done within the spec file. edit the spec file to ensure that MySQL is used. ensure that you have all the correct devel RPMs installed for FreeRADIUS to

error of accuonting with sql counter

2007-08-15 Thread zahra bahar
Hi. I set dailycounter in account part of radius.conf.but wen I run radiusd -x it writes this eeror: sql counter modules aren't allowed in 'accounting' sections - - they have no such method what is wrong in my setting? - Building a website is a piece of

Re: Radius is running away with the CPU

2007-08-15 Thread Alan DeKok
David wrote: ... So what would cause that file to get so big? I notice in the radiusd.conf it mentions in the session section that The rlm_sql module is *much* faster the default configuration uses radutmp. If I change it to sql then I could leave the radutmp commented out of the accounting

Re: Compile error - rlm_sqlippool

2007-08-15 Thread Alan DeKok
Dominique Demore wrote: I'm in the process of migrating our older installation to 1.1.7. During the compile, I am receiving the following error during make If you're not using sqlippool, just delete that directory. Alan DeKok. - List info/subscribe/unsubscribe? See

Re: building RPM from source

2007-08-15 Thread Matt Garretson
Fred Zinsli wrote: I am attempting to build an RPM from source on my FC5 box. Try to get a more recent source RPM from a repository, and then tweak the spec file to fit your needs. The Fedora builds will support MySQL by default. It'd be easier than trying to write your own spec file from

RE: Multiple (different) LDAP servers and authorisation

2007-08-15 Thread Stewart James
Thanks Phil 1. For PAP, you can authenticate the user by asking the LDAP module to to an LDAP simple bind with the pap username/password 2. For MS-CHAP, you install samba, join the domain, and use the ntlm_auth helper binary in the mschap module Option 1 is the way things are being handled

Re: building RPM from source

2007-08-15 Thread Fred Zinsli
Thanks for the comments. I have got a copy of 1.1.7 source but my issue is that I don't know how to enable mysql in the spec file. Also if I compile from source to I have to install freeradius-mysql or is it all in the single build? Also, do I have to have mysql installed on the build machine

Re: building RPM from source

2007-08-15 Thread Matt Garretson
Fred Zinsli wrote: I have got a copy of 1.1.7 source but my issue is that I don't know how to enable mysql in the spec file. The spec file that comes in the Fedora source RPM I suggested shows you exactly how to do it. In fact, it's done for you. :) Also, do I have to have mysql

force the user to use a unique NAS

2007-08-15 Thread Toledo, Luis Carlos
I have two load-balanced NAS with diferents networks, the users can use the first or second NAS to gain network access from dynamic ips via rlm_ipool (two diferents ip pools) radius module. But now, I need to use unique fix ip from some users. How can I force the user to use a unique NAS ? If

Simple Freeradius configuration

2007-08-15 Thread Kelly Ormsby
Hi all, I've installed freeradius 1.1.6 on Fedora core 2 (kernel 2.6.5-1.358) (I can't upgrade please don't go there). I did a basic configure/make/make install. The only changes to the default configuration is adding an entry to the clients.conf file to allow requests from the Cisco VPN

Re: Simple Freeradius configuration

2007-08-15 Thread Nicholas Hall
On 8/15/07, Kelly Ormsby [EMAIL PROTECTED] wrote: Hi all, I've installed freeradius 1.1.6 on Fedora core 2 (kernel 2.6.5-1.358) (I can't upgrade please don't go there). I did a basic configure/make/make install. The only changes to the default configuration is adding an entry to the

Re: Simple Freeradius configuration

2007-08-15 Thread Kelly Ormsby
Hi, I can't do that the Cisco won't allow it through. Is pap the only way to use /etc/passwd? Thanks, On 8/16/07, Nicholas Hall [EMAIL PROTECTED] wrote: On 8/15/07, Kelly Ormsby [EMAIL PROTECTED] wrote: Hi all, I've installed freeradius 1.1.6 on Fedora core 2 (kernel 2.6.5-1.358) (I

Re: Simple Freeradius configuration

2007-08-15 Thread Scott Lambert
On Thu, Aug 16, 2007 at 10:47:58AM +0800, Kelly Ormsby wrote: Hi all, I've installed freeradius 1.1.6 on Fedora core 2 (kernel 2.6.5-1.358) (I can't upgrade please don't go there). I did a basic configure/make/make install. The only changes to the default configuration is adding an entry

Re: Simple Freeradius configuration

2007-08-15 Thread Kelly Ormsby
Ok, thanks Nicholas Hall and Scott Lambert. I'd rather use CHAP for the encryption and since the cisco router won't allow PAP through. I guess I'll just have to suck up the management overhead of maintaining a clear text password list. Thanks, On 8/16/07, Scott Lambert [EMAIL PROTECTED] wrote:

rlm_sql - accept user based only on username

2007-08-15 Thread Pshem Kowalczyk
Hi, I'm trying to build a radius system that accepts users only based on their username (which in our case is a mixture of calling and called station id). What should i put in the radcheck (and possibly radreply) to achive it? Basically if the username is in the table is should get accepted. Any