[Samba] Connecting to Win2000 drive with samba

John H Terpstra jht at samba.org
Tue Jul 8 06:34:28 GMT 2003


On Tue, 7 Jul 2003, Mark Lin wrote:

> Thank you for your advice John, but you suggestion is no different then
> what I was doing.  Sure enough I got the same errors.  I just wish i
> knew wither the problem lies with smb or with win2k.  It seems like they
> are talking but either something in win2k is set right or some in smb
> that is not set right that they are not understanding each other.  Again
> I pose this question to anyone who may have the answer.

Ok. You will need a user account on the Win2K machine for smbclient to log
onto. Also, you will need to make sure that the user you set up on the
Win2k machine has access to the share and it's contents.

- John T.


>
> Mark Lin
>
> On Mon, 2003-07-07 at 07:22, John H Terpstra wrote:
> > 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
>
>

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



More information about the samba mailing list