X-Git-Url: https://vcs.maemo.org/git/?p=samba;a=blobdiff_plain;f=examples%2Fpdb%2FREADME;fp=examples%2Fpdb%2FREADME;h=baceb8e6009c2cec0229577923da2f7d497d429d;hp=0000000000000000000000000000000000000000;hb=6bca4ca307d55b6dc888e56cee47aebcddbce786;hpb=7fd70fa738b636089bcc6c961aa3eaa02f20dda2 diff --git a/examples/pdb/README b/examples/pdb/README new file mode 100644 index 0000000..baceb8e --- /dev/null +++ b/examples/pdb/README @@ -0,0 +1,16 @@ +README for Samba Password Database (PDB) examples +==================================================== +Jelmer Vernooij +Stefan (metze) Metzmacher + +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