Problem with passwd module

Thor Spruyt thor.spruyt at telenet.be
Sat Sep 3 01:10:44 CEST 2005


Alan DeKok wrote:
> 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?

Consider a seperate backend in which to store user credentials and let samba
as well as freeradius auth against that backend.

--
Groeten, Regards, Salutations,

Thor Spruyt
M: +32 (0)475 67 22 65
E: thor.spruyt at telenet.be
W: www.thor-spruyt.com

www.salesguide.be
www.telenethotspot.be




More information about the Freeradius-Users mailing list