Re: Parse errors with Cisco-Avpair

This is a discussion on Re: Parse errors with Cisco-Avpair within the FreeRADIUS Users forums, part of the Networking and Network Related category; William Gemmill wrote: > I'm trying to use FreeRADIUS with a Cisco router to implement an > authentication proxy. ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-09-2007
Alan DeKok
 
Posts: n/a
Default Re: Parse errors with Cisco-Avpair

William Gemmill wrote:
> I'm trying to use FreeRADIUS with a Cisco router to implement an
> authentication proxy. However when I try to define a test user in
> users, I'm getting a parse error on the spaces in the ACLs. Has anyone
> else implemented something similar? I found several guides for cisco
> logins, but they did not cover ACLs. Any help would be appreciated.


The problem isn't the ACL's, but the format of the entry you provided.

> *users file:*
>
> steve Auth-Type := Local, User-Password == "testing"
> Cisco-Avpair="auth-proxy:priv-lvl=15",
> Cisco-Avpair="auth-proxy:proxyacl#1=permit tcp any any eq 26",
> Cisco-Avpair="auth-proxy:proxyacl#2=permit icmp any host 60.0.0.2",
> Cisco-Avpair="auth-proxy:proxyacl#3=permit tcp any any eq ftp",
> Cisco-Avpair="auth-proxy:proxyacl#4=permit tcp any any eq ftp-data",
> Cisco-Avpair="auth-proxy:proxyacl#5=permit tcp any any eq smtp",
> Cisco-Avpair="auth-proxy:proxyacl#6=permit tcp any any eq telnet"


The reply attributes need to be indented. You haven't done that.

See the other examples in the "users" file, the examples in the FAQ,
and the "man users" documentation, which describes the format of each entry.

Alan DeKok.
--
http://deployingradius.com - The web site of the book
http://deployingradius.com/blog/ - The blog
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:33 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0