Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Sergey Veltistov                     2:5020/3700.352 29 Jan 2001  22:06:17
 To : All
 Subject : samba
 -------------------------------------------------------------------------------- 
 
 
 Маршрутизатор - четыре сетевых карты, один реальный адрес и три из 10.x.
 Самба в качестве wins сервера. ip адреса раздаются dhcp сервером. Первый wins
 сервер на основе самбы, второй wins на основе W2000AS. Задача чтобы все в сетях 
 10.x видели друг друга в сетевом окружении. Что я делаю не так ?
 
 dhcp:
 netbios-name-servers 10.1.192.1, 10.3.192.2;
 netbios-node-type 8;
 
 BSD:
 1. 123.123.123.10/24
 2. 10.1.192.1/20
 3. 10.2.192.1/20
 4. 10.3.192.1/20
 
 W2000
 1. 123.123.123.20/24
 2. 10.3.192.2/20
 
 Hиже конфиг самбы.
 _______________________________________________________________________________
 #The "remote browse sync" parameter of smb.conf is used to announce to
 #another LMB that it must synchronise it's NetBIOS name list with our
 #Samba LMB. It works ONLY if the Samba server that has this option is
 #simultaneously the LMB on it's network segment.
 
 remote browse sync = 123.123.123.255 10.1.207.255 10.2.207.255 10.3.207.255
 remote announce = 123.123.123.0/255.255.255.0
 name resolve order = lmhosts host wins bcast
 
 # workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
 
 workgroup = NETWORK
 netbios name = SOME
 
 # server string is the equivalent of the NT Description field
 
 server string = Master Browser for NETWORK
 
 # This option is important for security. It allows you to restrict
 # connections to machines which are on your local network. The
 # following example restricts access to two C class networks and
 # the "loopback" interface. For more examples of the syntax see
 # the smb.conf man page
 
 hosts allow = 123.123.123. 10.1. 10.2. 10.3. 127.
 
 # this tells Samba to use a separate log file for each machine
 # that connects
 
 log file = /usr/storage.0/samba/logs/log.%m
 
 # Put a capping on the size of the log files (in Kb).
 
 max log size = 5000
 
 # Configure Samba to use multiple interfaces
 # If you have multiple network interfaces then you must list them
 # here. See the man page for details.
 
 interfaces = 10.1.192.1/20
 
 # OS Level determines the precedence of this server in master browser
 # elections. The default value should be reasonable
 
 os level = 255
 
 # Domain Master specifies Samba to be the Domain Master Browser. This
 # allows Samba to collate browse lists between subnets. Don't use this
 # if you already have a Windows NT domain controller doing this job
 
 domain master = yes
 
 # Preferred Master causes Samba to force a local browser election on startup
 # and gives it a slightly higher chance of winning the election
 
 preferred master = yes
 
 # Browser Control Options:
 # set local master to no if you don't want Samba to become a master
 # browser on your network. Otherwise the normal election rules apply
 
 local master = yes
 
 # Windows Internet Name Serving Support Section:
 # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
 
 wins support = yes
 browse list = Yes
 ______________________________________________________________________________
 
  ю Все вышесказанное имеет естественное пpоисхождение.
 
 --- Out of control. ---
  * Origin: DADDY'S gonna pay for your crashed car. (2:5020/3700.352)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 samba   Sergey Veltistov   29 Jan 2001 22:06:17 
Архивное /ru.unix.bsd/52463a75e150.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional