svn commit: samba r17663 - in branches/SOC/mkhl/ejs-map: .

2006-08-21 Thread mkhl
Author: mkhl Date: 2006-08-21 14:32:59 + (Mon, 21 Aug 2006) New Revision: 17663 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17663 Log: This patch takes a first semi-serious stab at implementing the ejs_map module, which is supposed to support defining ldb_map

svn commit: samba r17664 - in branches/SOC/mkhl/ejs-map: .

2006-08-21 Thread mkhl
Author: mkhl Date: 2006-08-21 14:35:04 + (Mon, 21 Aug 2006) New Revision: 17664 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17664 Log: Remove files that were obsoleted by ejs.patch. Martin Removed: branches/SOC/mkhl/ejs-map/entryUUID_support.c branches

svn commit: samba r17635 - in branches/SOC/mkhl/ejs-map: .

2006-08-20 Thread mkhl
Author: mkhl Date: 2006-08-20 23:07:36 + (Sun, 20 Aug 2006) New Revision: 17635 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17635 Log: Sketch out the ejs mapping module a little further. Martin Modified: branches/SOC/mkhl/ejs-map/ejs_map.c branches/SOC

svn commit: samba r17636 - in branches/SOC/mkhl/ejs-map: .

2006-08-20 Thread mkhl
Author: mkhl Date: 2006-08-20 23:14:12 + (Sun, 20 Aug 2006) New Revision: 17636 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17636 Log: Update set of changes to smbcalls_* and mprutil to facilitate ldb operations from ejs. Martin Modified: branches/SOC

svn commit: samba r17637 - in branches/SOC/mkhl/testprogs-map/ejs: .

2006-08-20 Thread mkhl
Author: mkhl Date: 2006-08-20 23:20:44 + (Sun, 20 Aug 2006) New Revision: 17637 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17637 Log: Merge from mainline, r17636 Added: branches/SOC/mkhl/testprogs-map/ejs/base.js branches/SOC/mkhl/testprogs-map/ejs

svn commit: samba r17638 - in branches/SOC/mkhl/testprogs-map/ejs: .

2006-08-20 Thread mkhl
Author: mkhl Date: 2006-08-20 23:22:33 + (Sun, 20 Aug 2006) New Revision: 17638 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17638 Log: Commit patch that completes the samba3sam test suite but isn't yet merged into mainline. Martin Modified: branches/SOC

svn commit: samba r17563 - in branches/SOC/mkhl: . ejs-map

2006-08-15 Thread mkhl
Author: mkhl Date: 2006-08-15 23:18:20 + (Tue, 15 Aug 2006) New Revision: 17563 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17563 Log: Add a subtree for adding support for ldb_map mappings in ejs. Currently contains incoherent sketches how it might maybe work

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

2006-08-13 Thread mkhl
Author: mkhl Date: 2006-08-13 10:21:37 + (Sun, 13 Aug 2006) New Revision: 17518 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17518 Log: The license change in r17512 was not valid, revert it. The license change in r16505 was valid, stick to that. Martin Modified

svn commit: samba r17519 - in branches/SOC/mkhl: ldb-map/common ldb-map/include ldb-map/ldb_ildap ldb-map/ldb_ldap ldb-map/ldb_sqlite3 ldb-map/ldb_tdb ldb-map/modules ldb-map/samba samdb-map samdb-map

2006-08-13 Thread mkhl
Author: mkhl Date: 2006-08-13 11:00:56 + (Sun, 13 Aug 2006) New Revision: 17519 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17519 Log: Merge from mainline, r17518 Modified: branches/SOC/mkhl/ldb-map/common/ldb.c branches/SOC/mkhl/ldb-map/common

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

