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

Reply via email to