Привет коллегам!
Случилась неприятность. Погиб по причине невнимательности рабочий конфиг самбы. Фигня вопрос, быстренько наваял следующее
Показать
workgroup = WWWWWW
server string = Samba Server Version %v
netbios name = fileserver
interfaces = lo eth0 192.168.43.0/24
bind interfaces only = yes
name resolve order = lmhosts host bcast
log level = 5
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
null passwords = yes
username map = /etc/samba/smbusers
admin users = root, admin, administrator
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/bin/gpasswd -a %u %g
delete user from group script = /usr/bin/gpasswd -d %u %g
add machine script = /usr/sbin/useradd -g computers -s /bin/false -d /dev/null %u
set primary group script = /usr/sbin/usermod -g %g %u
logon path =
logon drive =
logon home =
logon script = %G.bat
domain logons = yes
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384
time server = yes
preferred master = yes
domain master = yes
local master = yes
os level = 255
wins support = yes
; printcap name = /etc/printcap
# obtain a list of printers automatically on UNIX System V systems:
; printcap name = lpstat
; printing = cups
# --------------------------- File System Options ---------------------------
#
# The options in this section can be un-commented if the file system supports
# extended attributes, and those attributes are enabled (usually via the
# "user_xattr" mount option). These options allow the administrator to specify
# that DOS attributes are stored in extended attributes and also make sure that
# Samba does not change the permission bits.
#
# Note: These options can be used on a per-share basis. Setting them globally
# (in the [global] section) makes them the default for all shares.
; map archive = no
; map hidden = no
; map read only = no
; map system = no
; store dos attributes = yes
oplocks = yes
kernel oplocks = no
level2 oplocks = yes
use sendfile = yes
;locking = yes
deadtime = 120 ; разрывать соединение с юзером после 120 минут бездействия
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
; valid users = %S
; valid users = MYDOMAIN\%S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
# Un-comment the following and create the netlogon directory for Domain Logons:
[netlogon]
comment = Network Logon Service
path = /mnt/glusterfs/exports/netlogon
guest ok = yes
writable = no
# The default is to use the user's home directory:
[Profiles]
path = /mnt/glusterfs/exports/profiles
browseable = no
guest ok = yes
create mask = 0600
directory mask = 0700
force user = %U
valid users = %U "Domain Admins"
read only = No
profile acls = Yes
[FirmDocs]
comment = Документы фирмы
path = /mnt/glusterfs/exports/FirmDocs
writable = yes
create mask = 0775
directory mask = 0775
strict locking = auto
csc policy = manual
level2 oplocks = yes
[WorkDocs]
comment = Документы производства
path = /mnt/glusterfs/exports/WorkDocs
writable = yes
create mask = 0775
directory mask = 0775
strict locking = auto
csc policy = manual
level2 oplocks = yes
[BD]
path = /mnt/drbd/BD
writable = yes
create mask = 0777
directory mask = 0777
strict locking = auto
csc policy = manual
level2 oplocks = yes
write cache size = 0
; defer sharing violations = No
[Consultant]
path = /mnt/drbd/Laws
writable = yes
create mask = 0777
directory mask = 0777
write cache size = 0
На стенде все работало нормально. Но как только полезли пользователи в сеть.... Вот тут и начались чудеса в решете, то есть в Выне- если я FARом открываю сетевые каталоги очень быстро и беспроблемно, то стоит это же самое делать из проводника (explorer, а именно - "Мой компьютер" ), то ехplorer вешается накрепко. Причем так крепко висит, что и FARом до того каталога, что хочу екплорером открыть недобраться. После длинной висячки (несколько минут) експлорер каталог открывает, но это же не дело...
Коллеги, наведите на правильную мыслю. Я не вижу никакого криминала в своем конфиге. Причем такого, что оно вешает екплорер, а FAR - работает с сетью безпроблемно...
Или может быть собака зарылась в совсем ином месте? Не в самбе? Хотя - трогал вынужденно только её конфиг.
=========================================
Тема закрыта. Я торомоз. Дело было не в бобине...
А именно - у меня самба раздает не только свои каталоги (со своего сервера), но и с иного, более старого (сильно более) сервака под управлением W2003-server. Ну, тот, по старости лет своих, и помре... А "Мой компьютер" в отличие от честного и тупого фара пытается собрать кэши подключений.... И беспробудно "кэшировал" отсутствующий девас...