prefixMap refactoring

Kamen Mazdrashki kamenim at gmail.com
Sun Oct 18 13:29:40 MDT 2009


Hi guys,

Here is another portion of patches for prefixMap refactoring.
Next step is to integrate this code in dsdb_schema implementation.
Please review and push (if everything is fine).

While gathering data for testing, I've stumbled upon a Major problem
with W2K8 prefixMap implementation. For some reason, w2k8 prefixMaps
are constructed in different way than described in MS-DRSR :(
So different, that I can't figure out how to use those maps for
decoding OIDs.
As the logs a large for posting them in the list, I will upload them
somewhere and write again here - no need to mention that
any help in cracking w2k8 prefixMaps will be highly appreciated.


Btw, I've create few utility scripts in Python for BER encoded OIDs,
parsing DSSYNC test log to gather data for testing and
prefixMap encode/decode to help me. I don't know if those
script will make use for anyone in the samba4 team and I can't
figure out where to put them in the source tree...
I am attaching them as well though.


Thanks,
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-tort-fixed-to.patch
Type: application/octet-stream
Size: 900 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091018/a5fcf0c2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-s4-drs-tort-Comment-typos-fixed-in-drs_util.c.patch
Type: application/octet-stream
Size: 1275 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091018/a5fcf0c2/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-s4-drs-tort-Unit-test-for-prefixMap-implementation.patch
Type: application/octet-stream
Size: 18558 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091018/a5fcf0c2/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-s4-drs-prefixMap-main-interface-implementation.patch
Type: application/octet-stream
Size: 7536 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091018/a5fcf0c2/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prefixmap.py
Type: application/octet-stream
Size: 2045 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091018/a5fcf0c2/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ber_oid.py
Type: application/octet-stream
Size: 2090 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091018/a5fcf0c2/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pfm_log_parse.py
Type: application/octet-stream
Size: 6127 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091018/a5fcf0c2/attachment-0006.obj>


More information about the samba-technical mailing list