LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 857|回复: 1

如何连接windows服务器,我无法连接上去访问文件

[复制链接]
发表于 2008-7-17 12:25:01 | 显示全部楼层 |阅读模式
各位高手,我现在用ubuntu遇到一点问题,请指点一下,
在windows下,我自己写过一个批处理文件
[PHP]mymanuals.bat

set appserver=172.5.99.60
set username=scb\newman
set psw=123456

net use \\%appserver% /delete
net use \\%appserver% /user:%username% %psw%
explorer \\%appserver%\tted\manuals[/PHP]

用它我可以打开服务器上的手册目录。

现在在ubuntu下,我不知道怎么才能访问它了,

samba我已经安装过了。

1. 我以前用过mount的方法,但是不行。
newman0708@newman0708-desktop:~$ sudo mount -t smbfs -o username=scb/newman,password=,ip=172.27.203.40 //tted /mnt/temp/
Password:
mount: wrong fs type, bad option, bad superblock on //tted,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


2.使用ubuntu 上Places->connect to server,也连接不上服务器,但是在FC6上面,我以前可以连接服务器的。

我应该会怎么样才能连接上去呢?
 楼主| 发表于 2008-7-17 20:59:52 | 显示全部楼层
自己顶,请指点一下
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表