[jcifs] difference in smbexceptions?

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Fri Jan 18 12:58:16 EST 2002


> -----Original Message-----
> From:	Kammy Wesley [SMTP:kwesley at filefish.com]
> Sent:	Thursday, January 17, 2002 8:31 PM
> To:	jcifs at lists.samba.org
> Subject:	[jcifs] difference in smbexceptions?
> 
> Hello Mike:
> 
> I am trying to differentiate between actual login failures vs say a 
> server being down.  Which one of the error codes actually correspond to 
> login failures due to user access denied?  Would I just look for an 
> instance of SmbAuthException vs SmbException or should I look at 
> specific error codes?
> 
I think you can just look for SmbAuthException. Read
http://auditorymodels.org/jcifs/src/docs/authhandler.html and if that doesn't
answer your question then come back.

Mike






More information about the jcifs mailing list