Re: Updating ACE[] using jcifs

Michael B Allen <[email protected]>
Newsgroups gmane.network.samba.java
Message-ID <CAGMFw4gOaWTA=+_-xsbNGqZiQH8q9+--pm8tKRE0GyaF2UWa4w@mail.gmail.com>
On Fri, Mar 9, 2012 at 3:10 AM, [email protected]
<[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.