UBUNTU访问 WINDOWS 资源 (access windows resources from Linux using samba)
访问量: 3351
参考(refer to):http://wiki.ubuntu.com.cn/Samba#.E5.AE.89.E8.A3.85Samba
1. sudo apt-get install samba
需要加上文件夹的名字使 server这个参数完整,同时不要使用-L 这个参数。 例如: (you should not use -L as the parameter if you met this error:
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available )
下面是一个实际的例子: (below is a real example )
$ smbclient --user=<group_name>/shensiwei //10.10.0.70/IT文档 ( shensiwei 是用户名 )
来使用跟FTP 差不多的方式来 GET, PUT 各种文件 ( and type 'help' once you logged in, you can see 'put' , 'get' and other similar commands with FTP)