balijepalli srikrishnamohan
2006-Apr-20 03:26 UTC
[Samba] How to set mysql backend for samba; Urgent pls
Hello group, I Just joined the group and this is the first message to this group. I am facing a problem while configuring mysql backend to samba. I am using samba 2.2.7, mysql 5.0, pam-mysql-0.5 and RH9. Is it possible to set mysql backend for samba2.2.7? Pls explain the way to configure mysql to samba as backend. Regards Krishnam. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Collen Blijenberg
2006-Apr-20 06:56 UTC
[Samba] How to set mysql backend for samba; Urgent pls
Well hello, samba prior to version 3 doesn't support the pdb_mysql backend. perhaps there is a way around, but i don't think so. dunno what's your idea of samba & mysql, coz in your list you mention pam-mysql ?? my guesses are that pam-mysql is for the support of storing posix users in a mysql database, not samba users.! if you need mysql to store samba users, convert to samba 3, and wait for the next release. (coz from 3.0.14 - 3.0.22 the mysql backend is broke.) at the moment there is a project at sourceforge trying to make the mysql backend work again. ( https://sourceforge.net/projects/pdbsql ) but it won't be able to run until 3.0.23 (i guess) Cheers & Have Fun Collen Blijenberg. <MLHJ> balijepalli srikrishnamohan wrote:> Hello group, > > I Just joined the group and this is the first message > to this group. > > I am facing a problem while configuring mysql backend > to samba. > I am using samba 2.2.7, > mysql 5.0, pam-mysql-0.5 and RH9. > Is it possible to set mysql backend for samba2.2.7? > Pls explain the way to configure mysql to samba as > backend. > > Regards > Krishnam. > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com
Volker Lendecke
2006-Apr-20 08:59 UTC
[Samba] How to set mysql backend for samba; Urgent pls
On Wed, Apr 19, 2006 at 03:44:32AM -0700, balijepalli srikrishnamohan wrote:> I am facing a problem while configuring mysql backend > to samba. > I am using samba 2.2.7, > mysql 5.0, pam-mysql-0.5 and RH9. > Is it possible to set mysql backend for samba2.2.7? > Pls explain the way to configure mysql to samba as > backend.The sql backends in Samba 3 have always been experimental, and as they are largely unmaintained, we have removed them from Samba. 3.0.22 still has them, but 3.0.23 will not anymore. Under http://sourceforge.net/projects/pdbsql you find a project that aims to provide a patch that restores this functionality. Please be aware that this is not supported by the Samba Team anymore. Sorry, Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20060420/aad912e6/attachment.bin
Collen Blijenberg
2006-Apr-20 11:10 UTC
[Samba] How to set mysql backend for samba; Urgent pls
Hello, It's there for all 3.xx versions, it will be removed from the future versions and continue as an standalone project. (3.0.23 i guess) you have to compile samba with expsam mysql. (be sure you have the development package from mysql installed) you could use the ldap backend, coz it's more stable, and has more options. Cheers Collen balijepalli srikrishnamohan wrote:> Hello Collen, > Thanks for your reply. > Let me ask another question on this. > Is mysql support for samba as backend is not there for > all other current available versions(like versions > before 3.0.14) or is it only not work the versions > range you specified. > If it is not there i'll move to ldap support. > Regards, > Krishnam. > --- Collen Blijenberg <collen@mail.hermanjordan.nl> > wrote: > >> Well hello, >> >> samba prior to version 3 doesn't support the >> pdb_mysql backend. >> perhaps there is a way around, but i don't think so. >> >> dunno what's your idea of samba & mysql, coz in your >> list you mention >> pam-mysql ?? >> my guesses are that pam-mysql is for the support of >> storing posix users >> in a mysql database, not samba users.! >> >> if you need mysql to store samba users, convert to >> samba 3, and wait for >> the next release. >> (coz from 3.0.14 - 3.0.22 the mysql backend is >> broke.) >> at the moment there is a project at sourceforge >> trying to make the mysql >> backend work again. ( >> https://sourceforge.net/projects/pdbsql ) >> but it won't be able to run until 3.0.23 (i guess) >> >> Cheers & Have Fun >> >> Collen Blijenberg. >> <MLHJ> >> >> >> balijepalli srikrishnamohan wrote: >>> Hello group, >>> >>> I Just joined the group and this is the first >> message >>> to this group. >>> >>> I am facing a problem while configuring mysql >> backend >>> to samba. >>> I am using samba 2.2.7, >>> mysql 5.0, pam-mysql-0.5 and RH9. >>> Is it possible to set mysql backend for >> samba2.2.7? >>> Pls explain the way to configure mysql to samba as >>> backend. >>> >>> Regards >>> Krishnam. >>> >>> __________________________________________________ >>> Do You Yahoo!? >>> Tired of spam? Yahoo! Mail has the best spam >> protection around >>> http://mail.yahoo.com >> > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com