[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: users on db ?



----- Original Message -----
From: "Ben-Nes Michael" <miki@canaan.co.il>
To: "Tal Amir" <tal@whatsup.co.il>; "ILUG" <linux-il@linux.org.il>
Sent: Sunday, January 07, 2001 10:25 AM
Subject: Re: users on db ?


> The Reason is I can maintain mail users and radius users on the same DB
> without duplication and with great administration ability.

Hi Michael,

A few people have suggested solution, some of which mentioned MySQL.
I personally don't think that MySQL or any other SQL database is the correct
solution in this case, unless you already have the database populated.

IMHO, The correct solution to such a problem is using a "directory service".
In the past, that usually meant NIS or similar, but nowadays this can be
LDAP.
If you install an OpenLDAP server, you can use PAM for the authentication
(using pam_ldap). This way, you'll have all your info in the central LDAP
database, and any service which can connect to LDAP or PAM can use it.

I use OpenLDAP for user authentication (login to Linux), email (with Postfix
and Cyrus) and more. RADIUS can of course use PAM against LDAP.
If you want to separate mail users and "regular" users, you might want to
use Cyrus IMAP/POP server, which has this feature.

Gavrie.


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il