Re: Problem in authenticating user in NIS+ compat mode

2003-11-13 Thread akongr



Dear Alan,
Thank you for your help.
I uncommented the lines on those files as I thought they were required for
Unix.


Alan DeKok wrote:

  akongr <[EMAIL PROTECTED]> wrote:
  
I checked carefull when running radiusd -X, the radius server readsuser info from /etc/passwd , /etc/shadow and /etc/group.

  The default configuration of the server is to NOT read those files.So if your version reads those files, YOU changed it.  Why did you change the server to break it, and then complain on thelist that it's broken?

   As user info is stored in NIS+ tables, do you have anysuggestions/modifications on rlm_unix modules in order to read userinfo fom NIS+ tables.
  
Yes.  Use the server as it is.  Don't edit the configuration filesto break the server.  It works.  Alan DeKok.- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
  
  
  
  


Re: Problem in authenticating user in NIS+ compat mode

2003-11-12 Thread Alan DeKok
akongr <[EMAIL PROTECTED]> wrote:
> I checked carefull when running radiusd -X, the radius server reads
> user info from /etc/passwd , /etc/shadow and /etc/group.

  The default configuration of the server is to NOT read those files.
So if your version reads those files, YOU changed it.

  Why did you change the server to break it, and then complain on the
list that it's broken?

>  As user info is stored in NIS+ tables, do you have any
> suggestions/modifications on rlm_unix modules in order to read user
> info fom NIS+ tables.

  Yes.  Use the server as it is.  Don't edit the configuration files
to break the server.  It works.

  Alan DeKok.

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


Re: Problem in authenticating user in NIS+ compat mode

2003-11-11 Thread akongr



Dear Alan,

I checked carefull when running radiusd -X, the radius server reads user
info from /etc/passwd , /etc/shadow and /etc/group. As user info is stored
in NIS+ tables, do you have any suggestions/modifications on rlm_unix modules
in order to read user info fom NIS+ tables.

Thank you.

Regards
akongr

Alan DeKok wrote:

  akongr <[EMAIL PROTECTED]> wrote:
  
There was no problem if the user entry was entered in the /etc/passwd and /etc/shadow. However the user cound not be authenticated if the user was added in NIS format:+testuser:

  Then I would say that the problem lies with configuring the user inNIS+ on your system.  So far as FreeRADIUS is concerned, it just asksfor the password from the "system", and doesn't know (or care) if itcomes from /etc/passwd, or NIS+  Alan DeKok.- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html






Re: Problem in authenticating user in NIS+ compat mode

2003-11-11 Thread Juan Pablo Fava





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


Re: Problem in authenticating user in NIS+ compat mode

2003-11-11 Thread Alan DeKok
akongr <[EMAIL PROTECTED]> wrote:
> There was no problem if the user entry was entered in the /etc/passwd 
> and /etc/shadow. However the user cound not be authenticated if the user 
> was added in NIS format:
> +testuser:

  Then I would say that the problem lies with configuring the user in
NIS+ on your system.  So far as FreeRADIUS is concerned, it just asks
for the password from the "system", and doesn't know (or care) if it
comes from /etc/passwd, or NIS+

  Alan DeKok.


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


Re: Problem in authenticating user in NIS+ compat mode

2003-11-11 Thread akongr



Hi,

The user exists in the NIS+ system.

Do I need rlm_passwd module included when compile?

This was how I config. before comile:
./configure  --prefix=/usr/local/freeradius.0.9.2 --localstatedir=/var --enabl
e-ltdl-install --enable-ltdl-install

This was added to the beginning of "users" file came with the tar ball:

testuser    Auth-Type := System
  Fall-Through = 1

There was no problem if the user entry was entered in the /etc/passwd and
/etc/shadow. However the user cound not be authenticated if the user was
added in NIS format:
+testuser:

Pls advise whether I have missed some moduels or config.

Thank you very much.

Regards
Alan

Alan DeKok wrote:

  akongr <[EMAIL PROTECTED]> wrote:
  
I have no problem in authenticate users if the user entry in "users" file is:testuser Auth-Type = local password="testing123"However I could not get users authenticated when I tried to authenticateusers using system as follows:

...

  modcall: entering group authenticate for request 2  modcall[authenticate]: module "unix" returns notfound for request 2
  
Does the user exist in the NIS+ system?  Alan DeKok.- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
  
  
  
  


Re: Problem in authenticating user in NIS+ compat mode

2003-11-10 Thread Alan DeKok
akongr <[EMAIL PROTECTED]> wrote:
> I have no problem in authenticate users if the user entry in "users" 
> file is:
> testuser Auth-Type = local password="testing123"
> 
> However I could not get users authenticated when I tried to authenticate
> users using system as follows:
...
> modcall: entering group authenticate for request 2
>   modcall[authenticate]: module "unix" returns notfound for request 2

  Does the user exist in the NIS+ system?

  Alan DeKok.

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