1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/examples/pdb
Gerald Carter 1caa6b23e4 ading new files from 3.0
(This used to be commit 99feae7b5b)
2003-07-16 05:42:34 +00:00
..
mysql Fix typo 2002-11-11 13:49:25 +00:00
Makefile Also add the matching example pdb module. 2002-02-22 02:57:49 +00:00
pdb_test.c Update to use smb_register_passdb() 2002-11-15 17:49:47 +00:00
README Update for new modules system 2003-04-28 01:21:28 +00:00
sambapdb.dtd ading new files from 3.0 2003-07-16 05:42:34 +00:00

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/pdb/
for most distributions). An example would be: /usr/lib/samba/pdb/test.so