[Samba] Connecting to Win2000 drive with samba

John H Terpstra jht at samba.org
Mon Jul 7 14:22:45 GMT 2003


On Mon, 7 Jul 2003, Mark Lin wrote:

> I am not quite use how to do this.  I shared a drive in my win2000 box,
> and performed the following in my linux box :
>
> 	smbclient -W workgroup -U [username] -L [machine nmb_name]
>
> and i get the following result when input the password :
>
> 	session setup failed: NT_STATUS_LOGON_TYPE_NOT_GRANTED
>
> but when use all caps for password I get :
>
> 	session setup failed: NT_STATUS_LOGON_FAILURE
>
> so my question is, where did I go wrong.  Did I not ticker something in
> Windows' side or Linux side.  Oh by the way, I am using
> PLAINTEXTPASSWORD = 0x1.


smbclient //nmb_nam/share -Uusername

Will do the trick.

- John T.
-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list