Ok i commented out some parts of the radius.conf

( no proxy )

Here is my user in /etc/passwd

demo:*:1906:100:demo:/home/ftp/./:/etc/notelnet

until know the user config file, is the user.sample with no change

...

modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
    rlm_realm: Looking up realm NULL for User-Name = "demo"
    rlm_realm: No such realm NULL
  modcall[authorize]: module "suffix" returns noop
    users: Matched DEFAULT at 152
  modcall[authorize]: module "files" returns ok
modcall: group authorize returns ok
  rad_check_password:  Found Auth-Type System
auth: type "System"
modcall: entering group authenticate
rlm_unix: [demo]: invalid password
  modcall[authenticate]: module "unix" returns reject
modcall: group authenticate returns reject
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 217 to 127.0.0.1:3315
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 217 with timestamp 3d872403
Nothing to do.  Sleeping until we see a request

-----Messaggio originale-----
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Per conto di Artur
Hecker
Inviato: martedi 17 settembre 2002 11.58
A: [EMAIL PROTECTED]
Oggetto: Re: R: radius.conf


hi


> I must apologize for this, I din't realize immediately that would be a
> problem, sorry.
>
> I read the radius.conf, but I don't understand it, I mean....
> I don't understand if I need only unix/etc/passwd i must configure all
> other stuff
> as:
> acct_users
> huntgroups
> clients.conf
> users
> dictionary
> hints
> realms

so, just comment out everything you don't need in the radiusd.conf, it's
organized in modules.

> ----------------
> and the following error ??
>     rlm_realm: Looking up realm NULL for User-Name = "demo"
> what does it mean ??

it means that the proxying module takes the user "demo", looks up the
preconfigured suffix in it, doesn't find any, thus sets the realm part
of the user name to NULL (empty, nothing) and do not proxy the request
since such a realm is not configured. it's not really an error. e.g.
demo@foo would have produced the same but with realm "foo" since @ is a
configured suffix. just deactivate proxying if you don't need all that.


> I nead real configurations whether I use unix passwd ?
>
> log ---> doing the test:radtest demo demo localhost 0 testing123
>
> Ready to process requests.
> rad_recv: Access-Request packet from host 127.0.0.1:2915, id=255,
length=53
>         User-Name = "demo"
>         User-Password = "Nq\365\213\316\t\374U\3122n~dc2\323"
>         NAS-IP-Address = 255.255.255.255
>         NAS-Port-Id = "0"
> modcall: entering group authorize
>   modcall[authorize]: module "preprocess" returns ok
>     rlm_realm: Looking up realm NULL for User-Name = "demo"
>     rlm_realm: No such realm NULL
>   modcall[authorize]: module "suffix" returns noop
>     users: Matched DEFAULT at 152
>   modcall[authorize]: module "files" returns ok
> modcall: group authorize returns ok
>   rad_check_password:  Found Auth-Type System
> auth: type "System"
> modcall: entering group authenticate
> rlm_unix: [demo]: invalid password
>   modcall[authenticate]: module "unix" returns reject
> modcall: group authenticate returns reject
> auth: Failed to validate the user.

sure that the password of your user "demo" IS "demo"? does the user
exist? please post the user configuration.


ciao
artur


--
Artur Hecker
artur[at]hecker.info

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


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

Reply via email to