[PATCH] pdb plugin support
Andrew Bartlett
abartlet at pcug.org.au
Thu Feb 14 13:36:02 GMT 2002
Jelmer Vernooij wrote:
>
> Hi !
>
> Here's the first version of my pdb plugin support patch. It adds a new
> pdb database type named 'plugin'. It's based upon Stefan Metzmacher's
> idea he wrote about on january 22.
>
> A configure option is provided to choose whether the plugin support
> should (not) be compiled in.
>
> To use this pdb backend, use this line in smb.conf:
>
> passdb backend = plugin:<path-to-plugin>:<arguments-to-plugin>
>
> In order to compile with the patch, one needs to regenerate configure
> and include/proto.h.
>
> The patch isn't very usefull at the moment, but I'll try to make
> plugins of some of the currently available pdb modules(tdb and
> smbpasswd).
>
> Feedback please :)
Some minor style issues aside (and the need to trim the copyright back
to those whose code exists in the file) it looks good!
As soon as you can get me a 'plugin-enabled' passdb module to test with
I'll commit it!
I don't see much point in making the existing modules 'plugins' - the
real value is in external projects like MySQL passdb backends etc.
Andrew Bartlett
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba-technical
mailing list