Working on a couple things.  Upgrading from 0.5 and getting mschap
working for my PPTP users.

I think I'm just about set with one exception.  I get the following
error and radiusd crashes.

radiusd: relocation error: /usr/local/lib/rlm_mschap-0.7-pre.so:
undefined symbol: md4_calc

I've also tried 0.6 and get the same problem except it's
rlm_mschap-0.6.so ... But still the same undefined symbol error.

I'm using mschap-v2 and mppe encryption on the client (xp).

my radiusd.conf is pretty much "out of the box" except the following and
the fact that I'm storing users in postgresql.

authorize{
   preprocess
   suffix
   sql
   mschap
}
authenticate{
    mschap
}

In the modules section:
mschap{
   auth-type = mschap
   use_mppe = yes
   require_strong = yes
}

Here's the exact error as it occurs (hope it doesn't wrap too bad):

rad_recv: Access-Request packet from host 63.167.48.244:1035, id=86,
length=136
        Service-Type = Framed-User
        Framed-Protocol = PPP
        User-Name = "charlieb"
        MS-CHAP-Challenge = 0xde1f7941026d2b5fe470814803f29b84
        MS-CHAP2-Response =
0x01003bb111bd68f73cc3dca9b2fff58e99520000000000000000b61d8737eb5e82e1be
2411e6932076d6459bff552656db5e
        NAS-IP-Address = 10.100.1.1
        NAS-Port = 0
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
    rlm_realm: Looking up realm NULL for User-Name = "charlieb"
    rlm_realm: No such realm NULL
  modcall[authorize]: module "suffix" returns noop
radius_xlat:  'charlieb'
sql_set_user:  escaped user --> 'charlieb'
radius_xlat:  'SELECT id,UserName,Attribute,Value FROM radcheck WHERE
Username = 'charlieb' ORDER BY id'
rlm_sql: Reserving sql socket id: 4
query: SELECT id,UserName,Attribute,Value FROM radcheck WHERE Username =
'charlieb' ORDER BY id
rlm_postgresql Status: PGRES_TUPLES_OK
sql_postgresql: affected rows =
radius_xlat:  'SELECT
radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgrou
pcheck.Value FROM radgroupcheck,usergroup WHERE usergroup.Username =
'charlieb' AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY
radgroupcheck.id'
query: SELECT
radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgrou
pcheck.Value FROM radgroupcheck,usergroup WHERE usergroup.Username =
'charlieb' AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY
radgroupcheck.id
rlm_postgresql Status: PGRES_TUPLES_OK
sql_postgresql: affected rows =
radius_xlat:  'SELECT id,UserName,Attribute,Value FROM radreply WHERE
Username = 'charlieb' ORDER BY id'
query: SELECT id,UserName,Attribute,Value FROM radreply WHERE Username =
'charlieb' ORDER BY id
rlm_postgresql Status: PGRES_TUPLES_OK
sql_postgresql: affected rows =
radius_xlat:  'SELECT
radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgrou
preply.Value FROM radgroupreply,usergroup WHERE usergroup.Username =
'charlieb' AND usergroup.GroupName = radgroupreply.GroupName ORDER BY
radgroupreply.id'
query: SELECT
radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgrou
preply.Value FROM radgroupreply,usergroup WHERE usergroup.Username =
'charlieb' AND usergroup.GroupName = radgroupreply.GroupName ORDER BY
radgroupreply.id
rlm_postgresql Status: PGRES_TUPLES_OK
sql_postgresql: affected rows =
radius_xlat:  'SELECT Value,Attribute FROM radcheck WHERE UserName =
'charlieb' AND ( Attribute = 'Password' or Attribute = 'User-Password'
OR Attribute = 'Crypt-Password' ) ORDER BY Attribute DESC'
query: SELECT Value,Attribute FROM radcheck WHERE UserName = 'charlieb'
AND ( Attribute = 'Password' or Attribute = 'User-Password' OR Attribute
= 'Crypt-Password' ) ORDER BY Attribute DESC
rlm_postgresql Status: PGRES_TUPLES_OK
sql_postgresql: affected rows =
rlm_sql: Released sql socket id: 4
  modcall[authorize]: module "sql" returns ok
radiusd: relocation error: /usr/local/lib/rlm_mschap-0.7-pre.so:
undefined symbol: md4_calc




Thanks for any insight.

Charlie



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

Reply via email to