Samba 以某种方式工作,但某些进程崩溃。只有当一些(或一个)Windows 客户端访问 GPO 推出的网盘时才会出现这种接缝。至少有一个 w7 客户端无法通过网盘访问服务器。当用户尝试 smb 进程崩溃并在 /var/log/samba/log.smbd 中出现以下情况时:
[2014/03/10 14:16:47.897568, 0] lib/fault.c:47(fault_report)
===============================================================
[2014/03/10 14:16:47.897702, 0] lib/fault.c:48(fault_report)
INTERNAL ERROR: Signal 11 in pid 9410 (3.6.17-cdc-4.5.6-302)
Please read the Trouble-Shooting section of the Samba3-HOWTO
[2014/03/10 14:16:47.897831, 0] lib/fault.c:50(fault_report)
From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2014/03/10 14:16:47.897918, 0] lib/fault.c:51(fault_report)
===============================================================
[2014/03/10 14:16:47.897978, 0] lib/util.c:1117(smb_panic)
PANIC (pid 9410): internal error
[2014/03/10 14:16:47.902326, 0] lib/util.c:1221(log_stack_trace)
BACKTRACE: 21 stack frames:
#0 /opt/centrify/samba/sbin/smbd(log_stack_trace+0x1c) [0x7fd7f834ee8c]
#1 /opt/centrify/samba/sbin/smbd(smb_panic+0x2b) [0x7fd7f834ef5b]
#2 /opt/centrify/samba/sbin/smbd(+0x40af40) [0x7fd7f833ff40]
#3 /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7fd7f4d764a0]
#4 /lib/x86_64-linux-gnu/libc.so.6(cfree+0x1c) [0x7fd7f4dc359c]
#5 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2(+0xcf80) [0x7fd7f2a9cf80]
#6 /lib64/ld-linux-x86-64.so.2(+0xf90e) [0x7fd7f7d1f90e]
#7 /lib/x86_64-linux-gnu/libc.so.6(+0x3b901) [0x7fd7f4d7b901]
#8 /lib/x86_64-linux-gnu/libc.so.6(+0x3b985) [0x7fd7f4d7b985]
#9 /opt/centrify/samba/sbin/smbd(+0x675a99) [0x7fd7f85aaa99]
#10 /opt/centrify/samba/sbin/smbd(+0x675bbe) [0x7fd7f85aabbe]
#11 /opt/centrify/samba/sbin/smbd(+0x18936a) [0x7fd7f80be36a]
#12 /opt/centrify/samba/sbin/smbd(run_events_poll+0x320) [0x7fd7f835d2a0]
#13 /opt/centrify/samba/sbin/smbd(smbd_process+0x8ab) [0x7fd7f80bce5b]
#14 /opt/centrify/samba/sbin/smbd(+0x6740a1) [0x7fd7f85a90a1]
#15 /opt/centrify/samba/sbin/smbd(run_events_poll+0x320) [0x7fd7f835d2a0]
#16 /opt/centrify/samba/sbin/smbd(+0x428709) [0x7fd7f835d709]
#17 /opt/centrify/samba/lib/libtevent.so.0(_tevent_loop_once+0x90) [0x7fd7f5737120]
#18 /opt/centrify/samba/sbin/smbd(main+0x12df) [0x7fd7f85aa6bf]
#19 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fd7f4d6176d]
#20 /opt/centrify/samba/sbin/smbd(+0x1085c9) [0x7fd7f803d5c9]
[2014/03/10 14:16:47.902958, 0] lib/fault.c:345(dump_core)
Exiting on internal error (core file administratively disabled)
我对 DNS 有点怀疑,因为 Windows 客户端无法通过 dns 名称访问 samba(但服务器会响应例如 ping dns 名称,而 nettatalk 对于使用 dns 的 mac 客户端工作正常。我已将 gpo 更改为从 samba 服务器使用 IP 而非 dns 挂载网络驱动器,它对大多数客户端都运行良好。我已经卸载了客户端上所有导致 samba 崩溃的驱动器,并在其上运行 gpupdate /force。客户端从AD 2008R2 服务器,我已检查客户端上的 DNS 是否正确。
注意:域名为“opusark.local”。我在安装 centrify 时收到一个警告,关于结尾的“本地”不擅长应该避免。这和这有关系吗?
有关如何解决此错误的任何线索?
操作系统:Ubuntu 12.04 6 位 Centrify:centrify-samba-4.5.6-deb5-x86_64.tgz Samba 版本(centrify 使用):# /opt/centrify/samba/sbin/smbd --version 版本 3.6.17-cdc-4.5 .6-302
使用启用了 centrify 的 ssh 将旅馆登录到服务器很慢,并且不适用于所有计算机。
/etc/samba/smb.conf 中的全局:
[global]
security = ADS
realm = OPUSARK.LOCAL
workgroup = OPUSARK
netbios name = sinan
auth methods = guest, sam, winbind, ntdomain
machine password timeout = 0
passdb backend = tdbsam:/etc/samba/private/passdb.tdb
kerberos method = secrets and keytab
client use spnego principal = true
send spnego principal = Yes
server signing = auto
client ntlmv2 auth = yes
client use spnego = yes
template shell = /bin/bash
winbind use default domain = Yes
winbind enum users = No
winbind enum groups = No
winbind nested groups = Yes
idmap cache time = 0
ignore syssetgroups error = No
idmap config * : backend = tdb
idmap config * : range = 1000 - 200000000
idmap config * : base_tdb = 0
enable core files = false
syslog = 0
崩溃报告已停止。可能的原因是当客户端试图通过 dns 名称访问它们时 smbd 进程崩溃(由于某种原因它不起作用)。