[freeside] Next Step

ivan ivan at 420.am
Sun Aug 12 00:54:50 PDT 2001


On Sun, Aug 12, 2001 at 03:23:05AM -0400, Rob Spurlock wrote:
> I can appreciate the Free vs. Need.  I will try to ask more pointed
> questions.
> 
> Ok, let's start with the first part..
> 
> I have gotten as far as getting the ssh setup to talk to each other
> on the radius server and the freeside server.  I even have freeside
> sending over the "new" users file.  The question is:
> 
> My current users file looks like this:
> user at lock-net	Password = "password"
> 	Port-Limit = 1,
> 	Service-Type = Framed,
> 	Framed-Protocol = PPP,
> 	Framed-IP-Address = 255.255.255.254,
> 	Framed-IP-Netmask = 255.255.255.255,
> 	Idle-Timeout = 1200,
> 	Session-Timeout = 28800
> 
> and the one freeside generated looks like this:
> username         Password = "password"
>         ,
>         Framed-IP-Address = "0.0.0.0"
> 
> The question is, where do I control what the users file looks like? 
> I know it gets the Framed-IP-Address from the slipip but what about
> the rest?

You can specify additional RADIUS check or reply attributes when you run
fs-setup, or use the bin/fs-radius-add-check and bin/fs-radius-add-reply
scripts to add them later.

>  I see where it puts the information together in
> svc_acct.export.  Do I just manually add the info in there?  How do I
> specify the number of allowed ports per service?

Usually, using a `Port-Limit' RADIUS check attribute.

> 
> Thanks again.
> 
> Rob Spurlock
> Lock-Net
> 
> 
> ---- Original Message ----
> From: ivan at 420.am
> To: ivan-freeside at sisd.com, 
> Subject: Re: [freeside] Next Step
> Date: Sat, 11 Aug 2001 18:23:24 -0700
> 
> >On Sat, Aug 11, 2001 at 09:06:27PM -0400, Rob Spurlock wrote:
> >> Ok, like I said, I've read these.  I need more than this.
> >
> >"need" does not get along too well with "free".
> >
> >> I
> >> understand that I need a config file called radiusmachines and the
> >> docs say::
> >> 
> >> radiusmachines - users is copied to the /etc/raddb directory on the
> >> remote machine. If no errors occur, the command ( builddbm ) is
> >> executed on the remote machine
> >> 
> >> But Do I create the users file somewhere?  Where do I put it?
> >
> >No.  Freeside creates a `users' file.
> >
> >> How does freeside add users to the users file?
> >
> >Freeside does not add users to an existing users file.
> >The bin/svc_acct.export script creates a users file from the 
> >svc_acct 
> >table, containing all entries with a non-empty slipip field.
> >
> >> Do I need some kind of
> >> DEFAULT entry in the users file to tell freeside where to add the 
> >new
> >> user?  As for how I get the users file over, I read about importing
> >> legacy data.  I read::
> >> 
> >> bin/svc_acct.import - Import `passwd', ( `shadow' or 
> >`master.passwd'
> >> ) and RADIUS `users'. Before running bin/svc_acct.import, you need
> >> services (with table svc_acct) as follows: 
> >> Most accounts probably have entries in passwd and users (with
> >> Port-Limit nonexistant or 1) 
> >> Some accounts have entries in passwd and users, but with 
> >Port-Limit 2
> >> (or more) 
> >> Some accounts might have entries in users only (Port-Limit 1) 
> >> Some accounts might have entries in users only (Port-Limit >= 2) 
> >> POP mail accounts have entries in passwd only, and have a 
> >particular
> >> shell. 
> >> Everything else in passwd is a shell account. 
> >> 
> >> But it doesn't really tell me a whole lot.  A little clarification
> >> this one also would help.
> >
> >If you want help, you need to ask specific questions about what you 
> >do
> >not understand, not ask for vague "clarification".
> >
> >> 
> >> Thanks!
> >> 
> >> Rob
> >> 
> >> 
> >> ---- Original Message ----
> >> From: ivan at 420.am
> >> To: ivan-freeside at sisd.com, 
> >> Subject: Re: [freeside] Next Step
> >> Date: Sat, 11 Aug 2001 04:13:51 -0700
> >> 
> >> >htdocs/docs/export.html
> >> >htdocs/docs/config.html
> >> >
> >> >On Sat, Aug 11, 2001 at 07:00:01AM -0400, Rob Spurlock wrote:
> >> >> Ok folks,
> >> >> 
> >> >> I have gotten freeside 1.3.1 installed and running.  I've setup 
> >my
> >> >> account, etc and gotten a new customer added.  My question is 
> >> >'What's
> >> >> next?'.  I've tried to read all I can but can't see anything 
> >that
> >> >> makes sense to me about how to make it talk to my other 
> >servers.  I
> >> >> have freeside running on a RH7.1 box using mysql 3.23.40.  I 
> >need 
> >> >to
> >> >> know how the provisioning aspect of this software works.  We run
> >> >> Merit Radius on a separate RH6.2 server that we need to talk 
> >to.  
> >> >In
> >> >> fact, at this point, all I need to be able to do is talk to my 
> >> >radius
> >> >> server and my mail server (NT based) but one step at a time.  
> >> >Anyone
> >> >> give me a little push?
> >> >> 
> >> >> Thanks!
> >> >> Rob Spurlock
> >> >> Lock-Net
> >> >> 
> >> >> 
> >> >> Webmail Provided by Lock-Net Internet Services: www.lock-net.com
> >> >> 
> >> >
> >> >-- 
> >> >meow
> >> >_ivan
> >> >
> >> 
> >> Webmail Provided by Lock-Net Internet Services: www.lock-net.com
> >> 
> >
> >-- 
> >meow
> >_ivan
> >
> 
> Webmail Provided by Lock-Net Internet Services: www.lock-net.com
> 

-- 
meow
_ivan



More information about the freeside-users mailing list