[Samba] MySQL user information storage

Andrew Bartlett abartlet at samba.org
Sat Feb 28 23:24:17 GMT 2004

On Sun, 2004-02-29 at 00:10, Nejc Skoberne wrote:
> Hello,
> I would like to know if it is possible not to have Samba users as
> UNIX systems users (at least without system passwords!), if I use MySQL
> backend with Samba 3.0.2b?
> Also, is there any good documentation about Samba and MySQL
> cooperation besides Samba HOWTO?
> My goal is to use same MySQL database (same users table!) for Samba
> authentication, Postfix, Courier-IMAP and ProFTPd.

I would strongly suggest LDAP for this goal.  The nss_ldap module is
mature, and many system services can authenticate against it.  Samba
uses pdb_ldap to access it's attributes.

If you must use MySQL, there is an experimental passdb backend for
MySQL, but you must also use nss_mysql etc.

Andrew Bartlett

Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040229/b50fd1a8/attachment.bin

More information about the samba mailing list