svn commit: samba r17480 - in branches/SOC/mkhl/ldb-map/modules: .

mkhl at samba.org mkhl at samba.org
Thu Aug 10 15:25:52 GMT 2006


Author: mkhl
Date: 2006-08-10 15:25:52 +0000 (Thu, 10 Aug 2006)
New Revision: 17480

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17480

Log:
Update initial description of search request handling.

Martin

Modified:
   branches/SOC/mkhl/ldb-map/modules/ldb_map.c


Changeset:
Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c
===================================================================
--- branches/SOC/mkhl/ldb-map/modules/ldb_map.c	2006-08-10 15:07:55 UTC (rev 17479)
+++ branches/SOC/mkhl/ldb-map/modules/ldb_map.c	2006-08-10 15:25:52 UTC (rev 17480)
@@ -1,5 +1,5 @@
 /*
-   Mapping ldb module
+   ldb database mapping module
 
    Copyright (C) Jelmer Vernooij 2005
    Copyright (C) Martin Kuehl <mkhl at samba.org> 2006
@@ -43,13 +43,18 @@
  - special attribute 'isMapped'
 
  - search:
-     - search local records w/ isMapped
-       use local attrs and a local parse_tree
-     - for each local result
-         - if isMapped
-	     - search remote record
-	       use remote attrs and remote parse tree
-	     - merge remote into local result
+     - if parse tree can be split
+         - search remote records w/ remote attrs and parse tree
+     - otherwise
+         - enumerate all remote records
+     - for each remote result
+         - map remote result to local message
+	 - search local result
+	 - is present
+	     - merge local into remote result
+	     - run callback on merged result
+	 - otherwise
+	     - run callback on remote result
 
  - add:
      - split message into local and remote part



More information about the samba-cvs mailing list