[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] mysql accounting problem
From: |
Tomasz Tyczynski |
Subject: |
Re: [Help-gnu-radius] mysql accounting problem |
Date: |
Wed, 28 Jan 2004 12:21:23 +0100 (CET) |
> Tomasz,
>
> Make sure your NAS does send accounting requests.
>
> Regards,
> Sergey
Thanks Sergey.
Perhaps I understand it :)
OK.
I configured Apache + mod_auth_radius /based on Alan DeKok's and so on -
http://www.wede.de/sw/mod_auth_radius/
It works fine - but without 'mysql accounting'.
Because i don't understand global idea :) /'who is who'/.
Is Apache "NAS" or "client"? :)
OK.
After Apache client authorization (according to above) i give following
log in /my_path/acct/NAS/detail.auth/:
-----------------------
Tue Jan 20 14:01:00 2004
User-Name = ttyc
Service-Type = Authenticate-Only
NAS-Identifier = server.domain.waw.pl
NAS-IP-Address = 10.0.0.2
Timestamp = 1074603660
----------------------
"Authenticate-Only" - is it finish my problem? :)
Next is my 'debug':
----------------------
Jan 28 13:11:58 files.c:691:hints_setup: called for `ttyc'
Jan 28 13:11:58 files.c:849:huntgroup_access: returning 1
Jan 28 13:11:58 auth.c:684:rad_authenticate: auth: ttyc
Jan 28 13:11:58 files.c:332:user_find_sym: looking for ttyc
Jan 28 13:11:58 files.c:1402:paircmp: returning 0
Jan 28 13:11:58 files.c:342:user_find_sym: returning 1
Jan 28 13:11:58 auth.c:292:rad_check_password: auth_type=3,
userpass=mysql, name=ttyc, password=LSQKGbQwOLycQ
Jan 28 13:11:58 auth.c:322:rad_check_password: auth: Crypt
Jan 28 13:11:58 auth.c:333:rad_check_password: pwbuf: LSQKGbQwOLycQ
Jan 28 13:11:58 auth.c:1175:sfn_ack: ACK: ttyc
Jan 28 13:11:58 Login OK [ttyc]
-----------------------
regards, thanks
Tomasz Tyczynski