2006-08-13 Thread mkhl
Author: mkhl Date: 2006-08-13 11:57:34 + (Sun, 13 Aug 2006) New Revision: 17521 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17521 Log: Use `ldb_msg_find_attr_as_dn' where appropriate. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c Changeset

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

2006-08-12 Thread mkhl
Author: mkhl Date: 2006-08-12 10:42:17 + (Sat, 12 Aug 2006) New Revision: 17502 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17502 Log: Reformat function headers. Tabify. Remove trailing whitespace. Martin Modified: branches/SOC/mkhl/ldb-map/modules

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

2006-08-12 Thread mkhl
Author: mkhl Date: 2006-08-12 15:52:56 + (Sat, 12 Aug 2006) New Revision: 17506 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17506 Log: Reformat function prototypes. Tabify. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.h Changeset: Modified

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

2006-08-12 Thread mkhl
Author: mkhl Date: 2006-08-12 23:56:53 + (Sat, 12 Aug 2006) New Revision: 17510 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17510 Log: Split the ldb_map module into three files: - ldb_map.c: common operations, asynchronism and initialization - ldb_map_inbound

svn commit: samba r17511 - in branches/SOC/mkhl: ldb-map/common ldb-map/include ldb-map/tests/schema-tests samdb-map/ldb_modules

2006-08-12 Thread mkhl
Author: mkhl Date: 2006-08-13 00:01:26 + (Sun, 13 Aug 2006) New Revision: 17511 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17511 Log: Merge from mainline, r17510 Modified: branches/SOC/mkhl/ldb-map/common/ldb_msg.c branches/SOC/mkhl/ldb-map/include/ldb.h

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

2006-08-12 Thread mkhl
Author: mkhl Date: 2006-08-13 00:22:52 + (Sun, 13 Aug 2006) New Revision: 17512 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17512 Log: Bring the copyleft header in line with mainline and the other modules. Martin Modified: branches/SOC/mkhl/ldb-map/modules

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

2006-08-11 Thread mkhl
Author: mkhl Date: 2006-08-11 22:36:53 + (Fri, 11 Aug 2006) New Revision: 17500 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17500 Log: Add function to check whether we are supposed to use a local partition at all. Skip requests targeted at the local db if we

svn commit: samba r17479 - in branches/SOC/mkhl: ldb-map/common ldb-map/include ldb-map/samba ldb-map/tools samdb-map/ldb_modules

2006-08-10 Thread mkhl
Author: mkhl Date: 2006-08-10 15:07:55 + (Thu, 10 Aug 2006) New Revision: 17479 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17479 Log: Merge from mainline, r17478 Modified: branches/SOC/mkhl/ldb-map/common/ldb_modules.c branches/SOC/mkhl/ldb-map/include

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

2006-08-10 Thread mkhl
Author: mkhl Date: 2006-08-10 15:25:52 + (Thu, 10 Aug 2006) New Revision: 17480 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17480 Log: Update initial description of search request handling. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c

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

2006-08-10 Thread mkhl
Author: mkhl Date: 2006-08-10 15:29:15 + (Thu, 10 Aug 2006) New Revision: 17481 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17481 Log: Add copyright info. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.h Changeset: Modified: branches/SOC/mkhl

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

2006-08-10 Thread mkhl
Author: mkhl Date: 2006-08-10 16:24:12 + (Thu, 10 Aug 2006) New Revision: 17482 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17482 Log: Add missing comments, rename the `map_flarp' function. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c

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

2006-08-05 Thread mkhl
Author: mkhl Date: 2006-08-05 12:46:42 + (Sat, 05 Aug 2006) New Revision: 17421 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17421 Log: Comment loops with noops. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c Changeset: Modified: branches

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

2006-08-05 Thread mkhl
Author: mkhl Date: 2006-08-05 12:50:41 + (Sat, 05 Aug 2006) New Revision: 17422 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17422 Log: Add logic to generate a list of attributes a parse tree requires from that parse tree. Use that logic to reenable partitioning

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

2006-08-05 Thread mkhl
Author: mkhl Date: 2006-08-05 17:17:38 + (Sat, 05 Aug 2006) New Revision: 17424 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17424 Log: Fix typo in check for splittable parse trees. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c Changeset

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

2006-08-05 Thread mkhl
Author: mkhl Date: 2006-08-05 17:52:23 + (Sat, 05 Aug 2006) New Revision: 17426 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17426 Log: Make parameter names for `generate' mappings clearer. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.h

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

2006-08-05 Thread mkhl
Author: mkhl Date: 2006-08-05 17:54:52 + (Sat, 05 Aug 2006) New Revision: 17427 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17427 Log: Change mapping type for objectClass into `generate'. Add generator functions for objectClass elements, converting their values

svn commit: samba r17428 - in branches/SOC/mkhl/testprogs-map/ejs: .

