PAP questions.

Keith Woodworth kwoody at citytel.net
Sun Sep 10 02:45:54 CEST 2006


|->
|->> And while Radius seems to send an Access-Accept, the dialup user gets an
|->> error 691 password invalid.
|->
|->  Because you're not sending the same reply attributes as in the
|->previous example.  Fix that.
|->
|->> Again I get Access-Accept, but a 691 password error on the client side.
|->
|->  Again because the replies are empty.

Just testing a different way to do this I setup the users file with:

DEFAULT Service-Type = Framed-User
        Framed-Protocol = PPP,
        Framed-Routing = None,
        Framed-IP-Netmask = 255.255.255.255,
        Framed-Compression = Van-Jacobsen-TCP-IP,
        Framed-MTU = 1500

Now when I try to login:

rad_recv: Access-Request packet from host 204.244.99.67:1645, id=149,
length=76
        NAS-IP-Address = 204.244.98.67
        NAS-Port = 27
        NAS-Port-Type = Async
        User-Name = "tester"
        User-Password = "test"
        Service-Type = Framed-User
        Framed-Protocol = PPP
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 2
  modcall[authorize]: module "preprocess" returns ok for request 2
  modcall[authorize]: module "chap" returns noop for request 2
  modcall[authorize]: module "mschap" returns noop for request 2
    users: Matched entry DEFAULT at line 19
  modcall[authorize]: module "files" returns ok for request 2
radius_xlat:  'tester'
rlm_sql (sql): sql_set_user escaped user --> 'tester'
radius_xlat:  'SELECT id, UserName, Attribute, Value, op           FROM
radcheck           WHERE Username = 'tester'           ORDER BY id'
rlm_sql (sql): Reserving sql socket id: 2
radius_xlat:  'SELECT
radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op
FROM radgroupcheck,usergroup WHERE usergroup.Username = 'tester' AND
usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id'
radius_xlat:  'SELECT id, UserName, Attribute, Value, op           FROM
radreply           WHERE Username = 'tester'           ORDER BY id'
radius_xlat:  'SELECT
radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op
FROM radgroupreply,usergroup WHERE usergroup.Username = 'tester' AND
usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id'
rlm_sql (sql): Released sql socket id: 2
  modcall[authorize]: module "sql" returns ok for request 2
modcall: leaving group authorize (returns ok) for request 2
auth: type Crypt
Sending Access-Accept of id 149 to 204.244.99.67 port 1645
        Framed-Protocol = PPP
        Framed-Routing = None
        Framed-IP-Netmask = 255.255.255.255
        Framed-Compression = Van-Jacobson-TCP-IP
        Framed-MTU = 1500
Finished request 2
Going to the next request

Still get password rejected on client side though.





More information about the Freeradius-Users mailing list