store freebsd accounts in mysql ???

2004-03-16 Thread zhengyibiao
 
Hi: 
I am using freebsd5.2, because i have a large number of users counted by ten thousand, 
use the passwd file to store user accounts and password lead to unbearable delay. I 
want to know if freebsd support store accounts in places other than '/etc/passwd' 
file, best support mysql database for passwd database backend. 
any hints is welcome. 
regards billy 
Naisa Systems,Inc http://www.naisa.net 

- Done. 

Naisa Systems,Inc http://www.naisa.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: store freebsd accounts in mysql ???

2004-03-16 Thread Mike Jackson
[EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
  
 Hi: 
 I am using freebsd5.2, because i have a large number of users counted by ten 
 thousand, use the passwd file to store user accounts and password lead to unbearable 
 delay. I want to know if freebsd support store accounts in places other than 
 '/etc/passwd' file, best support mysql database for passwd database backend. 
 any hints is welcome. 
 regards billy 

Hi,
 Newest versions of FreeBSD support PAM authentication, which can
abstract the authentication database to anything which there is a PAM
module available.

 I would advise against storing user accounts in MySQL, but rather store
them in OpenLDAP (or your LDAP server software of choice). To perform
user lookup you need nss_ldap, and to perform authentication you need
pam_ldap.

BR,
Mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: store freebsd accounts in mysql ???

2004-03-16 Thread Antoine Jacoutot
On Tuesday 16 March 2004 17:38, [EMAIL PROTECTED] wrote:
 I am using freebsd5.2, because i have a large number of users counted by
 ten thousand, use the passwd file to store user accounts and password lead
 to unbearable delay. I want to know if freebsd support store accounts in
 places other than '/etc/passwd' file, best support mysql database for
 passwd database backend. any hints is welcome.
 regards billy
 Naisa Systems,Inc http://www.naisa.net

I think it should works under  5.1-RELEASE using pam-mysql and libnss-mysql.
I never tested it though, I'm using ldap for authentication.

Antoine
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]