2006-08-05 Thread mkhl
Author: mkhl Date: 2006-08-05 17:56:59 + (Sat, 05 Aug 2006) New Revision: 17428 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17428 Log: Fix typo in the `objectClass' member of the search result used for checking objectClasses. Fix spelling in the corresponding

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

2006-08-04 Thread mkhl
Author: mkhl Date: 2006-08-04 23:29:06 + (Fri, 04 Aug 2006) New Revision: 17409 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17409 Log: Keep the name of a keep attribute, make sure it isn't replaced with the wildcard. Martin Modified: branches/SOC/mkhl/ldb

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

2006-08-04 Thread mkhl
Author: mkhl Date: 2006-08-04 23:30:10 + (Fri, 04 Aug 2006) New Revision: 17410 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17410 Log: Fix swapped talloc contexts for local/remote parts of search requests. Martin Modified: branches/SOC/mkhl/ldb-map/modules

svn commit: samba r17387 - in branches/SOC/mkhl: ldb-map/modules testprogs-map/ejs

2006-08-03 Thread mkhl
Author: mkhl Date: 2006-08-03 16:43:26 + (Thu, 03 Aug 2006) New Revision: 17387 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17387 Log: Rename functions based on which data type they operate on and reorganize them into sections. Reformulate comments for every

svn commit: samba r17389 - in branches/SOC/mkhl/testprogs-map/ejs: .

2006-08-03 Thread mkhl
Author: mkhl Date: 2006-08-03 21:51:14 + (Thu, 03 Aug 2006) New Revision: 17389 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17389 Log: Merge from mainline, r17388. Modified: branches/SOC/mkhl/testprogs-map/ejs/ldap.js Changeset: Modified: branches/SOC/mkhl

svn commit: samba r17369 - in branches/SOC/mkhl: ldb-map/common ldb-map/include ldb-map/ldb_ildap ldb-map/ldb_tdb samdb-map/ldb_modules

2006-08-01 Thread mkhl
Author: mkhl Date: 2006-08-01 22:59:36 + (Tue, 01 Aug 2006) New Revision: 17369 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17369 Log: Merge from mainline, r17368. Removed: branches/SOC/mkhl/samdb-map/ldb_modules/password_sync.c Modified: branches/SOC

svn commit: samba r17371 - in branches/SOC/mkhl/ldb-map/ldb_tdb: .

2006-08-01 Thread mkhl
Author: mkhl Date: 2006-08-02 01:25:05 + (Wed, 02 Aug 2006) New Revision: 17371 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17371 Log: Merge from mainline, r17370. Modified: branches/SOC/mkhl/ldb-map/ldb_tdb/ldb_search.c Changeset: Modified: branches/SOC

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

2006-07-29 Thread mkhl
Author: mkhl Date: 2006-07-29 14:01:34 + (Sat, 29 Jul 2006) New Revision: 17309 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17309 Log: Get rid of the macro changing a DNs base, replace it with functions. Provide a function to remap and rebase a remote DN

svn commit: samba r17310 - in branches/SOC/mkhl: ldb-map/modules testprogs-map/ejs

2006-07-29 Thread mkhl
Author: mkhl Date: 2006-07-29 14:11:48 + (Sat, 29 Jul 2006) New Revision: 17310 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17310 Log: Let search requests target the remote database first and the local database afterwards. Local searching isn't actually

svn commit: samba r17311 - in branches/SOC/mkhl: ldb-map/common ldb-map/ldb_ildap ldb-map/ldb_tdb samdb-map/ldb_modules testprogs-map/ejs

2006-07-29 Thread mkhl
Author: mkhl Date: 2006-07-29 14:29:27 + (Sat, 29 Jul 2006) New Revision: 17311 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17311 Log: Merge from mainline, r17310. Added: branches/SOC/mkhl/samdb-map/ldb_modules/local_password.c branches/SOC/mkhl/samdb

svn commit: samba r17235 - in branches/SOC/mkhl/ldb-map/include: .

2006-07-25 Thread mkhl
Author: mkhl Date: 2006-07-25 18:22:03 + (Tue, 25 Jul 2006) New Revision: 17235 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17235 Log: Merge from mainline, r17234. Modified: branches/SOC/mkhl/ldb-map/include/ldb.h Changeset: Modified: branches/SOC/mkhl/ldb

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

2006-07-25 Thread mkhl
Author: mkhl Date: 2006-07-25 18:42:26 + (Tue, 25 Jul 2006) New Revision: 17236 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17236 Log: Even more const declarations for `ldb_map_context's. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c

