summaryrefslogtreecommitdiff
path: root/examples/pdb/README
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-06-22 12:19:35 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-06-22 12:19:35 +0000
commitea7cdc4de060181b11779d726ba2aecf0a09b72b (patch)
tree54fb365e0360e1179ebe962cc674b5c1ae691823 /examples/pdb/README
parent6b4dde0c241a4fcf2478336bc0f8d7f5649c82ee (diff)
downloadsamba-ea7cdc4de060181b11779d726ba2aecf0a09b72b.tar.gz
samba-ea7cdc4de060181b11779d726ba2aecf0a09b72b.tar.bz2
samba-ea7cdc4de060181b11779d726ba2aecf0a09b72b.zip
Add module versioning to the passdb module system
All passdb modules need to include a 'magic' macro that creates simple 'return my version number' function. (from metze and jelmer) Also fix up the dir_drive autosubsitute code to correctly use lp_logon_drive(). (from metze) Andrew Bartlett (This used to be commit 4a57c445dd4354034fc41b132a484afe6ab66e16)
Diffstat (limited to 'examples/pdb/README')
-rw-r--r--examples/pdb/README36
1 files changed, 36 insertions, 0 deletions
diff --git a/examples/pdb/README b/examples/pdb/README
index 9ca03bf593..a212604792 100644
--- a/examples/pdb/README
+++ b/examples/pdb/README
@@ -1,5 +1,41 @@
README for Samba Password Database (PDB) examples
====================================================
+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>
The pdb_test.c file in this directory contains a very basic example of