[jcifs] smbAuthException if server is down
Allen, Michael B (RSCH)
Michael_B_Allen at ml.com
Thu Feb 14 11:09:39 EST 2002
> -----Original Message-----
> From: Kammy Wesley [SMTP:kwesley at filefish.com]
> Sent: Wednesday, February 13, 2002 6:48 PM
> To: Allen, Michael B (RSCH)
> Cc: jcifs
> Subject: Re: [jcifs] smbAuthException if server is down
>
> yes, the domain controller was down. So, is there no way to distinguish
> this?
>
You're going to get whatever the error code was that was returned by the server trying to
contact the domain controller of behalf of the jCIFS user. So you tell me; what happend? Did
you get a worthless error code or maybe it was some errorcode that means "The domain
controller is down" :~). Look at the errorClass and errorCode fields of the SmbException or
SmbAuthException you got. If it was just "Access denied" then there's not much you can do
about that.
Mike
> k
>
> Allen, Michael B (RSCH) wrote:
>
> >Down how? If it's literally off then you'll probably get a Connection refused
> >SmbException ERRCLI/ERRioe. If the server you're connecting to with
> >jCIFS is responding but the domain controller the server authenticates
> >jCIFS users against is having issues you might get an SmbAuthException.
> >It depends really. I don't think there's a good way to tell what the case is
> >really.
>
> >>
> >>Are we supposed to see smbAuthException if the server is down? I
> >>thought that this message only came if the actual authentication failed?
> >>
More information about the jcifs
mailing list