svn commit: samba r17200 - in branches/SOC/mkhl: ldb-map ldb-map/common ldb-map/include ldb-map/ldb_ildap ldb-map/ldb_ldap ldb-map/ldb_sqlite3 ldb-map/ldb_tdb ldb-map/modules ldb-map/samba ldb-map/too

2006-07-23 Thread mkhl
Author: mkhl Date: 2006-07-23 09:50:04 + (Sun, 23 Jul 2006) New Revision: 17200 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17200 Log: Merge from mainline, r17199. Martin Modified: branches/SOC/mkhl/ldb-map/common/ldb.c branches/SOC/mkhl/ldb-map/common

svn commit: samba r17201 - in branches/SOC/mkhl/ldb-map: common include ldb_tdb modules

2006-07-23 Thread mkhl
Author: mkhl Date: 2006-07-23 10:54:06 + (Sun, 23 Jul 2006) New Revision: 17201 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17201 Log: Fetch missing updates from mainline (missed them while merging...). Martin Modified: branches/SOC/mkhl/ldb-map/common

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

2006-07-23 Thread mkhl
Author: mkhl Date: 2006-07-23 10:58:05 + (Sun, 23 Jul 2006) New Revision: 17202 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17202 Log: Adapt ldb_map module to the new async naming. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c Changeset

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

2006-07-23 Thread mkhl
Author: mkhl Date: 2006-07-23 12:53:33 + (Sun, 23 Jul 2006) New Revision: 17203 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17203 Log: Oops, forgot two ldb_replies. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c Changeset: Modified: branches

svn commit: samba r17204 - in branches/SOC/mkhl/samdb-map/ldb_modules: .

2006-07-23 Thread mkhl
Author: mkhl Date: 2006-07-23 13:30:25 + (Sun, 23 Jul 2006) New Revision: 17204 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17204 Log: Adapt samba3sam as well. Martin Modified: branches/SOC/mkhl/samdb-map/ldb_modules/samba3sam.c Changeset: Modified

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

2006-07-23 Thread mkhl
Author: mkhl Date: 2006-07-23 21:27:44 + (Sun, 23 Jul 2006) New Revision: 17211 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17211 Log: More const declarations for map_context structures. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c

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

2006-07-23 Thread mkhl
Author: mkhl Date: 2006-07-23 21:51:59 + (Sun, 23 Jul 2006) New Revision: 17212 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17212 Log: Comment out a few unused functions. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c Changeset: Modified

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

