Hello, I have successfully compiled samba with the mysql module. I had to make this change for it to compile. In: samba-3.0.7/source/passwd/pdb_mysql.c change #include <mysql/mysql.h> to #include <mysql.h> Then I setup the smb.conf file for mysql: netbios name = machine workgroup = coach security = user domain logons = yes domain master = yes passdb backend = mysql:samba samba:mysql host = localhost samba:mysql user = samba1 samba:mysql password = password samba:mysql database = samba samba:lanman pass column = lm_pw samba:nt pass column = nt_pw samba:plain pass column = NULL Samba is able to connect to the database with no errors. I used mysql.dump to create the database. All went good at this part and the database looks ok. Then I used pdbedit to create a user called username. Now what is happening when I try to mount the drive from windows I get an error in the log: [2004/11/04 12:58:20, 0] smbd/service.c:make_connection(800) mach5 (66.201.209.1) couldn't find service username Regards, Frank Torontour Network Administrator frank@canasoft.net 514-341-1579 EX-214 1-800-427-6012 Ex-214
Hi, On Thu, Nov 04, 2004 at 03:54:26PM -0500, Frank Torontour wrote about '[Samba] samba and mysql backend':> Samba is able to connect to the database with no errors. I used > mysql.dump to create the database. All went good at this part and the > database looks ok. Then I used pdbedit to create a user called username. > Now what is happening when I try to mount the drive from windows I get > an error in the log:> [2004/11/04 12:58:20, 0] smbd/service.c:make_connection(800) > mach5 (66.201.209.1) couldn't find service usernameDo you have a [homes] service? Cheers, Jelmer -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.samba.org/archive/samba/attachments/20041104/a5722bd4/attachment.bin