2.0.0-pre0 Out of memory in event.c

2007-04-12 Thread Alexander Serkin
Hi.
Some problems with
FreeRADIUS Version 2.0.0-pre0, for host i686-pc-linux-gnu, built on Apr 
12 2007 at 12:58:32
taken from cvs today:

rad_recv: Access-Request packet from host 127.0.0.1 port 46565, id=8, 
length=95
 User-Name = carta.skylink.msk.ru
 User-Password = cisco
 Calling-Station-Id = 250099013297573
 Framed-Protocol = PPP
 Service-Type = Framed-User
 NAS-IP-Address = 212.119.97.85
   Processing the authorize section of radiusd.conf
modcall:  entering group authorize for request 0
   modcall[authorize]: module preprocess returns ok for request 0
 rlm_realm: No '@' in User-Name = carta.skylink.msk.ru, looking up 
realm NULL
 rlm_realm: Found realm NULL
 rlm_realm: Adding Stripped-User-Name = carta.skylink.msk.ru
 rlm_realm: Proxying request from user carta.skylink.msk.ru to realm 
NULL
 rlm_realm: Adding Realm = NULL
 rlm_realm: Authentication realm is LOCAL.
   modcall[authorize]: module suffix returns noop for request 0
 users: Matched entry DEFAULT at line 106
   modcall[authorize]: module files returns ok for request 0
   modcall[authorize]: module chap returns noop for request 0
radius_xlat:  'carta.skylink.msk.ru'
rlm_sql (sqlauth): sql_set_user escaped user -- 'carta.skylink.msk.ru'
rlm_sql (sqlauth): Reserving sql socket id: 3
radius_xlat:  'SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE 
Username = 'carta.skylink.msk.ru' ORDER BY id'
SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username = 
'carta.skylink.msk.ru' ORDER BY id
radius_xlat:  'SELECT GroupName FROM usergroup WHERE 
UserName='carta.skylink.msk.ru' OR CLID='250099013297573' order by priority'
SELECT GroupName FROM usergroup WHERE UserName='carta.skylink.msk.ru' OR 
CLID='250099013297573' order by priority
rlm_sql (sqlauth): Released sql socket id: 3
rlm_sql (sqlauth): User carta.skylink.msk.ru not found
   modcall[authorize]: module sqlauth returns notfound for request 0
modcall: group authorize returns ok for request 0
   rad_check_password:  Found Auth-Type Local
auth: type Local
auth: No password configured for the user
Login incorrect (No password configured for the user): 
[carta.skylink.msk.ru/cisco] (from client localhost port 0 cli 
250099013297573)
auth: Failed to validate the user.
Login incorrect: [carta.skylink.msk.ru/cisco] (from client localhost 
port 0 cli 250099013297573)
]event.c:1277] Out of memory

Program exited with code 01.
(gdb)

no core unfortunately.

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


Re: 2.0.0-pre0 Out of memory in event.c

2007-04-12 Thread Alan DeKok
Alexander Serkin wrote:
...
 auth: Failed to validate the user.
 Login incorrect: [carta.skylink.msk.ru/cisco] (from client localhost 
 port 0 cli 250099013297573)
 ]event.c:1277] Out of memory

  It looks like you don't have a Post-Auth Reject {} section in
radiusd.conf.  That's OK.  I'll fix the code so that it skips it if not
found.

  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