Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mount -t smbfs //192.168.1.101/C$ /mnt/sales fails

Status
Not open for further replies.

heintze

Programmer
Nov 19, 2005
61
US
Yesterday this was working:

mount -t smbfs //192.168.1.101/C$ /mnt/sales -o username:siegfried

I have not rebooted 192.168.1.101 which is running windows. I have rebooted fedora core 4.

Today I get

3796: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed

I have not changed anything. What could be the problem?

Thanks,
Siegfried
 
mount -t smbfs //192.168.1.101/C$ /mnt/sales -o username:siegfried

it should be username[red]=[/red]siegfried

another things, don't you need the domain/workgroup name? if so, it should be

mount -t smbfs //192.168.1.101/C$ /mnt/sales -o username="domain\siegfried"

Cheers,

Chacal, Inc.[wavey]
 
You may consider using cifs if possible. It's newer and supposed to be better for windows shares (or so I read.) When I used it to connect to windows machines it seems to be a little faster than smbfs, but you'll need cifs support through a module or built into the kernel.

Code:
mount -t cifs //192.168.1.101/C$ /mnt/sales -o username="domain\siegfried"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top