当前位置: 技术问答>linux和unix
关于samba和ftp服务器配置
来源: 互联网 发布时间:2017-05-07
本文导语: 请教一下大神们如何在虚拟机的linux下配置samba服务器,同时使其能在win7 下使用,快考试了,书上的配置方法试了,可是总是出问题,在linux中配置完samba后再win7中寻找workgroup找不到,然后每次一输入我虚拟机的ip地...
请教一下大神们如何在虚拟机的linux下配置samba服务器,同时使其能在win7 下使用,快考试了,书上的配置方法试了,可是总是出问题,在linux中配置完samba后再win7中寻找workgroup找不到,然后每次一输入我虚拟机的ip地址系统就未响应。我也不知道在哪里出问题了,同样我的ftp配置也出现了问题。这两者都是在虚拟机中文件修改好了,服务也启动了,就是在win7中运行时,不知道该如何找,书上给的都是xp的。所以请大神们帮帮忙,不胜感激,很是着急!!!
|
贴一个samba配置
[global]
# workgroup name, it's same in the whole share network
workgroup = WORKGROUP
# server string is the equivalent of the NT Description field
server string = Samba Server
# the server's netbios name
netbios name = SAMBASERVER
# Security mode.
security = user
# can guest account visit
public = yes
# can guest account browse shared resource
browseable = yes
# do not load printers
load printers = no
# hide printers
disable spoolss = yes
# disable logging features
log level = 0
# this tells Samba to use a separate log file for each user that signed in
log file = /var/log/samba/log.%U
# Put a capping on the size of the log files (in Kb).
max log size = 256
# Backend to store user information in
passdb backend = tdbsam
unix charset = CP936
dos charset = cp936
display charset = CP936
[root]
path=/
browseable=yes
public=no
writable=yes
valid users=root
create mask=0766
directory mask=0766
|
|
关键是你报什么错误?
你如何访问的?
你如何访问的?