hi, Are there any alternative authentication methods for Samba? Other thank the smbpasswd file? I'd like to do PostgreSQL or mySQL. Why? Because I can do Exim/IMAP/POP3 Apache/Zope with SQL, if I could do Samba it would wrap it up into one nice DB for authentication. It does not have to be much, just the ability to get the data from a SQL query rather than a flat file query. Anyone interested in working on this if it does not exist? Thanks, j. -- ...................... ..... Jason C. Leach .. PGP/GPG Public key at http://www.keyserver.net/ Key ID: 157BD48C
Jason, This question has come up rather frequently lately, and probably should be added to a FAQ. Anyway, no functionallity exists in Samba to authenticate to a SQL database, and such an option would probably be a rather difficult piece of code to create. If this is truly what you want, you might want to look for a PAM module that allows you to authenticate to a SQL database, and then build Samba with PAM support, and use PAM through Samba to authenticate your Windows users. This isn't a perfect solution, as it requires you to use clear-text passwords, but it would indeed work. Hope that helps. ----------------------------------------------- Sean P. Elble Editor, Writer, Co-Webmaster ReactiveLinux.com (Formerly MaximumLinux.org) http://www.reactivelinux.com/ elbles@reactivelinux.com ----------------------------------------------- ----- Original Message ----- From: "Jason C. Leach" <jleach@mail.ocis.net> To: <samba@lists.samba.org> Sent: Wednesday, October 31, 2001 11:37 PM Subject: Alternative Auth Methods.> hi, > > Are there any alternative authentication methods for Samba? Other > thank the smbpasswd file? I'd like to do PostgreSQL or mySQL. Why? > Because I can do Exim/IMAP/POP3 Apache/Zope with SQL, if I could do > Samba it would wrap it up into one nice DB for authentication. > > It does not have to be much, just the ability to get the data from > a SQL query rather than a flat file query. > > Anyone interested in working on this if it does not exist? > > Thanks, > j. > -- > ...................... > ..... Jason C. Leach > .. > > PGP/GPG Public key at http://www.keyserver.net/ > Key ID: 157BD48C > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
On Wed, 31 Oct 2001, Jason C. Leach wrote:> hi, > > Are there any alternative authentication methods for Samba? Other > thank the smbpasswd file? I'd like to do PostgreSQL or mySQL. Why? > Because I can do Exim/IMAP/POP3 Apache/Zope with SQL, if I could do > Samba it would wrap it up into one nice DB for authentication. > > It does not have to be much, just the ability to get the data from > a SQL query rather than a flat file query. > > Anyone interested in working on this if it does not exist?Log way arround: Samba can authenticate (under most conditions) with PAM PAM can authenticate against a radius server (freeradius) freeradius can authenticate agaist a database. I haven't done it, in theory, however, this should mean that given a well engineered DB you can then authenticate just about any server from the single source. Yours Tony. /* * "The significant problems we face cannot be solved at the * same level of thinking we were at when we created them." * --Albert Einstein */
On Wed, 31 Oct 2001, Jason C. Leach wrote:> hi, > > Are there any alternative authentication methods for Samba? Other > thank the smbpasswd file? I'd like to do PostgreSQL or mySQL. Why? > Because I can do Exim/IMAP/POP3 Apache/Zope with SQL, if I could do > Samba it would wrap it up into one nice DB for authentication.See the --with-XXXsam experiemental options in 2.2.2 cheers, jerry --------------------------------------------------------------------- www.samba.org SAMBA Team jerry_at_samba.org www.plainjoe.org jerry_at_plainjoe.org --"I never saved anything for the swim back." Ethan Hawk in Gattaca--