サーラリマンは働き過ぎ、社畜化に注意しよう!!

samba

linux

netbios名は必ず記述しないと表示速度が遅い

apt-get install samba

vi /etc/samba/smb.conf

[global]
domain master = Yes
local master = Yes
preferred master = Yes
os level = 35

netbios name = NETBIOS-DHCP

 

vi /etc/dhcp/dhcpd.conf

最終行に

option netbios-name-servers 192.168.1.10; これがないとwindowsでsambaサーバーが見えない

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.30 192.168.1.69;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
default-lease-time 600;
max-lease-time 7200;
option domain-name “local”;
option domain-name-servers 8.8.8.8, 8.8.4.4;
option netbios-name-servers 192.168.1.10;
}

 

 

コメント