首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

samba的smb.conf参照配置和设置密码方法

2012-07-30 
samba的smb.conf参考配置和设置密码方法[global]bind interfaces only yesinterfaces 192.168.1.200/2

samba的smb.conf参考配置和设置密码方法

[global]

bind interfaces only = yes

interfaces = 192.168.1.200/24

workgroup = Workgroup

server string = hp 5710

#guest account = ty

security = user

load printers = no

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE

netbios name = Linksys WRT600N

browseable = yes

dns proxy = no

guest ok = yes

guest only = no

log level = 1

max log size = 100

encrypt passwords = yes

preserve case = yes

short preserve case = yes

dos charset = UTF-8

unix charset = UTF-8

display charset = UTF-8

wins support = yes

time server = yes

os level = 255

local master = yes

domain master = yes

preferred master = yes

hosts allow = 192.168.1.200/24

?

?

[Share]

path = /mnt/down

valid user = ty

browseable = yes

writable = yes

?

为了安全,还需要设置访问密码,用户名必须是系统已有用户名,这里的密码可与登陆debian的密码不一致

smbpasswd 用户名

热点排行