Jump to content

Recommended Posts

Posted

Домашняя сеть ~100 компов.

На всех компах(В основном winXP) написан статический IP, рабочая группа и винс на сервер.

На сервере стоит samba(freeBSD 5.2.1). Все работает, но раз 1-3 недели самба подвисает и в сетевом окружении остается только сервер(на сам сервер зайти можно). Лечится только перезапуском samba.

В логах не понятно, что было причиной зависания.

 

Как можно решить эту проблему.

 

PS:

samba-2.2.8a A free SMB and CIFS client and server for UNIX

samba-libsmbclient-3.0.0 The shared lib from the samba packges

Posted

# smb.conf

[global]

workgroup = HOME

server string = SERVER

hosts allow = 192.168.7.2 192.168. 10. 127.

guest account = smbguest

log file = /var/log/smb/log.%m

max log size = 5000

log level = 2

security = share

smb passwd file = /usr/local/etc/smbpasswd

username map = /usr/local/etc/smbusers

encrypt passwords = yes

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=16384 SO_SNDBUF=16384

read raw = yes

write raw = yes

oplocks = yes # Default

max xmit = 65535 # Default

dead time = 15 # Default is 0

getwd cache = yes

lpq cache = 30

interfaces = 192.168.7.254/24

local master = yes

os level = 255

domain master = yes

preferred master = yes

domain logons = no

wins support = yes

wins proxy = yes

dns proxy = yes

client code page=866

[Disk]

comment = READ and WRITE.

path = /smb/disk

public = yes

writeable = yes

printable = no

guest ok = yes

create mask = 0666

write list = smbguest

[Official]

comment = Official programs. READ ONLY

path = /smb/Official

public = yes

writeable = no

printable = no

guest ok = yes

Posted

Были похожие грабли, вылечилось после переползания на версию 3.0.10

сейчас скоро будет 12 версия. www.samba.org

Обновитесь! Хуже то уж точно не будет.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.