Problem with passwd module

Alan DeKok aland at ox.org
Fri Sep 2 18:56:37 CEST 2005


Erling Paulsen <erling.paulsen at cc.uit.no> wrote:
> I'm using the passwd module to lookup users in a SMBPASSWD file. This
> works great. But if new users are added or a user change his/hers
> password. Then I have to restart freeradius to make changes visible to
> freeradius.

  Or, send it a HUP signal.  That's how *all* of the configuration
files work.

> Is there a way I can make freeradius lookup the SMBPASSWD file each time
> it tries to fetch user-data from it? It seems to me like it reads the file
> to memory and caches it!

  Yes.  Reading the file for every request is slow, and pointless.

> I have a script that makes a restart of the daemon everytime a new user is
> added or users changes their passwords. It can be quite som restarts, and
> I donæt like the risk of restarting the server so foten.
> 
> Any hints?

  Send it a HUP signal.

  Or, edit the source code to periodically reload the file.

  Alan DeKok.



More information about the Freeradius-Users mailing list