Hello, i had a hell of 2 days figuring out why the pdb_mysql plugin is not
loaded/recognized correctly on my Debian box. Being a good Debian guy i want to
keep all self compiled stuff under /usr/local, and the story begins ...
first, in the manpage i would appreciate the following changes:
preload modules (G)
This is a list of paths to modules that should be loaded into smbd before a
client connects. This improves the speed of smbd when reacting to new
It is recommended to only use this option on heavy-performance servers.
i would recommend:
It might be only usefull in a heavy-performance server, or if you keep your
modules in a path other than /usr/lib/samba/pdb.
passdb backend (G)
in this section i would add something like:
take care of holding your extra modules in /usr/lib/samba/pdb or to set the
preload modules parameter correctly to the path your module is located.
in the documentation/examples/pdb/mysql/smb.conf:
This is NOT working:
netbios name = FOOBAR
workgroup = TESTGROUP
security = domain
domain logons = yes
domain master = yes
passdb backend = plugin:/usr/local/samba/lib/pdb_mysql.so:mysql
mysql:mysql host = rhonwyn
mysql:mysql user = samba
mysql:mysql password = ambas
mysql:mysql database = samba
show how it is done via preload modules and then just mysql:mysql as passdb
thx for samba, it's a wounderful peace of bits :-)
The 'plugin' pdb backend has been removed some alpha's ago.. I have however
fixed the docs for 'preload modules'.
originally reported against 3.0.0beta2. CLeaning out
non-production release versions.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.