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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 102 matches
Mail list logo