[jcifs] [patch] Resolve SIDs in ACE[]s from getSecurity() to Human
Readable Names
Michael B Allen
mba2000 at ioplex.com
Wed Mar 29 16:13:49 GMT 2006
Nice Job Martin.
The UnicodeString type from Jarapac that extends rpc.unicode_string should be used although it would need some fixing up (e.g. replace the toString contents with that of your uniCodeToString method). Also, jcifs.smb.SID should be modified to extend rpc.sid_t to take advantage of polymorphic behavior there also. Then you can use those extended types wherever you would use rpc.unicode_string or rpc.sid_t. That would simplify and speed things up a little.
It should be noted that users will need the Jarapac jar file:
http://sourceforge.net/projects/jarapac/
Note: the Jarapac CVS repo is severly broken. Always download the package.
The patch is in the patches directory:
http://jcifs.samba.org/src/patches/
It will be interesting to see how this works for people.
Mike
On Wed, 29 Mar 2006 10:01:45 +0200
"Martin D. Pedersen" <mdp at visanti.com> wrote:
> Hi Michael
>
<snip>
> It works just fine.
>
> I have included a new SID resolve patch.
>
>
>
> Best regards
> Martin Pedersen
More information about the jcifs
mailing list