pickling / unpickling self-relative (was: Re: Quick question on IDL)

Tatsukawa, Seiichi stat at rational.com
Wed Oct 17 07:03:12 GMT 2001


> what i am hoping to do is do as you suggest on a _second_ pass,
> using rpc_ss_register_node() to record the necessary information:
> the address of the byte offset in the output stream for every
> referent identifier, and replace with byte offset, also recorded
> in the node table.

So, it only works for the fixed buffer encoding. I'm sure that you can
decode the buffer which you encoded with the modified marshalling engine.
However, I still doubt that you can decode the buffer (self-relative
structure) generated by Microsoft without hacking the unmarshalling engine
because the order of the actual data (the representation of the pointer
referent) does not follow the NDR rule.

---  Seiichi




More information about the samba-technical mailing list