- 论坛徽章:
- 0
|
freebsd8.2+nfs+samba3.5.6安装好后启动服务都正常,在工作组中可以看到samba服务器,连接后可以看到共享的文件夹,可是打不开文件夹,提示没有访问权限,本人新手第一次安装samba,不知道怎么设置,另外服务器总是提示这样的错误:
Dec 31 17:32:56 dserver smbd[1186]:[2011/12/31 17:32:56.562997, 0] lib/util_sock.c:474(read_fd_with_timeout)
Dec 31 17:32:56 dserver smbd[1186]:[2011/12/31 17:32:56.562997, 0]lib/util_sock.c:1432(get_peer_addr_internal)
Dec 31 17:32:56 dserver smbd[1186]:getpeername failed. Error was Transport endpoint is not connected
Dec 31 17:32:56 dserver smbd[1186]:read_fd_with_timeout: client 0.0.0.0 read error = Socket is not connected
smb.conf如下:
[global]
workgroup = WORKGROUP
smb ports=139 445
interfaces = 196.0.0.142
printing = bsd
printcap name = /dev/null
load printers = no
disable spoolss = yes
netbios name = dserver
server string = Samba Server
secutity = share
hosts allow = 196.0.0 127.
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = 196.0.0.142
dns proxy = no
[diandiao]
comment = diandiao file space
path = /homes/diandiao
browseable = yes
writable = yes
public = yes
create mask = 0755
directory mask = 0755
不知道还需要什么设置,请大大们帮帮忙,谢谢啦 ) |
|