prefixMap refactoring

Kamen Mazdrashki kamen.mazdrashki at postpath.com
Wed Oct 28 21:05:43 MDT 2009


Hi,

Here is another portion of patches for prefixMap.
I think I am almost done with this (finally).

There are few things to be done shortly:
- clean up the code from unused functions and structures;
- refactor code against Samba-Coding-Style guide 
  (thanks Metze for pointing that out)

All the patches could be found in a git repo also:
http://repo.or.cz/w/Samba/kamenim.git?a=shortlog;h=refs/heads/drsuapi_prefixmap_wip

Please comment.


BR,
Kamen Mazdrashki
kamen.mazdrashki at postpath.com
http://repo.or.cz/w/Samba/kamenim.git
-------------------------------------
CISCO SYSTEMS BULGARIA EOOD
http://www.cisco.com/global/BG/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s4-ldb-Fix-double-allocation-for-ldb_url.patch
Type: application/octet-stream
Size: 1069 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0032.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-s4-drs-Fix-memory-leek-in-prefixMap.patch
Type: application/octet-stream
Size: 1159 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0033.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-s4-drs-Move-making-of-partial-binary-oid-to-a-separ.patch
Type: application/octet-stream
Size: 3185 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0034.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-s4-drs-Implement-binary-oid-lookup-into-prefixMap.patch
Type: application/octet-stream
Size: 3211 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0035.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-s4-drs-tort-implement-prefixMap-comparison-functio.patch
Type: application/octet-stream
Size: 2788 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0036.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-s4-drs-tort-test-for-schema_prefixMap-to-from-drsu.patch
Type: application/octet-stream
Size: 3240 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0037.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-s4-drs-schema_prefixMap-to-from-drsuapi_prefixMap-c.patch
Type: application/octet-stream
Size: 7313 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0038.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-s4-drs-Move-schema_prefixMap-allocation-in-separate.patch
Type: application/octet-stream
Size: 3069 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0039.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-s4-Add-DRS-UNIT-test-suite-to-LOCAL-group-of-tests.patch
Type: application/octet-stream
Size: 735 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0040.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-s4-DRS-RPC-tests-added-to-RPC-group-of-tests.patch
Type: application/octet-stream
Size: 1066 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0041.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-s4-drs-dsdb_schema-uses-dsdb_schema_prefixmap-defin.patch
Type: application/octet-stream
Size: 810 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0042.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-s4-drs-dsdb_load_oid_mappings_drsuapi-dsdb_loa.patch
Type: application/octet-stream
Size: 4949 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0043.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-s4-drs-dsdb_get_oid_mappings_drsuapi-to-use-new-p.patch
Type: application/octet-stream
Size: 2357 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0044.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0014-s4-drs-dsdb_verify_oid_mappings_drsuapi-replaced.patch
Type: application/octet-stream
Size: 4804 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0045.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015-s4-drs-dsdb_map_oid2int-replaced-by-dsdb_schema_p.patch
Type: application/octet-stream
Size: 5448 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0046.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0016-s4-drs-dsdb_map_int2oid-replaced-by-dsdb_schema_p.patch
Type: application/octet-stream
Size: 5684 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0047.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0017-s4-drs-dsdb_schema_pfm_from_drsuapi_pfm-to-accept.patch
Type: application/octet-stream
Size: 6708 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0048.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0018-s4-drs-tort-prefixMap-to-from-ldb_val-serializatio.patch
Type: application/octet-stream
Size: 3868 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0049.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0019-s4-drs-dsdb_load_prefixmap_from_drsuapi-fix.patch
Type: application/octet-stream
Size: 1305 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0050.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0020-s4-drs-Load-prefixMap-from-ldb_val-moved-in-separat.patch
Type: application/octet-stream
Size: 1963 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0051.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0021-s4-drs-refactor-dsdb_load_oid_mappings_ldb-to-use.patch
Type: application/octet-stream
Size: 3192 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0052.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0022-s4-drs-tort-Create-temporary-LDB-for-testing-purpo.patch
Type: application/octet-stream
Size: 3312 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0053.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0023-s4-drs-tort-prefixMap-read-write-in-LDB-test-case.patch
Type: application/octet-stream
Size: 3038 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0054.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0024-s4-drs-dsdb_read_prefixes_from_ldb-refactored.patch
Type: application/octet-stream
Size: 4219 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0055.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0025-s4-drs-dsdb_write_prefixes_from_schema_to_ldb-ref.patch
Type: application/octet-stream
Size: 3696 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0056.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0026-s4-drs-tort-refactor-SCHEMA_INFO_DEFAULT-defined.patch
Type: application/octet-stream
Size: 4969 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0057.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0027-s4-drs-prefixMap-lookup-by-full_OID-implementation.patch
Type: application/octet-stream
Size: 1324 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0058.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0028-s4-drs-tort-Test-case-for-dsdb_create_prefix_mappi.patch
Type: application/octet-stream
Size: 4706 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0059.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0029-s4-drs-dsdb_create_prefix_mapping-refactored.patch
Type: application/octet-stream
Size: 3091 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0060.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0030-s4-drs-bugfix-memory-should-be-allocated-in-local.patch
Type: application/octet-stream
Size: 978 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0061.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0031-s4-drs-tort-_torture_drs_pfm_compare_same-should.patch
Type: application/octet-stream
Size: 6243 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0062.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0032-s4-drs-remove-unused-num_prefixes-and-prefixes-from.patch
Type: application/octet-stream
Size: 2848 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091029/94ec6fad/attachment-0063.obj>


More information about the samba-technical mailing list