vlan assignment

inl2goal syaoran.sakura at gmail.com
Tue Nov 27 23:02:39 CET 2007


I am having trouble configuring VLAN assignment for CISCO switches,

this is the debug output from when the user authenticates, any ideas?

thanks

rlm_sql (sql): Released sql socket id: 2
  modcall[authorize]: module "sql" returns ok for request 13
rlm_pap: Found existing Auth-Type, not changing it.
  modcall[authorize]: module "pap" returns noop for request 13
modcall: leaving group authorize (returns updated) for request 13
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 13
  rlm_eap: Request found, released from the list
  rlm_eap: EAP/md5
  rlm_eap: processing type md5
  rlm_eap: Freeing handler
  modcall[authenticate]: module "eap" returns ok for request 13
modcall: leaving group authenticate (returns ok) for request 13
  Processing the post-auth section of radiusd.conf
modcall: entering group post-auth for request 13
rlm_sql (sql): Processing sql_postauth
radius_xlat:  'tortuga'
rlm_sql (sql): sql_set_user escaped user --> 'tortuga'
radius_xlat:  'INSERT into radpostauth (user, pass, reply, date) values
('tortuga', 'Chap-Password', 'Access-Accept', NOW())'
radius_xlat:  '/usr/local/var/log/radius/sqltrace.sql'
rlm_sql (sql) in sql_postauth: query is INSERT into radpostauth (user, pass,
reply, date) values ('tortuga', 'Chap-Password', 'Access-Accept', NOW())
rlm_sql (sql): Reserving sql socket id: 1
rlm_sql_mysql: query:  INSERT into radpostauth (user, pass, reply, date)
values ('tortuga', 'Chap-Password', 'Access-Accept', NOW())
rlm_sql (sql): Released sql socket id: 1
  modcall[post-auth]: module "sql" returns ok for request 13
modcall: leaving group post-auth (returns ok) for request 13
Sending Access-Accept of id 17 to 10.19.100.196 port 1645
        Framed-Protocol := PPP
        Service-Type := Framed-User
        Framed-Compression := Van-Jacobson-TCP-IP
        Tunnel-Type:0 := VLAN
        Tunnel-Medium-Type:0 := IEEE-802
        Tunnel-Private-Group-Id:0 := "120"
        EAP-Message = 0x03030004
        Message-Authenticator = 0x00000000000000000000000000000000
        User-Name = "tortuga"
Finished request 13

the user gets the attribute from a SQL table

mysql> select * from radgroupreply;
+----+-----------+-------------------------+----+---------------------+
| id | GroupName | Attribute               | op | Value               |
+----+-----------+-------------------------+----+---------------------+
|  1 | admin     | Framed-Protocol         | := | PPP                 | 
|  2 | admin     | Service-Type            | := | Framed-User         | 
|  3 | admin     | Framed-Compression      | := | Van-Jacobsen-TCP-IP | 
| 10 | admin     | Tunnel-Type             | := | VLAN                | 
| 11 | admin     | Tunnel-Medium-Type      | := | IEEE-802            | 
| 13 | admin     | Tunnel-Private-Group-ID | := | 120                 | 
+----+-----------+-------------------------+----+---------------------+
-- 
View this message in context: http://www.nabble.com/vlan-assignment-tf4884769.html#a13980961
Sent from the FreeRadius - User mailing list archive at Nabble.com.




More information about the Freeradius-Users mailing list