[jcifs] Updating ACE[] using jcifs

Michael B Allen ioplex at gmail.com
Fri Mar 9 09:02:50 MST 2012


On Fri, Mar 9, 2012 at 3:10 AM, christofer.dutz at c-ware.de
<christofer.dutz at c-ware.de> wrote:
> One thing I should comment on ist hat the idl files provided with midlc are
> not the ones provided by microsoft.
>
> They were the result of intense reverse engineering oft he Samba guys.
> Microsoft published their IDLs afterwards and the format is similar, but not
> identical. So you will have to manually translate them into the format midlc
> understands. I’m doing this for the missing calls in svcctl.idl.

Hi Chris,

The midlc tool and idl used by midlc is has absolutely nothing to do
with what Samba uses. Samba's "pidl" utility (which is written in
Perl) uses a derivative of MS IDL syntax that is quite different. Pidl
has many "extensions" that midl does not have. The JCIFS midlc utility
uses a strict subset of MS IDL syntax. With the exception of the
[op()] attribute extension, the syntax understood by midlc is
identical to that of midl. Meaning IDL written for midlc would work
with midl whereas IDL written for pidl would absolutely not work with
midl.

Also, I'm sorry to say that your documentation would probably mislead
people more than it helped them. Please do not post that link here.

Mike


More information about the jCIFS mailing list