Hi,

   I'm trying to send a few 'Cisco-AVPair' attribute in my RADIUS 
replies. From what i've seen, it works perfectly when these pairs are 
given for an user. But when I try to set it for a whole group, only the 
last defined pair is sent back to the NAS.

>From Postgres :
========
radiusdb=# select * from radgroupreply;                                  
                    
 id | groupname |  attribute   | value 
----+-----------+--------------+-------
  1 | users     | Cisco-AVPair | test0
  2 | users     | Cisco-AVPair | test1
(2 rows)

radiusdb=# select * from usergroup;
 id | username | groupname 
----+----------+-----------
  1 | test     | users
(1 row)
========

And :
========
[root@scsi raddb]# radtest test test localhost Port testing123
Sending Access-Request of id 134 to 127.0.0.1:1812
        User-Name = "test"
        Password = "\200\345.B>m\215\032\360\371\351\364\323\031\031Q"
        NAS-IP-Address = scsi.accelance.lyon
        NAS-Port-Id = "Port"
rad_recv: Access-Accept packet from host 127.0.0.1:1812, id=134, 
length=33
        Cisco-AVPair = "test0"
========

   Is it a bug or am I missing something ?

   I am using the SQL module with a PostgreSQL 7.0 database. I've tried 
it on 0.3 and 0.4 without success.



Thomas FAVIER
Accelance
Tel: +33 (0)4 37 43 12 22
Fax: +33 (0)4 37 43 12 20
www.accelance.fr


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to