[jcifs] Re: ACLs - SmbException: Incorrect function

Jake Goulding goulding at vivisimo.com
Mon Jun 25 17:53:04 GMT 2007


It is a NetApp SAN, and it is configured with local groups, which would 
lead me to think that this type of function would be implemented. For 
what it's worth, a user from the Windows Explorer can right-click and 
see resolved local groups.

Michael B Allen wrote:
> Hey Jake,
>
> That looks like the server doesn't understand DCERPC. Like Novell
> maybe. But I would have to see a trace to confirm.
>
> Mike
>
> On Mon, 25 Jun 2007 09:43:17 -0400
> Jake Goulding <goulding at vivisimo.com> wrote:
>
>   
>> Trying to retrieve some ACLs for a file, I get the following Exception. Does this ring a bell for anyone? I'm working on getting more information about the particular setup being used, but I figured I could check here first.
>>
>> com.vivisimo.connector.SMBConnector$SMBException: Could not get the ACL
>> 	at com.vivisimo.connector.SMBConnector.setACL(SMBConnector.java:315)
>> 	at com.vivisimo.connector.SMBConnector.processFile(SMBConnector.java:293)
>> 	at com.vivisimo.connector.SMBConnector.processNode(SMBConnector.java:102)
>> 	at com.vivisimo.connector.ConnectorWorker.run(ConnectorWorker.java:502)
>> Caused by: jcifs.smb.SmbException: Incorrect function.
>> 	at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:514)
>> 	at jcifs.smb.SmbTransport.send(SmbTransport.java:591)
>> 	at jcifs.smb.SmbSession.send(SmbSession.java:239)
>> 	at jcifs.smb.SmbTree.send(SmbTree.java:109)
>> 	at jcifs.smb.SmbFile.send(SmbFile.java:693)
>> 	at
>> jcifs.smb.TransactNamedPipeOutputStream.write(TransactNamedPipeOutputStream.java:67)
>> 	at jcifs.dcerpc.DcerpcPipeHandle.doSendFragment(DcerpcPipeHandle.java:50)
>> 	at jcifs.dcerpc.DcerpcHandle.sendrecv(DcerpcHandle.java:162)
>> 	at jcifs.dcerpc.DcerpcHandle.sendrecv(DcerpcHandle.java:129)
>> 	at jcifs.dcerpc.msrpc.LsaPolicyHandle.<init>(LsaPolicyHandle.java:32)
>> 	at jcifs.smb.SID.resolveSids0(SID.java:119)
>> 	at jcifs.smb.SID.resolveSids(SID.java:162)
>> 	at jcifs.smb.SmbFile.processAces(SmbFile.java:2626)
>> 	at jcifs.smb.SmbFile.getSecurity(SmbFile.java:2660)
>> 	at com.vivisimo.connector.SMBConnector.setACL(SMBConnector.java:313)
>> 	... 3 more
>>
>>     
>
>
>   

-- 

JAKE GOULDING
Software Engineer
goulding at vivisimo.com

Viví­simo [Search Done Right™]
1710 Murray Avenue
Pittsburgh, PA 15217 USA
tel: +1.412.422.2499 x105
fax: +1.412.422.2495
vivisimo.com      clusty.com



More information about the jcifs mailing list