Discussion Locked

connecting linux to windows

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am trying to connect to a windows share on win 2000 advance server.I try to mount the share on my Linux box but I get a session setup failed:ERRDOS - ERRnoaccess (Access denied.) the command I use is
smbmount //day/2kshare myshare -U john -I 10.0.0.1
then I am asked for the password and when I type the password I get the above error. Does anyone know what I am doing wrong, why I cannot connect.

6 replies

by lintadsl

Try this way,
mount -t smbfs -o user=yourID,pwassword=whatever //machinename/folder /wheremountto

You may need to edit yor hosts file for machine name.

Good Luck,
Sunny,

by jehu

I finally got the energy to read my samba book before you answered this question. I also got it to work using a similar command from my samba book. If I did not have the book this would work also. So you get the points.

by cpfeiffe

Also, in your samba config make sure that your Linux machine is in the same workgroup/domain as the W2K machine.

This discussion is closed to new replies.