Hello, Try ./configure --with-expsam=mysql
for compiling in mysql backend..
---------------------------------------------
Collen Blijenberg (MLHJ)

Thursday, March 4, 2004, 9:36:18 AM, you wrote:

洲>   i download samba3.02 source tar package from samba.org , do the below
洲> steps on my freebsd5.2

洲> #./configure --with-mysql-prefix=/usr/local/mysql
洲> #....
洲> #make
洲> #....
洲> #make install
洲> #.....

洲> after install, i add a user:

洲> #pdbedit -a billy

洲> then use the simple smb.conf

洲>   [global]
洲>   security=user
洲>   [tmp]
洲>   path=/tmp
洲>   guest ok=yes

洲>  everything is ok, i can access this samba server using windows client.
洲> then i following the instruction from 
洲> /usr/local/samba/doc/htmldoc/passdb.html, add the lines into smb.conf

洲>   passdb backend=mysql:foo
洲>   foo:mysql user=samba
洲>   ......

洲> create the user table in mysql and insert a user named billy, restart the
洲> smbd and nmbd, 
洲> then my window client can't access the samba server, and even more, runing

洲> #pdbedit -L

洲> on the server gives the error message below:

洲> #No buildin nor plugin backend for mysql found
洲> #Loading mysql:foo failed!

洲> i really don't know which step did i do wrong, thanks.

洲> _________________________________________________________________
洲> 免费下载 MSN Explorer:   http://explorer.msn.com/lccn  



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to