summaryrefslogtreecommitdiffstats
path: root/examples/pdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-04-13 08:16:41 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-04-13 08:16:41 +0000
commitc10def37f506d3f2bab442418ac08fdb62659b02 (patch)
tree3d81a473f2c2e0edcc467d2c88c41616e43b5713 /examples/pdb
parenta4594d9efeca1f67dea57be8323fb4bd986318ce (diff)
downloadsamba-c10def37f506d3f2bab442418ac08fdb62659b02.tar.gz
samba-c10def37f506d3f2bab442418ac08fdb62659b02.tar.xz
samba-c10def37f506d3f2bab442418ac08fdb62659b02.zip
This is the 'multiple pdb backends' patch from ctrlsoft, aka Jelmer Vernooij
<jelmer@nl.linux.org>. This patch also includes major rework of pdbedit to use popt, and the addition of -i paramter (allowing the user to specify which PDBs is being operated on) and -e to export a pdb - useful for backup and testing etc. Use of -i and -e gets us pdb2pdb functionality for transition between backends, much like the sam2sam in TNG. Andrew Bartlett
Diffstat (limited to 'examples/pdb')
-rw-r--r--examples/pdb/README6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/pdb/README b/examples/pdb/README
index ccc39248aac..9ca03bf5938 100644
--- a/examples/pdb/README
+++ b/examples/pdb/README
@@ -7,3 +7,9 @@ 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/ for
+most distributions) and should be prefixed with 'pdb_'. An example would be:
+/usr/lib/samba/pdb_test.so
+