[jcifs] SmbSession.logon

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Thu May 1 09:53:48 EST 2003


I don't think we squash the reason codes. What you get is what was returned
on the wire. How the Errbadpw and Errbaduid reason codes are provoked may
not be consistent across servers. These may be limited to Win95, 98, Me for
example. I don't recall exactly.

Mike

> -----Original Message-----
> From:	Seshubabu Pasam [SMTP:pasams at hotmail.com]
> Sent:	Wednesday, April 30, 2003 7:41 PM
> To:	jcifs at lists.samba.org
> Subject:	[jcifs] SmbSession.logon
> 
> 
> Hi there,
> 
> Irrespective of the type of error (whether I provide a bad user or bad 
> password) I always get SmbException.Errnoaccess. I do not get the specific 
> error messages like Errbadpw or Errbaduid. Is there a way to get the correct 
> reason code for SmbSession.logon failure???
> 
> Thanks
> -Seshubabu Pasam
> 
> 
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.  
> http://join.msn.com/?page=features/featuredemail
> 



More information about the jcifs mailing list