1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/examples/pdb
Stefan Metzmacher 7d7b6190b0 change my email address to the samba.org one
metze
(This used to be commit 5bf8f1b31b)
2004-03-24 13:41:06 +00:00
..
mysql Add new fields bad_password_count and logon_count 2003-11-09 14:09:27 +00:00
Makefile Another little one: Make pdb_test.c at least compile, although its way out of 2003-12-30 21:12:36 +00:00
pdb_test.c Another little one: Make pdb_test.c at least compile, although its way out of 2003-12-30 21:12:36 +00:00
README change my email address to the samba.org one 2004-03-24 13:41:06 +00:00
sambapdb.dtd Add DTD used by XML passdb backend 2003-06-16 21:33:46 +00:00

README for Samba Password Database (PDB) examples
====================================================
Jelmer Vernooij <jelmer@nl.linux.org>
Stefan (metze) Metzmacher <metze@samba.org>

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