2006-07-23 Thread mkhl
Author: mkhl Date: 2006-07-23 23:59:31 + (Sun, 23 Jul 2006) New Revision: 17213 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17213 Log: Imcomplete stab at fetching data from the remote partition first. Add/Modify/Rename/Delete work okay for basic cases, need

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 08:46:27 + (Sat, 15 Jul 2006) New Revision: 17048 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17048 Log: Remove unused async step from map_step. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c Changeset

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 08:56:19 + (Sat, 15 Jul 2006) New Revision: 17049 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17049 Log: Insert missing braces. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c Changeset: Modified: branches/SOC

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 09:01:20 + (Sat, 15 Jul 2006) New Revision: 17050 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17050 Log: Copy (don't steal) the old msg element when adding to the local message. The old elements are accessed from an array

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 09:04:28 + (Sat, 15 Jul 2006) New Revision: 17051 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17051 Log: Reset the async handle status before running additional down requests. Martin Modified: branches/SOC/mkhl/ldb-map/modules

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 09:07:24 + (Sat, 15 Jul 2006) New Revision: 17052 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17052 Log: Don't declare variables in the middle of a function. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 09:11:02 + (Sat, 15 Jul 2006) New Revision: 17053 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17053 Log: Handle missing async step. Don't include a default case when switching ac-step, that suppresses the wrong warnings. Martin

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 09:13:29 + (Sat, 15 Jul 2006) New Revision: 17054 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17054 Log: When renaming, skip requests if neither DN is in the local partition. Fail if either is but the other isn't. Martin Modified

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 09:16:41 + (Sat, 15 Jul 2006) New Revision: 17055 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17055 Log: Don't talloc_zero structures whose contents will be completely overwritten anyway. Martin Modified: branches/SOC/mkhl/ldb

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 09:22:24 + (Sat, 15 Jul 2006) New Revision: 17056 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17056 Log: Defer setting async handled until *after* the up request was copied. When an async handle is likely to still have been copied

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 09:27:07 + (Sat, 15 Jul 2006) New Revision: 17057 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17057 Log: When failing before the async handle was set in the up request, free the complete async handle. Martin Modified: branches

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 09:32:17 + (Sat, 15 Jul 2006) New Revision: 17058 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17058 Log: When fixing the 'isMapped' attribute after renaming the remote record, don't reuse the DN from the last down request

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 09:35:21 + (Sat, 15 Jul 2006) New Revision: 17059 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17059 Log: If no remote addition/modification is neccessary, just free the async handle and run the original request. Martin Modified

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 18:26:12 + (Sat, 15 Jul 2006) New Revision: 17066 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17066 Log: Add missing `break's to switches... Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c Changeset: Modified

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 18:28:27 + (Sat, 15 Jul 2006) New Revision: 17067 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17067 Log: When merging search results and the remote result contains an unmapped attribute, assume it was auto-generated and skip

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 18:30:29 + (Sat, 15 Jul 2006) New Revision: 17068 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17068 Log: Fix a pointer to inaccessible memory. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c Changeset: Modified

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 18:32:37 + (Sat, 15 Jul 2006) New Revision: 17070 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17070 Log: Skip mapped search if search base *exists* and is outside the local partition. Martin Modified: branches/SOC/mkhl/ldb-map

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 18:33:32 + (Sat, 15 Jul 2006) New Revision: 17071 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17071 Log: Set the correct async handles for searches. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c Changeset

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 18:35:26 + (Sat, 15 Jul 2006) New Revision: 17072 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17072 Log: When a parse-tree contains only remote parts, use a new parse-tree that searches records pointing to remote parts

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-15 18:38:57 + (Sat, 15 Jul 2006) New Revision: 17073 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17073 Log: Convert remote new DN to string before stuffing it into the fixup message. Martin Modified: branches/SOC/mkhl/ldb-map

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

2006-07-15 Thread mkhl
Author: mkhl Date: 2006-07-16 00:29:35 + (Sun, 16 Jul 2006) New Revision: 17076 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=17076 Log: When searching for specific local attributes, always search for the IS_MAPPED attribute as well so we can include data from

svn commit: samba r16878 - in branches/SOC/mkhl/samdb-map: . ldb_modules

2006-07-08 Thread mkhl
Author: mkhl Date: 2006-07-08 17:30:58 + (Sat, 08 Jul 2006) New Revision: 16878 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16878 Log: Merge from mainline, r16877. Martin Modified: branches/SOC/mkhl/samdb-map/ldb_modules/password_hash.c branches/SOC

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

2006-07-08 Thread mkhl
Author: mkhl Date: 2006-07-08 17:37:13 + (Sat, 08 Jul 2006) New Revision: 16880 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16880 Log: Fix assignment of mapped subtrees to wrong places. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c

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

2006-07-05 Thread mkhl
Author: mkhl Date: 2006-07-05 12:24:27 + (Wed, 05 Jul 2006) New Revision: 16818 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16818 Log: Add more `const' declarations. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c Changeset: Modified

svn commit: samba r16819 - in branches/SOC/mkhl/testprogs-map/ejs: .

2006-07-05 Thread mkhl
Author: mkhl Date: 2006-07-05 12:32:09 + (Wed, 05 Jul 2006) New Revision: 16819 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16819 Log: Update samba3sam test script to - disallow passing a different samba3 URL (that should go in a different test) - update

svn commit: samba r16820 - in branches/SOC/mkhl/samdb-map/ldb_modules: .

2006-07-05 Thread mkhl
Author: mkhl Date: 2006-07-05 12:33:28 + (Wed, 05 Jul 2006) New Revision: 16820 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16820 Log: Fix passing the ops around so none get corrupted before loading. Martin Modified: branches/SOC/mkhl/samdb-map/ldb_modules

svn commit: samba r16821 - in branches/SOC/mkhl/testprogs-map/ejs: .

2006-07-05 Thread mkhl
Author: mkhl Date: 2006-07-05 12:34:53 + (Wed, 05 Jul 2006) New Revision: 16821 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16821 Log: Don't bail out early, we need to see the error messages. (Tests up to (but excluding) the first search work.) Martin

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

2006-07-04 Thread mkhl
Author: mkhl Date: 2006-07-04 18:39:12 + (Tue, 04 Jul 2006) New Revision: 16804 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16804 Log: Branch directories I need for the samba3sam tests: - samdb - testdata - testprogs Martin Added: branches/SOC/mkhl/samdb

svn commit: samba r16805 - in branches/SOC/mkhl/samdb-map/ldb_modules: .

2006-07-04 Thread mkhl
Author: mkhl Date: 2006-07-04 18:45:47 + (Tue, 04 Jul 2006) New Revision: 16805 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16805 Log: Replay samba3sam-adapt-to-ldb_map.patch (r16575): Include necessary headers to let samba3sam compile. Adapt

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

2006-07-04 Thread mkhl
Author: mkhl Date: 2006-07-04 18:48:16 + (Tue, 04 Jul 2006) New Revision: 16806 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16806 Log: Remove patch to the samba3sam module: obsoleted by the samdb-map branch. Martin Removed: branches/SOC/mkhl/samba3sam.c

svn commit: samba r16807 - in branches/SOC/mkhl/testprogs-map/ejs: .

2006-07-04 Thread mkhl
Author: mkhl Date: 2006-07-04 18:50:11 + (Tue, 04 Jul 2006) New Revision: 16807 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16807 Log: Add sketched TODO list and ldifs to samab3sam test script. Martin Modified: branches/SOC/mkhl/testprogs-map/ejs

svn commit: samba r16808 - in branches/SOC/mkhl/testdata-map/samba3: .

2006-07-04 Thread mkhl
Author: mkhl Date: 2006-07-04 18:50:48 + (Tue, 04 Jul 2006) New Revision: 16808 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16808 Log: Allow variable baseDN in samab3sam initial ldif. Martin Modified: branches/SOC/mkhl/testdata-map/samba3/samba3.ldif

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

2006-07-04 Thread mkhl
Author: mkhl Date: 2006-07-04 18:52:24 + (Tue, 04 Jul 2006) New Revision: 16809 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16809 Log: Add splitting of parse trees into local and remote parts. Their usage for searching isn't right yet though. Martin Modified

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

2006-07-04 Thread mkhl
Author: mkhl Date: 2006-07-04 18:57:29 + (Tue, 04 Jul 2006) New Revision: 16810 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16810 Log: Add more considerations about searching and parse trees. Martin Modified: branches/SOC/mkhl/map.txt Changeset: Modified

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

2006-07-04 Thread mkhl
Author: mkhl Date: 2006-07-04 21:32:29 + (Tue, 04 Jul 2006) New Revision: 16811 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16811 Log: Use the split parse trees in local and remote searches. Define control flow for local and remote searching. After merging

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

2006-06-30 Thread mkhl
Author: mkhl Date: 2006-06-30 17:06:06 + (Fri, 30 Jun 2006) New Revision: 16714 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16714 Log: Add simple chunks for handling parse-trees in searches. Next up: lay out plan for parse-tree memory allocation; split compound

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

2006-06-27 Thread mkhl
Author: mkhl Date: 2006-06-27 23:27:53 + (Tue, 27 Jun 2006) New Revision: 16574 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16574 Log: Adapt initialization so ldb_map can be used by other modules: Split `ldb_map_init' into `ldb_map_init', to be called from

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

2006-06-27 Thread mkhl
Author: mkhl Date: 2006-06-27 23:36:49 + (Tue, 27 Jun 2006) New Revision: 16575 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16575 Log: Include necessary headers to let samba3sam compile. Adapt `ldb_samba3sam_module_init' to the fixed ldb_map init code. Martin

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

2006-06-26 Thread mkhl
Author: mkhl Date: 2006-06-26 22:07:25 + (Mon, 26 Jun 2006) New Revision: 16534 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16534 Log: Add support for merging remote search results with local search results. Martin Modified: branches/SOC/mkhl/ldb-map

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

2006-06-26 Thread mkhl
Author: mkhl Date: 2006-06-26 22:28:04 + (Mon, 26 Jun 2006) New Revision: 16535 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16535 Log: Update header comment about this modules structure. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c

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

2006-06-26 Thread mkhl
Author: mkhl Date: 2006-06-26 23:46:15 + (Mon, 26 Jun 2006) New Revision: 16538 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16538 Log: Add select_unmappable_msg_attrs func, which I'll need for mapping parse-trees in search. Fix some wrong talloc memory contexts

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

2006-06-25 Thread mkhl
Author: mkhl Date: 2006-06-25 16:08:19 + (Sun, 25 Jun 2006) New Revision: 16511 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16511 Log: Add remote search callback, not yet merging results. Martin Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c

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

2006-06-24 Thread mkhl
Author: mkhl Date: 2006-06-24 14:10:46 + (Sat, 24 Jun 2006) New Revision: 16492 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16492 Log: Reflection on denoting the relation between a local and remote (i.e. mapped) record. Improvement of request pseudo-code

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

2006-06-24 Thread mkhl
Author: mkhl Date: 2006-06-24 14:24:40 + (Sat, 24 Jun 2006) New Revision: 16494 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16494 Log: Replay of ,,ldb_map-async.patch, revision 16233 Modified: branches/SOC/mkhl/ldb-map/config.mk branches/SOC/mkhl/ldb-map

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

2006-06-24 Thread mkhl
Author: mkhl Date: 2006-06-24 14:29:39 + (Sat, 24 Jun 2006) New Revision: 16497 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16497 Log: Replay of ,,ldb_map-async.patch, revision 16491 Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c Changeset: Sorry

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

2006-06-24 Thread mkhl
Author: mkhl Date: 2006-06-24 14:34:15 + (Sat, 24 Jun 2006) New Revision: 16498 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16498 Log: Remove the patch against samba4 that tries to implement an async ldb_map module. It is obsoleted by the ldb-map branch

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

2006-06-24 Thread mkhl
Author: mkhl Date: 2006-06-24 17:19:09 + (Sat, 24 Jun 2006) New Revision: 16499 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16499 Log: Update comments. Reorganize request handlers. Restructure initialization. Fix timeout propagation. Fix one undefined request

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

2006-06-24 Thread mkhl
Author: mkhl Date: 2006-06-24 19:29:10 + (Sat, 24 Jun 2006) New Revision: 16500 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16500 Log: So the sorting was a dumb idea and needed forward declarations. Bah. Fix other compilation issues. Martin Modified

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

2006-06-24 Thread mkhl
Author: mkhl Date: 2006-06-24 22:00:52 + (Sat, 24 Jun 2006) New Revision: 16505 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16505 Log: Check incoming DN before performing mappings. Add chunks of searching boilerplate. Martin Modified: branches/SOC/mkhl/ldb

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

2006-06-24 Thread mkhl
Author: mkhl Date: 2006-06-24 23:34:44 + (Sat, 24 Jun 2006) New Revision: 16507 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16507 Log: Add comments about problems I am imagining. Martin Modified: branches/SOC/mkhl/map.txt Changeset: Modified: branches

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

2006-06-22 Thread mkhl
Author: mkhl Date: 2006-06-22 21:55:23 + (Thu, 22 Jun 2006) New Revision: 16477 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16477 Log: Reenable the largest parts of add and modify. Eventual extensions to generate mappings are postponed for now, at least until

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

2006-06-20 Thread mkhl
Author: mkhl Date: 2006-06-21 00:31:40 + (Wed, 21 Jun 2006) New Revision: 16434 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16434 Log: Add a few chunks of async trampolining for delete and rename requests. Those won't be necessary for add, but the modify

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

2006-06-19 Thread mkhl
Author: mkhl Date: 2006-06-20 01:08:18 + (Tue, 20 Jun 2006) New Revision: 16384 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16384 Log: Semi-informed doodling about a mapping module, affected by late insights into local_password and password_hash concerning

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

2006-06-15 Thread mkhl
Author: mkhl Date: 2006-06-15 14:31:53 + (Thu, 15 Jun 2006) New Revision: 16257 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16257 Log: Implement more parts of the unspecial module. Including search, async_wait and async callbacks. Martin Modified

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

2006-06-15 Thread mkhl
Author: mkhl Date: 2006-06-15 14:53:45 + (Thu, 15 Jun 2006) New Revision: 16258 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16258 Log: Take Simo's feedback w.r.t. talloc_steal into account. Martin Modified: branches/SOC/mkhl/,,ldb-unspecial.c-remap

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

2006-06-15 Thread mkhl
Author: mkhl Date: 2006-06-15 14:55:40 + (Thu, 15 Jun 2006) New Revision: 16259 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=16259 Log: Add tags from javascript source files to ctags/etags. Add tags for javascript functions defined in C to etags (unsure how

  1   2   >