User-Password required Authentication problem
Ivan Kalik
tnt at kalik.net
Thu Aug 28 13:01:05 CEST 2008
Could be. You haven't posted the debug of request processing, so we
can't see what's going on.
Ivan Kalik
Kalik Informatika ISP
Dana 28/8/2008, "Syed Anwarul Hasan" <syedanwarulhasan2007 at gmail.com>
piše:
>Hi Ivan, this is the request .Sorry Ivan, I didn't fix the name resolution
>for locahost. This Problem is due to this.
>I will fix the name resolution.
>
>SYED
> # radtest hasan thales localhost 1 testing123
>Sending Access-Request of id 241 to 127.0.0.1 port 1812
> User-Name = "hasan"
> User-Password = "thales"
> NAS-IP-Address = 192.168.1.131
> NAS-Port = 1
>rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=241,
>length=20
>
>
>2008/8/28 Ivan Kalik <tnt at kalik.net>
>
>> Well, ldap found the user but didn't find the password. Post the debug
>> from the request.
>>
>> Ivan Kalik
>> Kalik Informatika ISP
>>
>>
>> Dana 28/8/2008, "Syed Anwarul Hasan" <syedanwarulhasan2007 at gmail.com>
>> piše:
>>
>> >Hi Alan,
>> >Since I am using a Plain password in the LDAP database, hence I tried to
>> do
>> >LDAP Authentication with Auth-type set to LDAP.
>> >Even I tried with only uncommenting ldap in Authorize and Authenticate
>> >section of default file in sites-enabled.Still, I am having the Problem
>> with
>> >*no Authenticate method found for user error.
>> >Please comment.
>> >SYED
>> >*
>> >debug o/p:
>> >++[ldap] returns ok
>> >++[expiration] returns noop
>> >++[logintime] returns noop
>> >rlm_pap: WARNING! No "known good" password found for the user.
>> >Authentication may fail because of this.
>> >++[pap] returns noop
>> >*auth: No authenticate method (Auth-Type) configuration found for the
>> >request: Rejecting the user*
>> >auth: Failed to validate the user.
>> > Found Post-Auth-Type Reject
>> >+- entering group REJECT
>> > expand: %{User-Name} -> hasan
>> > attr_filter: Matched entry DEFAULT at line 11
>> >
>> >
>> >On Wed, Aug 27, 2008 at 7:19 PM, Alan DeKok <aland at deployingradius.com
>> >wrote:
>> >
>> >> Syed Anwarul Hasan wrote:
>> >> > ... Also in the Sites-enabled dir under default file, I have
>> >> > added in the Authorize section I added,
>> >> > *update control {
>> >> > Auth-Type :=ldap
>> >>
>> >> Why? All of the documentation and configuration files say DO NOT DO
>> >> SET AUTH-TYPE.
>> >>
>> >> ...
>> >> > rlm_ldap: Attribute "User-Password" is required for authentication.
>> >> > Cannot use " (null)".
>> >>
>> >> You are sending the server a request that doesn't contain a
>> >> User-Password attribute.
>> >>
>> >> Don't set Auth-Type.
>> >>
>> >> Alan DeKok.
>> >> -
>> >> List info/subscribe/unsubscribe? See
>> >> http://www.freeradius.org/list/users.html
>> >>
>> >
>> >
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>
More information about the Freeradius-Users
mailing list