[jcifs] Updating ACE[] using jcifs

christofer.dutz at c-ware.de christofer.dutz at c-ware.de
Fri Mar 9 01:10:21 MST 2012

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.


Von: jcifs-bounces at lists.samba.org [mailto:jcifs-bounces at lists.samba.org] Im Auftrag von Chris Dail
Gesendet: Donnerstag, 8. März 2012 20:49
An: jcifs at lists.samba.org
Betreff: Re: [jcifs] Updating ACE[] using jcifs

I looking at extending JCIFS to add support for setting permissions on the share. I will make any changes I make available to the community. After some investigation it looks like the patch described previously in this chain is only setting permissions on the file itself and not the share. What I am looking to do is set the share permissions.

I looked into how this is implemented using MSRPC. I also found Microsoft's reference documentation that contains the IDL for the desired calls. I'm having a bit of a difficult time understanding how the Java code was generated from this.

srvsvc.java appears to be generated from srvsvc.idl. Same goes for netdfs.java, rpc.java, etc...

Are these generated from the MS COM IDL files? If so what utility was done to do this?

Any pointers in this area would be much appreciated.



On Tue, Mar 6, 2012 at 10:14 PM, Michael B Allen <ioplex at gmail.com<mailto:ioplex at gmail.com>> wrote:
On Tue, Mar 6, 2012 at 2:52 PM, chrisdail <chrisdail at gmail.com<mailto:chrisdail at gmail.com>> wrote:
> I am interested in setting ACEs from JCIFS as well. Is this patch planned for
> inclusion in an upcoming release?
Hi Chris,

No. Writing data to the server is a serious matter that would require
more testing than I am willing to perform for the level of
functionality provided.


Michael B Allen
Java Active Directory Integration

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20120309/b26daf82/attachment-0001.html>

More information about the jCIFS mailing list