[Samba] where is the pdb_mysql.so

=?gb2312?B?1qMg3six6w==?= zhengyibiao at hotmail.com
Thu Mar 4 08:36:18 GMT 2004


  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  



More information about the samba mailing list