[jcifs] [patch] Resolve SIDs in ACEs from getSecurity() to
Human Readable Names
Michael B Allen
mba2000 at ioplex.com
Tue Apr 4 20:55:55 GMT 2006
On Tue, 04 Apr 2006 01:32:21 +0200
Thomas Bley <thomas.bley at simple-groupware.de> wrote:
> I tried the resolve patch with my WinXP (SP2) as Server, but no success:
> I get the listing from a folder and the ACEs, but I can't resolve SIDs.
> The patch modifies TransactNamedPipeOutputStream.java, do I also need to
> modify TransactNamedPipeInputStream.java ?
> The output is:
> serial.txt Test
> jcifs.smb.SmbException: Unable to resolve SIDs
> jcifs.smb.SmbAuthException: Logon failure: account currently disabled.
The GUEST account is being used. You need to supply valid credentials
for the target SAM database. So if you're using a workstation instead
of a real domain controller you will need to use:
jcifs.smb.client.username=XpMachUser // e.g. Administrator
jcifs.smb.client.password=********* // password for XpMachUser
More information about the jcifs