I get similar behaviour with mine (FreeRadius 0.4 debian testing package,
2.4.18 kernel).

I just set a new box to auth against /etc/raddb/passwd and
/etc/raddb/sahdow. The only way I could get it to work is with caching.

However, on the original radius server that the passwd and shadow file
originate from, I have caching disabled, and am NOT specifying the location
of the shadow file. And that is the only way I can get that box to work.

Andrew Tait
System Administrator
Country NetLink Pty, Ltd
E-Mail: [EMAIL PROTECTED]
WWW: http://www.cnl.com.au
30 Bank St Cobram, VIC 3644, Australia
Ph: +61 (03) 58 711 000
Fax: +61 (03) 58 711 874

"It's the smell! If there is such a thing." Agent Smith - The Matrix
----- Original Message -----
From: "User for Free Radius mail list" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 10, 2002 11:11 AM
Subject: Cache /etc/passwd, /etc/shadow, and /etc/group


>
> System = Linux with kernel 2.4.18
>
> In the radiusd.conf file:
> The "Cache" setup does not work if you do not use shadow passwords. If the
> "shadow" line is left at the default value: (ie commented out)
>
>   To force the module to use the system password functions,
>                 #  instead of reading the files, comment out the 'passwd'
>                 #  and 'shadow' configuration entries.  This is required
>                 #  for some systems, like FreeBSD.
>                 #
>                 passwd = /etc/passwd
>                 #       shadow = /etc/shadow
>
> Then you will get an error:
>
>   Wed Oct  9 17:51:06 2002 : Info: HASH:  Reinitializing hash structures
>   and lists for caching...
>   Wed Oct  9 17:51:06 2002 : Error: rlm_unix:  You MUST specify a shadow
>   password file!
>   Wed Oct  9 17:51:06 2002 : Error: HASH:  unable to create user hash
table.
>   disable caching and run debugs
>   Wed Oct  9 17:51:06 2002 : Error: radiusd.conf[462]: unix: Module
>   instantiation failed.
>
> If you say "no" to the "cache" option:
>
>    #  For FreeBSD, you do NOT want to enable the cache,
>                 #  as it's password lookups are done via a database.
>                 #
>                 # allowed values: {no, yes}
>                 cache = no
>
> It loads up just fine.
>
>
> Is there something I'm missing or is the the default behavior of this
> setup?
>
> Thanks,
>
> Ken Rea
>
>
> -
> 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