QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 802|回复: 2

怎样在webmin下打开samba的域服务?

[复制链接]
发表于 2004-12-3 15:47:06 | 显示全部楼层 |阅读模式
小弟是菜鸟!
我是初学者
帮帮我吧?
 楼主| 发表于 2004-12-3 16:07:20 | 显示全部楼层
帮帮忙啊!
回复

使用道具 举报

发表于 2004-12-3 16:44:08 | 显示全部楼层
不用webmin,直接修改/etc/samba/smb.conf的[Global]段:

workgroup = your_group
netbios name = your_machine
server string = Samba PDC running %v
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
hosts allow = 192.168.0. 192.168.1. 127.
guest account = nobody
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers

os level = 99
preferred master = yes
local master = yes
domain master = yes
unix password sync = yes

passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd: *all*authentication*tokens*updated*successfully*
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u

security = user
encrypt passwords = yes
domain logons = yes
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-6 23:35 , Processed in 0.044783 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表