Hello Hugo -

In Brandon's case below the problem is due to the double "$1$$1$ prefix in the
password entry. There should only be one "$1$".

Have a look at section 13.1.1 in the Radiator 2.16.3 reference manual.

regards

Hugh


> 
> Dear Brandon,
> 
>     First, Let me introduce myself, I work on PSINET Brazil and I am =
> testing radiator on a FreeBSD and having the same kind of problem you =
> have. I saw a message you sent to radiator list (see bellow) and could =
> you help me with it if you already figure out what the radiator can not =
> autheticate users? I am using a Flat File with crypt password. The =
> message i have is "Bad Encrypted password".
> 
> Thanks,
> Hugo Jos=E9 C.C. Dias
> PSINet - Salvador
> System Administrator Latam=20
> 55 71 340-3301
> [EMAIL PROTECTED]
> Visite www.psinet.com.br - PSINet "The Internet Super Carrier"
> 
> 
> 
> 
> 
> 
> Hello Brandon -
> 
> You can see what the tests are by having a look at the file test.pl in =
> the
> main Radiator distribution directory. From the description there I am
> guessing that you are running on FreeBSD? If so, have you just moved =
> across
> to this platform? In any case, I am guessing that the password =
> encryption on
> this platform is different to what you were using before.
> 
> Could you let me know what platform you are using and include your
> configuration file (no secrets) together with a trace 4 debug showing =
> what
> is going on.
> 
> thanks
> 
> Hugh
> 
> NB - I'm travelling for a couple of weeks ...
> 
> --
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
> Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
> Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
> 
> 
> ----- Original Message -----
> From: "Brandon" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 29, 2000 5:10 PM
> Subject: (RADIATOR) Bad Password
> 
> 
> I recently attempted to upgrade from version 2.13 to 2.15 but when I did =
> so
> all of a sudden all users are being denied access.  In the logfile with =
> a
> trace set to 4 I get the following:
> 
> Radius::AuthUNIX REJECT: Bad Encrypted password
> 
> I know the encrypted password is correct, because on my secondary server =
> it
> has a duplicate of this file and it works just fine.  Through some =
> hacking
> of the util.pm and authgeneric.pm file I added the following lines to =
> the
> file
> 
> &main::log($main::LOG_WARNING, "password variable");
> 
> to attempt to find out why the encrypted password was giving an =
> incorrect
> result.
> It appears that the util.pm file is giving a response of
> 
> Wed Mar 29 01:49:34 2000: WARNING:
> $1$$1$$oHccQDVZhB/NxZSd7dTxA.$4q9edq2DPjkjehGxsSI8G
> 
> and trying to compare this password below with it in the =
> authengeneric.pm
> file.
> 
> Wed Mar 29 01:49:34 2000: WARNING: $1$$oHccQDVZhB/NxZSd7dTxA.
> 
> Of course the two don't match...    I am wondering if anyone has any =
> clue as
> to why this is occuring.   I tried both Radiator 2.14.1 and Radiator =
> 2.15
> and on both got a BAD ENCRYPTED PASSWORD error in the logfile for a =
> password
> that I know is 100% correct.
> 
> One thing that may be the cause of the problem (unsure) is that when I =
> did a
> "make test" it came up with the following results however because I =
> don't
> know what the tests are... I am unsure as to why they are stating "not =
> ok".
> 
> not ok 2r
> not ok 2t
> not ok 2v
> 
> Please let me know of any suggestions that you have.   I have
> already tried reinstalling perl and MD5 and it did not help.
> 
> Brandon
> 
> 
> 
> ------=_NextPart_000_0269_01C02E35.1436BD50
> Content-Type: text/html;
>       charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content=3D"text/html; charset=3Diso-8859-1" =
> http-equiv=3DContent-Type>
> <META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>Dear Brandon,</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; First, Let me =
> introduce myself,=20
> I work on PSINET Brazil and I am testing radiator on a FreeBSD and =
> having the=20
> same kind of problem you have. I saw a message you sent to radiator list =
> (see=20
> bellow) and could you help me with it if you already figure out what the =
> 
> radiator can not autheticate users? I am using a Flat File with crypt =
> password.=20
> The message i have is "Bad Encrypted password".<BR></FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Hugo Jos=E9 C.C. Dias<BR>PSINet - =
> Salvador<BR>System=20
> Administrator Latam <BR>55 71 340-3301<BR><A=20
> href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A><BR>Visite <A=20
> href=3D"http://www.psinet.com.br">www.psinet.com.br</A> - PSINet "The =
> Internet=20
> Super Carrier"<BR><BR></DIV></FONT>
> <DIV>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
> <DIV>&nbsp;</DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>Hello Brandon -<BR><BR>You can see what =
> the tests=20
> are by having a look at the file test.pl in the<BR>main Radiator =
> distribution=20
> directory. From the description there I am<BR>guessing that you are =
> running on=20
> FreeBSD? If so, have you just moved across<BR>to this platform? In any =
> case, I=20
> am guessing that the password encryption on<BR>this platform is =
> different to=20
> what you were using before.<BR><BR>Could you let me know what platform =
> you are=20
> using and include your<BR>configuration file (no secrets) together with =
> a trace=20
> 4 debug showing what<BR>is going on.<BR><BR>thanks<BR><BR>Hugh<BR><BR>NB =
> - I'm=20
> travelling for a couple of weeks ...<BR><BR>--<BR>Radiator: the most =
> portable,=20
> flexible and configurable RADIUS server<BR>anywhere. SQL, proxy, DBM, =
> files,=20
> LDAP, NIS+, password, NT, Emerald,<BR>Platypus, Freeside, Interbiller, =
> TACACS+,=20
> PAM, external, etc, etc.<BR>Available on Unix, Linux, FreeBSD, Windows=20
> 95/98/2000, NT, MacOS X.<BR><BR><BR>----- Original Message =
> -----<BR>From:=20
> "Brandon" &lt;[EMAIL PROTECTED]&gt;<BR>To:=20
> &lt;[EMAIL PROTECTED]&gt;<BR>Sent: Wednesday, March 29, 2000 5:10=20
> PM<BR>Subject: (RADIATOR) Bad Password<BR><BR><BR>I recently attempted =
> to=20
> upgrade from version 2.13 to 2.15 but when I did so<BR>all of a sudden =
> all users=20
> are being denied access.&nbsp; In the logfile with a<BR>trace set to 4 I =
> get the=20
> following:<BR><BR>Radius::AuthUNIX REJECT: Bad Encrypted =
> password<BR><BR>I know=20
> the encrypted password is correct, because on my secondary server =
> it<BR>has a=20
> duplicate of this file and it works just fine.&nbsp; Through some =
> hacking<BR>of=20
> the util.pm and authgeneric.pm file I added the following lines to=20
> the<BR>file<BR><BR>&amp;main::log($main::LOG_WARNING, "password=20
> variable");<BR><BR>to attempt to find out why the encrypted password was =
> giving=20
> an incorrect<BR>result.<BR>It appears that the util.pm file is giving a =
> response=20
> of<BR><BR>Wed Mar 29 01:49:34 2000:=20
> WARNING:<BR>$1$$1$$oHccQDVZhB/NxZSd7dTxA.$4q9edq2DPjkjehGxsSI8G<BR><BR>an=
> d=20
> trying to compare this password below with it in the=20
> authengeneric.pm<BR>file.<BR><BR>Wed Mar 29 01:49:34 2000: WARNING:=20
> $1$$oHccQDVZhB/NxZSd7dTxA.<BR><BR>Of course the two don't=20
> match...&nbsp;&nbsp;&nbsp; I am wondering if anyone has any clue =
> as<BR>to why=20
> this is occuring.&nbsp;&nbsp; I tried both Radiator 2.14.1 and Radiator=20
> 2.15<BR>and on both got a BAD ENCRYPTED PASSWORD error in the logfile =
> for a=20
> password<BR>that I know is 100% correct.<BR><BR>One thing that may be =
> the cause=20
> of the problem (unsure) is that when I did a<BR>"make test" it came up =
> with the=20
> following results however because I don't<BR>know what the tests are... =
> I am=20
> unsure as to why they are stating "not ok".<BR><BR>not ok 2r<BR>not ok =
> 2t<BR>not=20
> ok 2v<BR><BR>Please let me know of any suggestions that you =
> have.&nbsp;&nbsp; I=20
> have<BR>already tried reinstalling perl and MD5 and it did not=20
> help.<BR><BR>Brandon<BR><BR></DIV></FONT></BODY></HTML>
> 
> ------=_NextPart_000_0269_01C02E35.1436BD50--
> 
> 
> 
> 
> ---End of forwarded mail from [EMAIL PROTECTED]
> 
> -- 
> Mike McCauley                               [EMAIL PROTECTED]
> Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
> 24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
> Phone +61 3 9598-0985                       Fax   +61 3 9598-0955
> 
> Radiator: the most portable, flexible and configurable RADIUS server 
> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
> Platypus, Freeside, TACACS+, PAM, external, Active Directory etc etc 
> on Unix, Win95/8, 2000, NT, MacOS 9, MacOS X
> ===
> Archive at http://www.starport.net/~radiator/
> Announcements on [EMAIL PROTECTED]
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to