LINUX.ORG.RU
ФорумAdmin

nmbd работает, но по \\name не зайти... только по \\IP


0

1

не понимаю в чем причина... конфиги самбы пробовал разные - ничего не меняется. по имени компа ни с одного виндового терминала зайти не выходит. только по IPшнику.

testparm Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions

[global] workgroup = TECHLAB netbios name = FUFO server string = Samba SRV interfaces = lo, eth1 bind interfaces only = Yes server role = standalone server map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No panic action = /usr/share/samba/panic-action %d idmap config * : backend = tdb create mask = 0700 directory mask = 0700

nmbd -SFi -d 2 nmbd version 4.1.8-Debian started. Copyright Andrew Tridgell and the Samba Team 1992-2013 rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) standard input is not a socket, assuming -D option added interface lo ip=::1 bcast= netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 added interface eth1 ip=192.168.0.12 bcast=192.168.0.15 netmask=255.255.255.240 making subnet name:192.168.0.12 Broadcast address:192.168.0.15 Subnet mask:255.255.255.240 create_subnets: Ignoring loopback interface. create_subnets: ignoring non IPv4 interface. making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 load_lmhosts_file: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory check_for_master_browser_fail: Forcing election on workgroup TECHLAB subnet 192.168.0.12 send_election_dgram: Sending election packet for workgroup TECHLAB on subnet 192.168.0.12 send_election_dgram: Sending election packet for workgroup TECHLAB on subnet 192.168.0.12 send_election_dgram: Sending election packet for workgroup TECHLAB on subnet 192.168.0.12 send_election_dgram: Sending election packet for workgroup TECHLAB on subnet 192.168.0.12 send_election_dgram: Sending election packet for workgroup TECHLAB on subnet 192.168.0.12 run_elections: >>> Won election for workgroup TECHLAB on subnet 192.168.0.12 <<< become_local_master_browser: Starting to become a master browser for workgroup TECHLAB on subnet 192.168.0.12 *****

Samba name server FUFO is now a local master browser for workgroup TECHLAB on subnet 192.168.0.12

*****

nmap 127.0.0.1 | grep «139\|445» 139/tcp open netbios-ssn 445/tcp open microsoft-ds

nmblookup -S fufo 192.168.0.12 fufo<00> Looking up status of 192.168.0.12 FUFO <00> - B <ACTIVE> FUFO <03> - B <ACTIVE> FUFO <20> - B <ACTIVE> ..__MSBROWSE__. <01> - <GROUP> B <ACTIVE> TECHLAB <00> - <GROUP> B <ACTIVE> TECHLAB <1d> - B <ACTIVE> TECHLAB <1e> - <GROUP> B <ACTIVE>

MAC Address = 00-00-00-00-00-00

nmblookup -A fufo Looking up status of 0.0.0.0 FUFO <00> - B <ACTIVE> FUFO <03> - B <ACTIVE> FUFO <20> - B <ACTIVE> ..__MSBROWSE__. <01> - <GROUP> B <ACTIVE> TECHLAB <00> - <GROUP> B <ACTIVE> TECHLAB <1d> - B <ACTIVE> TECHLAB <1e> - <GROUP> B <ACTIVE>

MAC Address = 00-00-00-00-00-00

nmblookup -T fufo

nmblookup -T 192.168.0.12 name_query failed to find name 192.168.0.12

nmblookup -M 192.168.0.12 name_query failed to find name 192.168.0.12#1d

Перемещено stave из general

на винтачке nbtstat -c

anonymous ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.