svn commit: samba r16810 - in branches/SOC/mkhl: .

mkhl at samba.org mkhl at samba.org
Tue Jul 4 18:57:29 GMT 2006


Author: mkhl
Date: 2006-07-04 18:57:29 +0000 (Tue, 04 Jul 2006)
New Revision: 16810

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

Log:
Add more considerations about searching and parse trees.

Martin

Modified:
   branches/SOC/mkhl/map.txt


Changeset:
Modified: branches/SOC/mkhl/map.txt
===================================================================
--- branches/SOC/mkhl/map.txt	2006-07-04 18:52:24 UTC (rev 16809)
+++ branches/SOC/mkhl/map.txt	2006-07-04 18:57:29 UTC (rev 16810)
@@ -240,3 +240,37 @@
 unmap remote result
 merge local and remote result
 remove "isMapped" from result
+
+
+Hmm... Assume that both the local and remote parts of a split parse
+tree are non-null.  Assume we are in the async callback of the local
+search, after having found a local record matching the local parse
+tree, and are preparing the search for the matching remote record.
+That remote record must match the remote parse tree so the original
+parse tree matches the merged record, so we should be able to search
+for the matching remote DN *and* the remote parse tree.  Right?
+
+So, we'll consider these cases:
+
+- there is no parse tree:
+  - just search as we did before
+
+- the parse tree is local:
+  - use the original parse tree for the local search
+  - continue as before
+
+- the parse tree is remote:
+  - search locally as before
+  - use the mapped parse tree for remote search
+  - on match:
+    - merge remote result into local result
+  - otherwise:
+    - skip local result
+
+- parse tree can be split:
+  - use the local parse tree for the local search
+  - use the mapped remote parse tree for remote search
+  - on match:
+    - merge remote result into local result
+  - otherwise:
+    - skip local result



More information about the samba-cvs mailing list