• Home
  • History
  • Annotate
  • only in this directory
NameDateSize

..27-Nov-201523

READMEH A D27-Nov-2015947

test.cH A D27-Nov-20155 KiB

README

1README for Samba Password Database (PDB) examples
2====================================================
3Jelmer Vernooij <jelmer@nl.linux.org>
4Stefan (metze) Metzmacher <metze@samba.org>
5
6The test.c file in this directory contains a very basic example of 
7a pdb plugin. It just prints the name of the function that is executed using
8DEBUG. Maybe it's nice to include some of the arguments to the function in the 
9future too..
10
11To debug passdb backends, try to run gdb on the 'pdbedit' executable. That's
12really much easier than restarting smbd constantly and attaching with your 
13debugger.
14
15New passdb plugins should go into the samba lib directory, (/usr/lib/samba/pdb/
16for most distributions). An example would be: /usr/lib/samba/pdb/test.so
17
18Be aware that the SQL and XML based passdb modules have been removed since the
193.0.23 release.  More information of external support for SQL passdb modules
20can be found at http://pdbsql.sourceforge.net/.
21