1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/examples/pdb
2007-10-10 10:55:56 -05:00
..
mysql r5705: Have unknown_6 default to 1260 (fixed #892) 2007-10-10 10:55:56 -05:00
Makefile r5112: Fix for shared object creation in examples. Bugzilla #2058. 2007-10-10 10:55:15 -05:00
README r4653: Output file of "test" pdb backend should be called test.so 2007-10-10 10:53:50 -05:00
sambapdb.dtd Add DTD used by XML passdb backend 2003-06-16 21:33:46 +00:00
test.c r5111: Fix up changed prototype for setsampwent pdb function. 2007-10-10 10:55:15 -05:00

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