[jcifs] jcifs.smb.SmbException: Incorrect function

harald.preczek at bundesbank.de harald.preczek at bundesbank.de
Thu Jul 10 09:21:21 GMT 2008


Mike,

we've done a little debugging using Jcifs 1.2.21/1.2.22 and here is what we
found.

when we try to set up a connection with the NetApp-filer we receive an
error c0000002. according to the defined constants this means "not
implemented". the exception is thrown by the jcifs-method checkStatus.

It don't know wether this means the filer returns a status jcifs can't
handle or jcifs tried to use a function that's not implemented on the
filer.

we checked this with our own programs as well as with the geturl.java
example shipped with jcifs. the results ar always the same.

Harald
_____________________________________________________
Harald Preczek
Deutsche Bundesbank
Zentralbereich IT
Produktmanagement Anwendungssysteme
Wertpapier, Kredit, Devisen, Risiko-Controlling, Depot
Tel: +49 511 30332246 | Fax: +49 69 7090927589
Email: harald.preczek at bundesbank.de
Homepage: www.bundesbank.de

(Embedded image moved to file: pic02850.jpg)


                                                                           
             "Michael B                                                    
             Allen"                                                        
             <ioplex at gmail.c                                            An 
             om>                       "harald.preczek at bundesbank.de"      
                                       <harald.preczek at bundesbank.de>      
             13.06.2008                                              Kopie 
             21:45                                                         
                                                                     Thema 
                                       Re: Re: [jcifs]                     
                                       jcifs.smb.SmbException: Incorrect   
                                       function                            
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Harald,

I have installed the NetApp simulator but all of the tests I have work
perfectly. I cannot reproduce the "Incorrect function" Exception.

Your last NullPointerException was coming from one of your own classes
(CsvRenderer.java).

Perhaps 1.2.21 is now working?

Or JCIFS is not returning the data you expect?

If you can create a small test program like the examples shipped with
JCIFS so that I can reproduce the issue here, it should be easy to fix
now that I have the simulator.

Mike

--
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/




--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail oder von Teilen dieser Mail ist nicht gestattet.

Wir haben alle verkehrsüblichen Maßnahmen unternommen, um das Risiko der
Verbreitung virenbefallener Software oder E-Mails zu minimieren, dennoch
raten wir Ihnen, Ihre eigenen Virenkontrollen auf alle Anhänge an dieser
Nachricht durchzuführen. Wir schließen außer für den Fall von Vorsatz oder
grober Fahrlässigkeit die Haftung für jeglichen Verlust oder Schäden durch
virenbefallene Software oder E-Mails aus.

Jede von der Bank versendete E-Mail ist sorgfältig erstellt worden, dennoch
schließen wir die rechtliche Verbindlichkeit aus; sie kann nicht zu einer
irgendwie gearteten Verpflichtung zu Lasten der Bank ausgelegt werden.
______________________________________________________________________

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of  the material in this
e-mail or of parts hereof is strictly forbidden.

We have taken precautions to minimize the risk of transmitting software
viruses but nevertheless advise you to carry out your own virus checks on
any attachment of this message. We accept no liability for loss or damage
caused by software viruses except in case of gross negligence or willful
behaviour.

Any e-mail messages from the Bank are sent in good faith, but shall not be
binding or construed as constituting any kind of obligation on the part of
the Bank.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic02850.jpg
Type: image/jpeg
Size: 3046 bytes
Desc: not available
Url : http://lists.samba.org/archive/jcifs/attachments/20080710/c7af4fa8/pic02850-0001.jpg


More information about the jcifs mailing list