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