Хай !
Имам проблем с един SambaServer. Значи ,сервер-а поддържа 3 мрежи респективно eth0 ,eth1 ,eth1: 0
За всички мрежи сервер-а е перфектен с изключение на eht1: 0. В началото като се стартира всичко е ОК ,но след време трябва да се рестартира ,защото е спрял да работи на eth1: 0 (при останалите няма проблем). И още нещо ,понякога сервер-а не се вижда в Network Neighborhood на виндовсите ,но е досъпен(работи). Ако го направя и като NIS ще се оправи ли ?
ето smb.conf на сервер-а:
# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2003/03/19 23:29:58
# Global parameters
[global]
workgroup = VG
netbios name = vgserver
server string = File Server
interfaces = eth1 eth0 eth1: 0
hosts deny = ALL
hosts allow = 212.116.152.10 212.116.152.11 212.116.152.12 212.116.152.13 212.116.152.14 10.249.149.77 10.249.149.67 10.249.149.68 217.10.243.115
security = SHARE
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = lpstat
dns proxy = No
printing = cups
print command = /usr/bin/lp -d%p -oraw %s; rm %s
lpq command = /usr/bin/lpstat -o%p
lprm command = /usr/bin/cancel %p-%j
queuepause command = /usr/bin/disable %p
queueresume command = /usr/bin/enable %p
[Full]
comment = Temp
path = /ServerFiles/Full/
create mask = 0700
guest ok = Yes
writable = yes
[Games]
comment = Games Playing
path = /ServerFiles/Games/
create mask = 0700
guest ok = Yes
writable = yes
[Install Games]
comment = Install Games
path = /ServerFiles/Games Install/
create mask = 0700
guest ok = Yes
read only = yes
[Movies]
comment = Movies
path = /ServerFiles/Movies/
create mask = 0700
guest ok = Yes
read only = yes
[Programs]
comment = Programs Install
path = /ServerFiles/Programs/
create mask = 0700
guest ok = Yes
read only = yes
[VCD's]
comment = Virtual Cds
path = /ServerFiles/VCD's/
create mask = 0700
guest ok = Yes
read only = yes
[Mp3]
comment = Music
path = /ServerFiles/mp3/
create mask = 0700
guest ok = Yes
read only = yes
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
lpq command = lpstat -o %p
lprm command = cancel %p-%j
browseable = No