日期:2014-05-16  浏览次数:20594 次

求教大神关于samba服务器的问题?
设置好以后启动 nmbd  smbd,确定成功启动了,下面是问题:

[root@localhost xs]# mount -o user=xy.password=123456 //192.168.153.128/share /samba
mount: block device //192.168.153.128/share is write-protected, mounting read-only
mount: cannot mount block device //192.168.153.128/share read-only
这个错误怎么回事,怎么解决呢?
以下是samba配置文件smb.conf内容(位置在:/usr/local/samba/lib 里面,不知位置对不对???):
[global]
workgroup=WORKGROUP
printcap name = /etc/printcap
load printers = yes
pinting = cups

[share]
    comment = Share Directory
    path = /tmp
    writable = yes
[printers]
    comment = Share Printers
    path = /var/spool/samba
    browseable = no
    public = yes
    printable = yes

------解决方案--------------------
引用:
Quote: 引用:

你用的啥系统?ubuntu?

如果是ubuntu的话,参考这个帖子:
http://forum.ubuntu.org.cn/viewtopic.php?t=20852

这个帖子配置samba共享目录,屡试不爽。
我在VMware中建的RHEL5


大致配置应该差不多。