Log auth message

BALSIANOK, Peter Peter.Balsianok at orange.sk
Fri Jun 21 10:34:34 CEST 2013


Thank you for the link Arran

I have tried to figure out, where is the problem

I`m not able to debug, what does macro RAUTH do :(. Coudl you please help me, thx.

radiusd at tdrad1test:/storage/app/radius/raddb/auth$ gdb /storage/app/radius/freeradius-3.0.0/sbin/radiusd
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /storage/app/radius/freeradius-3.0.0/sbin/radiusd...done.
(gdb) run -f -t -d /storage/app/radius/raddb/auth
Starting program: /storage/app/radius/freeradius-3.0.0/sbin/radiusd -f -t -d /storage/app/radius/raddb/auth
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
/storage/app/radius/
/storage/log/radius/radius/auth/
Info: Cache file /storage/log/radius/radius/auth/../cache/ldap_cache.db too old, ignoring
Starting with empty cache
^C
Program received signal SIGINT, Interrupt.
0x00007ffff5faa553 in select () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) b src/main/auth.c:153
Breakpoint 1 at 0x40d79e: file src/main/auth.c, line 153.
(gdb) continue
Continuing.

Breakpoint 1, rad_authlog (msg=0x44756d "Login OK", request=0x12c1460, goodpass=1) at src/main/auth.c:153
153		RAUTH("%s: [%s%s%s] (%s)%s",
(gdb) step
161		return 0;
(gdb) 
162	}
(gdb) 
rad_authenticate (request=0x12c1460) at src/main/auth.c:655
655		return result;


-----Original Message-----
From: freeradius-users-bounces+peter.balsianok=orange.sk at lists.freeradius.org [mailto:freeradius-users-bounces+peter.balsianok=orange.sk at lists.freeradius.org] On Behalf Of Arran Cudbard-Bell
Sent: Thursday, June 20, 2013 6:42 PM
To: FreeRadius users mailing list
Subject: Re: Log auth message


On 20 Jun 2013, at 14:32, "BALSIANOK, Peter" <Peter.Balsianok at orange.sk> wrote:

> Answer is simple, i don`t know how :) ( i don`t have propert skills )

http://beej.us/guide/bggdb/

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org> FreeRADIUS Development Team

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


More information about the Freeradius-Users mailing list