mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
0484aca691
the SQL backends.
(This used to be commit 37f2191cd3
)
21 lines
947 B
Plaintext
21 lines
947 B
Plaintext
README for Samba Password Database (PDB) examples
|
|
====================================================
|
|
Jelmer Vernooij <jelmer@nl.linux.org>
|
|
Stefan (metze) Metzmacher <metze@samba.org>
|
|
|
|
The test.c file in this directory contains a very basic example of
|
|
a pdb plugin. It just prints the name of the function that is executed using
|
|
DEBUG. Maybe it's nice to include some of the arguments to the function in the
|
|
future too..
|
|
|
|
To debug passdb backends, try to run gdb on the 'pdbedit' executable. That's
|
|
really much easier than restarting smbd constantly and attaching with your
|
|
debugger.
|
|
|
|
New passdb plugins should go into the samba lib directory, (/usr/lib/samba/pdb/
|
|
for most distributions). An example would be: /usr/lib/samba/pdb/test.so
|
|
|
|
Be aware that the SQL and XML based passdb modules have been removed since the
|
|
3.0.23 release. More information of external support for SQL passdb modules
|
|
can be found at http://pdbsql.sourceforge.net/.
|