- 论坛徽章:
- 0
|
[global]
# 与主机显示相关信息
workgroup = AOP
netbios name = lx
server string = Samba Server %v at %h
# 语言设置
unix charset = utf8
display charset = utf8
dos charset = cp950
# 登录设置
log file = /var/log/samba/%m.log
max log size = 50
# 密码有关设定---这里是关键
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
# 其它设置项
dns proxy = no
template shell = /bin/false
winbind use default domain = no
name resolve order = lmhosts bcast hosts
# 系统默认设置
printcap name = /etc/printcap
load printers = yes
cups options = raw
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
[homes]
comment = Home directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
[public]
comment = the user groups work directory
path = /mnt/d/doc
public = yes
writable = yes
valid users = @tech
# This one is useful for people to share files
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
; valid users = tech
# 固定用户访问
---------------------------------------------------------------------------------------
访问public或homes指定目录,造成系统重启(xp重启, vmware 5.5.1,试验多次,症状一样)
如果只访问tmp就不会有问题.而当security = share 时, 稍修改,就可以正常访问.
有谁碰到过类似的问题吗? 以下是出现panic的一段日志,请达人帮忙啊!
/var/log/samba的一个日志
#18 smbd [0xbb0701]
[2007/04/11 15:18:37, 0] lib/fault.c:dump_core(173)
dumping core in /var/log/samba/cores/smbd
[2007/04/11 15:18:58, 0] lib/fault.c:fault_report(41)
===============================================================
[2007/04/11 15:18:58, 0] lib/fault.c:fault_report(42)
INTERNAL ERROR: Signal 11 in pid 2299 (3.0.23c-1.fc5)
Please read the Trouble-Shooting section of the Samba3-HOWTO
[2007/04/11 15:18:58, 0] lib/fault.c:fault_report(44)
From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2007/04/11 15:18:58, 0] lib/fault.c:fault_report(45)
===============================================================
[2007/04/11 15:18:58, 0] lib/util.c:smb_panic(1614)
PANIC (pid 2299): internal error
[2007/04/11 15:18:58, 0] lib/util.c:log_stack_trace(1721)
BACKTRACE: 19 stack frames:
#0 smbd(log_stack_trace+0x2d) [0xd918ad]
#1 smbd(smb_panic+0x5d) [0xd919dd]
#2 smbd [0xd7d51a]
[ 本帖最后由 fertiland 于 2007-5-17 10:50 编辑 ] |
|