Re: Updating ACE[] using jcifs
| Newsgroups | gmane.network.samba.java |
|---|---|
| Message-ID | <66E38C42347D6446BF7FCB22C3D3878064E8C52BB7@ECCR06PUBLIC.exchange.local> |
Hey I just documented how to generate the DCE/RPC stubs from a given IDL and then how to actually perform the calls on my confluence. Here I am working with the svcctl to manage services, but it should be pretty much similar to what you are doing. https://dev.c-ware.de/confluence/pages/viewpage.action?pageId=15007754 Hope it gives you the head-start nobody was able to give me. Chris Von: [email protected] [mailto:[email protected]] Im Auftrag von Chris Dail Gesendet: Donnerstag, 8. März 2012 20:49 An: [email protected] 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. Thanks Chris On Tue, Mar 6, 2012 at 10:14 PM, Michael B Allen <[email protected]<mailto:[email protected]>> wrote: On Tue, Mar 6, 2012 at 2:52 PM, chrisdail <[email protected]<mailto:[email protected]>> 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. Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/