Re: vmps documentation?

2008-04-02 Thread bmccorkle
tarted right up after I fixed that. All those english classes ruined my programming skills :) Everything seems to be working, thanks Phil, Alan for all the help! -- View this message in context: http://www.nabble.com/vmps-documentation--tp16315996p16446927.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: vmps documentation?

2008-04-01 Thread Phil Mayers
server vmps { ... stuff vmps { ... stuff mac2vlan.authorize If (!ok) { update reply { VMPS-VLAN-Name = "Public" } } } } "If" is wrong - it should be "if" - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/use

Re: vmps documentation?

2008-04-01 Thread Alan DeKok
bmccorkle wrote: > Ok, that let me get it working. I had to use mac2vlan.authorize instead of > just the module name. Perhaps I should have mentioned I'm running 2.0.1 on > FreeBSD (2.0.3 doesn't seem to be available on the ports collection yet). Grab the current CVS snapshot. It has sample

Re: vmps documentation?

2008-04-01 Thread bmccorkle
vmps { ... stuff vmps { ... stuff mac2vlan.authorize If (!ok) { update reply { VMPS-VLAN-Name = "Public" } } } } The server refuses to start at all until I comment out the if statement. Did I forget to read something on module return codes or am I

Re: vmps documentation?

2008-04-01 Thread Alan DeKok
Phil Mayers wrote: > Normally you simply configure the module correctly i.e. prefix the key > with a * and reply items with = as per "man rlm_passwd" > > modules { > passwd mac2vlan { > filename = /etc/raddb/mac2vlan > format = "*MyMac:=VMPS-VLAN-Name" > hashsize = 100 You probabl

Re: vmps documentation?

2008-03-31 Thread Phil Mayers
bmccorkle wrote: Ok, that info helped me out but not all the way. I created another virtual server 'vmps' in the sites available folder and linked the file to sites-enabled. I got this code off of another post here that uses a sql db... vmps { # the mac address can be in several places...

Re: vmps documentation?

2008-03-31 Thread bmccorkle
file for the mac to vlan mapping? Nothing I tried seemed to work. I'm trying to do something like this... If "Mac Address" = "Mac address in Text File" then VMPS-VLAN-NAME = "VLAN Group in Text File" Else VMPS-VLAN-NAME = "Guest Access Group" --

Re: vmps documentation?

2008-03-27 Thread Alan DeKok
bmccorkle wrote: > Can someone point me to documentation on how to use vmps in freeradius 2? Er... Documentation? > I've googled for documents but only find a few discussions on the topic > (mostly from this forum). I get the part on adding the listen section in > radiusd.conf so the server l

Re: vmps documentation?

2008-03-27 Thread Ivan Kalik
Also, the one or two >examples I have seen seem to use a mysql database to store the mac >addresses. Can freeradius use a simple text file to store the mac addresses >for comparison or do they need to be stored in a database? > >-- >View this message in context: >http://www.na

vmps documentation?

2008-03-27 Thread bmccorkle
resses for comparison or do they need to be stored in a database? -- View this message in context: http://www.nabble.com/vmps-documentation--tp16315996p16315996.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradiu