Wrong Password or User does not exist

Alan DeKok aland at deployingradius.com
Sun Jan 27 20:37:58 CET 2013


Mahdi Alizadeh wrote:
> Thanks for reply. I am creating a general component and I have tendency
> to not change radius server configuration (otherwise, all the users
> using my component should set these configurations in their radius
> server).

  I have no idea what that means.

> Is it possible that we check whether a user with the entered
> username exist in the radius server or not by sending a query to the
> radius server?

  The RADIUS server isn't a database.  You can't query it.  You SHOULD
query a database for user information.

> I solved this problem in Active Directory by sending ldap
> query to the server. In this solution, if the authentication request is
> rejected, I will send a query to the server and I will check whether
> this user is defined in the active directory or not. If the user exists
> in the active directory, I conclude that password is wrong. Otherwise,
> the entered username is wrong. Is this solution applicable to the Radius
> Server (Radius server supports such query or something like that?) ?

  FreeRADIUS can query Active Directory, yes.

  Alan DeKok.


More information about the Freeradius-Devel mailing list