The interesting thig is this: If I change my password in sql (different password) I can see the password.
If I put right password in sql, when I am trying to call I can see some encrypted password.

So, why the login password is encrypted if it is the same as sql passord?

thanks


# Executing group from file /etc/raddb/sites-enabled/default
+- entering group PAP {...}
[pap] login attempt with password "/5§Ó?"
[pap] Using clear text password "12345"
[pap] Passwords don't match
++[pap] returns reject
Failed to authenticate the user.
  WARNING: Unprintable characters in the password.        Double-check the shared secret on the server and the NAS!
Using Post-Auth-Type Reject


++[pap] returns updated
Found Auth-Type = PAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group PAP {...}
[pap] login attempt with password "12345"
[pap] Using clear text password "12"
[pap] Passwords don't match
++[pap] returns reject
Failed to authenticate the user.
Using Post-Auth-Type Reject


From: miha_zoubek@hotmail.com
To: freeradius-users@lists.freeradius.org
Subject: RE: Clear text password (radius)
Date: Fri, 3 Dec 2010 10:00:10 +0000

Hello,

I have chacked all this thing but I do not see any problem.

This is configuration on nas:

##----- Activate RADIUS connection
setProperty com.centile.connectors.aaa.watchdog.enable false
setProperty com.centile.connectors.aaa radius
setProperty com.centile.connectors.aaa.localserv intraswitch
setProperty com.centile.connectors.aaa.localpass 12345
setProperty com.centile.connectors.aaa.remotserv 1.2.3.4
setProperty com.centile.connectors.aaa.remotport 1812
setProperty com.centile.connectors.aaa.calltype any


You can see that the shered secret is 1235.


Please help me.

In attachment please find configuration files.


Thanks!!

miha

> Date: Fri, 3 Dec 2010 16:40:59 +0700
> Subject: Re: Clear text password (radius)
> From: work@fajar.net
> To: freeradius-users@lists.freeradius.org
>
> On Fri, Dec 3, 2010 at 4:31 PM, Miha Zoubek <miha_zoubek@hotmail.com> wrote:
> > Now my secret on nas and on radius is the same but I am still
> > geting WARNING: Unprintable characters in the password.        Double-check
> > the shared secret on the server and the NAS!.
>
> Did you change anything on the radius config files?
> Your previous debug does NOT show that problem.
> Something you do cause the shared secret to be mismtached again after that.
>
> PLEASE check these basic things beforehand, nobody likes wasting time.
>
> Judging from your questions, I highly suggest you simply use
> Cleartext-Password, and making sure you can authenticate succesfully
> first. Don't even bother with Crypt-Password or MD5-Password just yet.
>
> --
> Fajar
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

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