sql auth problems with 2.0.0-pre

Alexander Serkin als at cell.ru
Thu Apr 12 13:12:31 CEST 2007


Milan Holub wrote:
> Hi Alexander,
> 
> On Thu, Apr 12, 2007 at 02:52:49PM +0400, Alexander Serkin wrote:
>> Doesn't matter, Arran. Tried User-Password and '==' with the same 
>> result: module "sqlauth" returns ok but then:
>>
>>    rad_check_password:  Found Auth-Type Local
>> auth: type Local
>> auth: No password configured for the user
> 
> ==> post your radiusd.conf; you probably explicitly overrides the result of sqlauth by
> setting the Auth-Type to Local somewhere in your config...
> 

yes i did. In users file:
     users: Matched entry DEFAULT at line 106:

DEFAULT                Huntgroup-Name == MSK, Realm == NULL, Auth-Type 
:= Local

Changed the line to
DEFAULT         Huntgroup-Name == MSK, Realm == NULL

and added pap to the end of authorize section.

Now with different negative result:

   modcall[authorize]: module "sqlauth" returns ok for request 0
rlm_pap: WARNING! No "known good" password found for the user. 
Authentication may fail because of this.
   modcall[authorize]: module "pap" returns noop for request 0
modcall: group authorize returns ok for request 0
auth: No authenticate method (Auth-Type) configuration found for the 
request: Rejecting the user
auth: Failed to validate the user.


-- 
Sincerely Yours,
Alexander



More information about the Freeradius-Users mailing list