On Thu, 21 Nov 2002 [EMAIL PROTECTED] wrote:
>
> Hi, I'm working with postgresql and pap authorize module..I have an entry in the
> radcheck table of my database that contains a clear text passwod for the user,
> so I change this value in the pap module in radius.conf like this:
>
> pap {
> encryption_scheme = clear
> }
>
> and this is my entry:
>
> id | username | attribute | value | op
> ----+----------+---------------+----------+----
> 1 | mcelleri | User-Password | camaleon | :=
>
>
>
> but when I prove to login with radtest ...the debug mode radiusd -X , gives me
> this :
>
>
> rad_recv: Access-Request packet from host 127.0.0.1:1148, id=224, length=58
> User-Name = "mcelleri"
> User-Password = "\025\361)\306e\206X\300v\373\216\213\235\016\354\360"
> NAS-IP-Address = 255.255.255.255
> NAS-Port-Id = "10"
> rad_rmspace_pair: User-Name now 'mcelleri'
> rad_rmspace_pair: User-Password now 'camaleon'
> modcall: entering group authorize
> modcall[authorize]: module "preprocess" returns ok
> rlm_realm: Looking up realm NULL for User-Name = "mcelleri"
> rlm_realm: No such realm NULL
> modcall[authorize]: module "suffix" returns noop
> users: Matched mcelleri at 2
> modcall[authorize]: module "files" returns ok
> modcall: group authorize returns ok
I don't see the sql module anywhere in the authorize section!
> rad_check_password: Found Auth-Type PAP
> auth: type "PAP"
> modcall: entering group authtype
> rlm_pap: login attempt by "mcelleri" with password camaleon
> rlm_pap: Could not find password for user mcelleri
> modcall[authenticate]: module "pap" returns invalid
> modcall: group authtype returns invalid
> auth: Failed to validate the user.
> Login incorrect (rlm_pap: User password not available): [mcelleri/camaleon]
> (from client localhost port 0)
> Delaying request 0 for 1 seconds
> Finished request 0
> Going to the next request
>
> I should use another type of authorization module?
>
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED] National Technical University of Athens, Greece
Work Phone: +30 210 7721861
'Go back to the shadow' Gandalf
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html