mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
794ecd30f9
(This used to be commit b10541b71b
)
16 lines
740 B
Plaintext
16 lines
740 B
Plaintext
README for Samba Password Database (PDB) examples
|
|
====================================================
|
|
Jelmer Vernooij <jelmer@nl.linux.org>
|
|
Stefan (metze) Metzmacher <metze@metzemix.de>
|
|
|
|
The pdb_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/ for
|
|
most distributions). An example would be: /usr/lib/samba/test.so
|
|
|