Maybe i found, where is problem ? radiusd@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) b src/main/auth.c:153 Breakpoint 1 at 0x40d79e: file src/main/auth.c, line 153. (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 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) info macro RAUTH Defined at /home/radiusd/freeradius-server-3.0.0/src/freeradius-devel/log.h:150 included at /home/radiusd/freeradius-server-3.0.0/src/freeradius-devel/radiusd.h:39 included at src/main/auth.c:26 #define RAUTH(fmt, ...) _RL(L_AUTH, L_DBG_LVL_OFF, fmt, ## __VA_ARGS__) (gdb) info macro -a RAUTH Defined at /home/radiusd/freeradius-server-3.0.0/src/freeradius-devel/log.h:150 included at /home/radiusd/freeradius-server-3.0.0/src/freeradius-devel/radiusd.h:39 included at src/main/auth.c:26 #define RAUTH(fmt, ...) _RL(L_AUTH, L_DBG_LVL_OFF, fmt, ## __VA_ARGS__) (gdb) info macro -all RAUTH Defined at /home/radiusd/freeradius-server-3.0.0/src/freeradius-devel/log.h:150 included at /home/radiusd/freeradius-server-3.0.0/src/freeradius-devel/radiusd.h:39 included at src/main/auth.c:26 #define RAUTH(fmt, ...) _RL(L_AUTH, L_DBG_LVL_OFF, fmt, ## __VA_ARGS__) (gdb) info macro _RL Defined at /home/radiusd/freeradius-server-3.0.0/src/freeradius-devel/log.h:142 included at /home/radiusd/freeradius-server-3.0.0/src/freeradius-devel/radiusd.h:39 included at src/main/auth.c:26 #define _RL(_l, _p, _f, ...) if (request && request->radlog) request->radlog(_l, _p, request, _f, ## __VA_ARGS__) (gdb) disp request 1: request = (REQUEST *) 0x12c1460 (gdb) disp request->radlog 2: request->radlog = (radlog_func_t) 0 Variable request->radlog is not defined. Am i right ? -----Original Message----- From: freeradius-users-bounces+peter.balsianok=orange.sk@lists.freeradius.org [mailto:freeradius-users-bounces+peter.balsianok=orange.sk@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@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@freeradius.org> FreeRADIUS Development Team - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html