prefixMap refactoring

Kamen Mazdrashki kamen.mazdrashki at postpath.com
Tue Oct 6 06:23:24 MDT 2009


Andrew, Metze,

Please find attached few patches on DRS:prefixMap refactoring.

Patches from 0001 to 0006 redefine IDL definition for
drsuapi_DsReplicaOID structure.
Changes are propagated in code base.

Note: Those changes does not add any value to current implementation.
Implementation should work just as before - i.e. partial-OIDs are
not handled correctly. 
As for now, the only benefit is torture tests are working 
with prefixMaps with partial-OIDs as well.

My next step here is to reimplement prefixMap functionality in 
separate file (module). PrefixMap functionality is to be 
implemented as described in MS-DRSR documentation - currently
there is such implementation in RPC-DSSYNC test and it is
working fine (please see next patches).


Patches from 0007 to 0012 implements:
1. new torture module DRSUAPI_TESTS. Intention is all DRS-related
tests to be implemented in this module.
My next step is to move RPC-DRSUAPI tests here. Those test cases
are to be renamed and prefix will be DRS-RPC...
I indent also to implement some internal unit tests for DRS implementation.
2. RPC-DSSYNC test is extended little bit. All attributes returned in
replication are decoded and verified against the remote server we are
replicating from. Decoded attributes are dumped out as debug messages.
 


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-drs-idl-Redefine-drsuapi_DsReplicaOID-in-drsuap.patch
Type: application/octet-stream
Size: 1109 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091006/bd58837b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-s4-drs-idl-Regenerate-idl.patch
Type: application/octet-stream
Size: 5129 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091006/bd58837b/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-s4-drs-NDR-Remove-push-pull-code-for-drsuapi_DsRep.patch
Type: application/octet-stream
Size: 4619 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091006/bd58837b/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-s4-drs-NDR-Print-implementation-for-drsuapi_DsRepl.patch
Type: application/octet-stream
Size: 1661 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091006/bd58837b/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-s4-drs-Propagate-redefinition-of-drsuapi_DsReplicaO.patch
Type: application/octet-stream
Size: 13476 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091006/bd58837b/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-s4-drs-tort-TORTURE_DRS-torture-module-initial-i.patch
Type: application/octet-stream
Size: 5176 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091006/bd58837b/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-s4-drs-tort-oid_from_attid-reference-implementat.patch
Type: application/octet-stream
Size: 4346 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091006/bd58837b/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-s4-drs-tort-ignore-drs-proto.h-file.patch
Type: application/octet-stream
Size: 650 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091006/bd58837b/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-s4-drs-tort-_drs_ldap_attr_by_oid-implementation.patch
Type: application/octet-stream
Size: 2359 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091006/bd58837b/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-s4-drs-tort-drs_util_DsAttributeId_to_string-fun.patch
Type: application/octet-stream
Size: 6371 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091006/bd58837b/attachment-0009.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-s4-drs-tort-_drs_util_verify_attids-to-verify-AT.patch
Type: application/octet-stream
Size: 3054 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091006/bd58837b/attachment-0010.obj>


More information about the samba-technical mailing list