> Bruno Negrão wrote:
>
> Hy all,
>
> Had someone already made a Radius server get its passwords of ppp
> access users in the vchkpw database?
> I don't want to have /etc/passwd.
>
> Thank you,
>
> |-----------------------------------------------
> |--Bruno Negrão ------------------------
> |--Engepel Teleinformática ---------
> |-----------------------------------------------

Hi Bruno,

Sorry to reply via the list. I did not see the original request and so do
not have your email address.

I have modified Cistron Radius 1.6.3 (http://www.miquels.cistron.nl/radius/)
to work with vpopmail. All authentication is done via the functions in the
vpopmail library, so users login using their entire email address. No system
accounts and only one place to update user information.

Let me know if you want a copy of my sources, but bear in mind that this is
a hack to work with my particular setup and was not meant for public
consumption; therefore it might not suit you without some mods.

Basically we have:-

1. vpopmail 3.4.11-2.released modified to set/reset bit fields in GID (I
think the latest vpopmail includes that functionality) and to create a
directory called 'web' in the users home directory

2. cistron radius modified to authenticate against the vpopmail library and
to use the information in the GID fields to determine user group (we have
mail-only, full access and isdn)

3. ftpd modified to use the vpopmail library for authentication and to
determine the user's home directory for chrooting purposes.

4. load mod_rewrite into apache to map a user to his home dir (ie if
www.eastcoast.co.za/abdulg is requested, then map to
/var/home/domains/eastcoast.co.za/5/abdulg/web)

5. run a daily cron job to create a the map for mod_rewrite from the vpasswd
files.

Regards

Abdul

Reply via email to