summaryrefslogtreecommitdiff
path: root/examples/pdb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-28 01:21:59 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-28 01:21:59 +0000
commit4a6eb741f0e065f85c1d49ef63e6bd98a34e10a1 (patch)
treead6491c0a1a9e176d3ddf0f038a789dfdd6c3e12 /examples/pdb
parentbceae6bb997ffefaf5dfc2da04e77c4d7f315f56 (diff)
downloadsamba-4a6eb741f0e065f85c1d49ef63e6bd98a34e10a1.tar.gz
samba-4a6eb741f0e065f85c1d49ef63e6bd98a34e10a1.tar.bz2
samba-4a6eb741f0e065f85c1d49ef63e6bd98a34e10a1.zip
Update for new modules system
(This used to be commit bd2444322956cd34a95159114547b5ddc804df9e)
Diffstat (limited to 'examples/pdb')
-rw-r--r--examples/pdb/README53
1 files changed, 7 insertions, 46 deletions
diff --git a/examples/pdb/README b/examples/pdb/README
index 561473129b..c18e128e78 100644
--- a/examples/pdb/README
+++ b/examples/pdb/README
@@ -1,55 +1,16 @@
README for Samba Password Database (PDB) examples
====================================================
-8-8-2002 Jelmer Vernooij <jelmer@samba.org>
-
-Added mysql and xml modules. See README in xml/ and mysql/ for details.
-
-21-6-2002 Stefan (metze) Metzmacher <metze@metzemix.de>
-
-I have added an interface versioning.
-
-Every module MUST have a pdb_version() function.
-
-this is defined in include/passdb.h:
-#define PDB_MODULE_VERSIONING_MAGIC \
-int pdb_version(void)\
-{\
- return PASSDB_INTERFACE_VERSION;\
-}
-
-You MUST add this line inside a module:
-PDB_MODULE_VERSIONING_MAGIC
-
-21-6-2002 Stefan (metze) Metzmacher <metze@metzemix.de>
-
-The pdb_interface was changed:
-
-this function are deleted:
-static BOOL testsam_getsampwrid (struct pdb_methods *methods, SAM_ACCOUNT *user, uint32 rid)
-
-this function are added:
-static BOOL testsam_getsampwsid (struct pdb_methods *methods, SAM_ACCOUNT *user, DOM_SID sid)
-
-In the SAM_ACCOUNT struct:
-
-this fields are deleted:
-uint32 user_rid;
-uint32 group_rid;
-
-this fields are added:
-DOM_SID user_sid;
-DOM_SID group_sid;
-
-15-2-2002 Jelmer Vernooij <jelmer@nl.linux.org>
+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/ for
-most distributions) and should be prefixed with 'pdb_'. An example would be:
-/usr/lib/samba/pdb_test.so
+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