Log auth message

BALSIANOK, Peter Peter.Balsianok at orange.sk
Thu Jun 20 14:24:33 CEST 2013


Hi,

I have added test code into radius sourec code:

radiusd at tdrad1test:~/freeradius-server-3.0.0$ diff -uN src/main/auth.c.orig src/main/auth.c
--- src/main/auth.c.orig	2013-06-20 14:21:41.610790604 +0200
+++ src/main/auth.c	2013-06-20 14:20:38.974815618 +0200
@@ -146,6 +146,10 @@
 	}
 
 
+	radlog( L_AUTH, "!!!! Show this row %s %s", 
+		clean_username,
+		auth_name(buf, sizeof(buf), request, 1)
+	);
 	RAUTH("%s: [%s%s%s] (%s)%s",
 		       msg,
 		       clean_username,

After compilation, i sent test request. 

Log output:
Thu Jun 20 14:20:46 2013 : Info: Loaded virtual server <default>
Thu Jun 20 14:20:46 2013 : Info: Loaded virtual server default
Thu Jun 20 14:20:46 2013 : Info: Ready to process requests.
Thu Jun 20 14:20:55 2013 : Auth: !!!! Show this row gre at test.sk from client localhost port 0 cli 421995222222

IMHO, I think the problem is in the RAUTH macro.

-----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 A.L.M.Buxey at lboro.ac.uk
Sent: Wednesday, June 19, 2013 1:56 PM
To: FreeRadius users mailing list
Subject: Re: Log auth message

Hi,

have you run in 'radiusd -X' mode yet at all?

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


More information about the Freeradius-Users mailing list