[RADIATOR] testing with Huawei -- Bad Password
Hugh Irvine
hugh at open.com.au
Thu Jul 31 01:40:26 CDT 2008
Hello David -
Your syntax is incorrect, should be:
huawei at test.com User-Password = abc
See section 13.1.1 in the Radiator 4.3 reference manual ("doc/ref.pdf").
You should also make sure the shared secrets are correct between your
client device(s) and Radiator.
For your second question, you need to reference the AuthLog clause in
the Realm or Handler where you want it.
regards
Hugh
On 31 Jul 2008, at 16:16, David Yeung wrote:
> Hi,
>
>
>
> I am testing radiator with Huawei equipment.
>
>
>
> At the moment , I am not passing the first base.
>
>
>
>
>
> I had a Bad password problem. Radiaus log as follow :-
>
>
>
> Thu Jul 31 16:01:55 2008: DEBUG: Handling with Radius::AuthFILE:
>
> Thu Jul 31 16:01:55 2008: DEBUG: Reading users file /etc/radiator/
> users
>
> Thu Jul 31 16:01:55 2008: DEBUG: Radius::AuthFILE looks for match
> with huawei at test.com [huawei at test.com]
>
> Thu Jul 31 16:01:55 2008: DEBUG: Radius::AuthFILE REJECT: Bad
> Password: huawei at test.com [huawei at test.com]
>
> Thu Jul 31 16:01:55 2008: DEBUG: AuthBy FILE result: REJECT, Bad
> Password
>
> Thu Jul 31 16:01:55 2008: INFO: Access rejected for
> huawei at test.com: Bad Password
>
>
>
> I had put the user file with nothing but just below
>
>
>
> huawei at test.com User-Password == abc
>
>
>
>
>
> I had used tried “huawei at test.com” User-Password == “abc”
>
>
>
> And no joy.
>
>
>
>
>
> Can you shed some light on what I can do?
>
>
>
>
>
> Also in radius.cfg
>
>
>
> I had
>
>
>
> <AuthLog FILE>
>
> Identifier unwired_authlog
>
>
>
> # this logs the date, the username at realm, the NAS-IP-Address
> and the word FAIL
>
> # delimited with :, to the authlog
>
> FailureFormat %l:%n:FAIL
>
> Filename %L/authlog.log
>
> # LogSuccess 0
>
> # For debug we log success
>
> LogSuccess 1
>
> LogFailure 1
>
> </AuthLog>
>
>
>
>
>
> But I cound not find the /var/log/radius/authlog.log
>
>
>
> (I could see the /var/log/radius/radius-2008-07-31.log)
>
>
>
> ***
>
>
>
> I had a very similar config in another box running the older
> version of radiator (3.3) and I could see the authlog.log
>
>
>
>
>
> Please help.
>
>
>
> Bye!
>
> David Yeung.
>
>
>
>
>
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator
NB:
Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/
radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
Have you checked the RadiusExpert wiki:
http://www.open.com.au/wiki/index.php/Main_Page
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.
More information about the radiator
mailing list