Здравствуйте.
Система Debian 3.1 Sarge samba 3.0.24создал динамические шары net usershare add .....права на папку с usershares назначил chmod 1770 ./usershares chown root:nogroup (root:root также работает)
Не работает - шары появляются, пользователи в них заходят согласно acl, выставленным на шару, но бывает, при переходе в другую папку клиентом winXP все отавливается секунд на 10 и более при этом в логе (syslog = 10) появляются следующие записи
[2007/04/23 19:58:48, 1] smbd/service.c:close_cnum(1150)
griff (192.168.5.209) closed connection to service _студенту
[2007/04/23 19:59:26, 1] smbd/service.c:make_connection_snum(950)
griff (192.168.5.209) connect to service _студенту initially as user nobody (uid=65534, gid=65534) (pid 9714)
[2007/04/23 19:59:26, 0] param/loadparm.c:process_usershare_file(4497)
process_usershare_file: stat of /home/users/_студенту failed. Permission denied
[2007/04/23 19:59:26, 0] param/loadparm.c:process_usershare_file(4497)
process_usershare_file: stat of /home/users/_студенту failed. Permission denied
[2007/04/23 19:59:28, 0] lib/substitute.c:alloc_sub_basic(460)
alloc_sub_basic: NULL source string! This should not happen
[2007/04/23 19:59:28, 0] lib/substitute.c:alloc_sub_basic(460)
alloc_sub_basic: NULL source string! This should not happen
[2007/04/23 19:59:28, 0] lib/substitute.c:alloc_sub_basic(460)
alloc_sub_basic: NULL source string! This should not happen
[2007/04/23 19:59:28, 0] lib/fault.c:fault_report(41)
===============================================================
[2007/04/23 19:59:28, 0] lib/fault.c:fault_report(42)
INTERNAL ERROR: Signal 11 in pid 9714 (3.0.24)
Please read the Trouble-Shooting section of the Samba3-HOWTO
[2007/04/23 19:59:28, 0] lib/fault.c:fault_report(44)From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2007/04/23 19:59:28, 0] lib/fault.c:fault_report(45)
===============================================================
[2007/04/23 19:59:28, 0] lib/util.c:smb_panic(1599)
PANIC (pid 9714): internal error
[2007/04/23 19:59:28, 0] lib/util.c:log_stack_trace(1706)
BACKTRACE: 14 stack frames:
#0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822d753]
#1 /usr/sbin/smbd(smb_panic+0x48) [0x822d5d8]
#2 /usr/sbin/smbd [0x821b26c]
#3 [0xffffe420]
#4 /usr/sbin/smbd [0x80c7cdb]
#5 /usr/sbin/smbd(handle_trans2+0x197) [0x80cf5f7]
#6 /usr/sbin/smbd(reply_trans2+0x402) [0x80cfd22]
#7 /usr/sbin/smbd [0x80e9e9f]
#8 /usr/sbin/smbd [0x80ea0c4]
#9 /usr/sbin/smbd [0x80ea2e2]
#10 /usr/sbin/smbd(smbd_process+0x155) [0x80eb1c5]
#11 /usr/sbin/smbd(main+0x92e) [0x82c305e]
#12 /lib/tls/libc.so.6(__libc_start_main+0xf4) [0x4019c974]
#13 /usr/sbin/smbd [0x8082ec1]
[2007/04/23 19:59:28, 0] lib/util.c:smb_panic(1607)
smb_panic(): calling panic action [/usr/share/samba/panic-action 9714]
[2007/04/23 19:59:38, 0] lib/util.c:smb_panic(1615)
smb_panic(): action returned status 0
[2007/04/23 19:59:38, 0] lib/fault.c:dump_core(168)
unable to change to /var/log/samba/cores/smbdrefusing to dump core
[2007/04/23 19:59:48, 1] smbd/service.c:make_connection_snum(950)
griff (192.168.5.209) connect to service _студенту initially as user nobody (uid=65534, gid=65534) (pid 9763)
[2007/04/23 19:59:48, 0] param/loadparm.c:process_usershare_file(4497)
process_usershare_file: stat of /home/users/_студенту failed. Permission deniedпапка _студенту - шара создана динамически
мой smb.conf
[global]
browse list = yes
wide links = yes
read raw = no
usershare path = /home/users
usershare max shares = 100
usershare allow guests = no
usershare owner only = yes
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Please*retype*new*password* %n\n *password*successfully*updated*
workgroup = WORK
server string = %h server (Samba %v)
wins support = yes
dns proxy = no
log file = /var/log/samba/log.%m
full_audit:success = read
max log size = 1000
syslog = 10
panic action = /usr/share/samba/panic-action %d
security = user
null passwords = yes
map to guest = bad user
guest ok = yes
guest account = nobody
encrypt passwords = true
passdb backend = tdbsam
invalid users = root
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
dos charset = cp1251
unix charset = koi8-r
socket options = IPTOS_LOWDELAY TCP_NODELAY
local master = Yes
preferred master = Yes
os level = 255#======================= Share Definitions =======================
[rwshare]
path = /home/samba/rwshare
browseable = yes
guest ok = yes
writable = yes[smb]
path = /home/samba
browseable = no
guest ok = no
read only = yes
write list = fadminДва вопроса которые не могу выяснить:
1. В логе: process_usershare_file: stat of /home/users/_студенту failed. Permission denied почему denied?2. как сделать чтобы не тормозило
Искал везде уже добрался до списков рассылки, там тоже ни нашел, ткните носом пожалуйста.
Разобрался. Не на ту папку права ставил.