<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
I'm using JCIFS 1.3.14*. I have code that does this:<br>
<blockquote><tt>public class NetServerEnum2Ext extends SmbFile<br>
{<br>
myMethod() {<br>
int Flags = 0x00000200;<br>
NetServerEnum2 req = new NetServerEnum2(host, Flags);<br>
NetServerEnum2Response resp = new NetServerEnum2Response();<br>
send(req, resp);<br>
// Check status<br>
if(resp.status != SmbException.ERROR_SUCCESS && resp.status
!= SmbException.ERROR_MORE_DATA)<br>
throw new SmbException(resp.status, true);<br>
...<br>
}<br>
}</tt><br>
</blockquote>
Usually it works fine. Sometimes it will throw because it doesn't
recognize the response status. The value I see in the response status
is "2". The same host, flags, and authentication info (not shown for
brevity) are used both when it works and when it doesn't.<br>
<br>
jcifs.smb.SmbException is not figuring out a text translation. Where
should I look to see what the status means? <br>
<br>
Thanks,<br>
-Del<br>
<br>
* My version is modified to run in a J2ME environment. It works most
of the time, but I'm still ironing out some wrinkles. This is one of
them.<br>
</body>
</html>