LINUX.ORG.RU
ФорумAdmin

Проблемы с Samba

 , ,


0

2

Помогите, пожалуйста. Консоль разрывается от ошибок:

...
Nov 17 05:50:11 hpmini200 nmbd[76362]:   query_name: Failed to send packet trying to query name MFHUNRUH<1d>
Nov 17 05:55:13 hpmini200 nmbd[76362]: [2016/11/17 05:55:13.224741,  0] ../source3/libsmb/nmblib.c:873(send_udp)
Nov 17 05:55:13 hpmini200 nmbd[76362]:   Packet send failed to 192.168.1.255(137) ERRNO=Permission denied
Nov 17 05:55:13 hpmini200 nmbd[76362]: [2016/11/17 05:55:13.224946,  0] ../source3/nmbd/nmbd_packets.c:179(send_netbios_packet)
Nov 17 05:55:13 hpmini200 nmbd[76362]:   send_netbios_packet: send_packet() to IP 192.168.1.255 port 137 failed
Nov 17 05:55:13 hpmini200 nmbd[76362]: [2016/11/17 05:55:13.225080,  0] ../source3/nmbd/nmbd_namequery.c:245(query_name)
Nov 17 05:55:13 hpmini200 nmbd[76362]:   query_name: Failed to send packet trying to query name MFHUNRUH<1d>
Nov 17 06:00:19 hpmini200 nmbd[76362]: [2016/11/17 06:00:19.650107,  0] ../source3/libsmb/nmblib.c:873(send_udp)
Nov 17 06:00:19 hpmini200 nmbd[76362]:   Packet send failed to 192.168.1.255(137) ERRNO=Permission denied
Nov 17 06:00:19 hpmini200 nmbd[76362]: [2016/11/17 06:00:19.650396,  0] ../source3/nmbd/nmbd_packets.c:179(send_netbios_packet)
Nov 17 06:00:19 hpmini200 nmbd[76362]:   send_netbios_packet: send_packet() to IP 192.168.1.255 port 137 failed
Nov 17 06:00:19 hpmini200 nmbd[76362]: [2016/11/17 06:00:19.650515,  0] ../source3/nmbd/nmbd_namequery.c:245(query_name)
Nov 17 06:00:19 hpmini200 nmbd[76362]:   query_name: Failed to send packet trying to query name MFHUNRUH<1d>
Nov 17 06:01:20 hpmini200 nmbd[76362]: [2016/11/17 06:01:20.102475,  0] ../source3/libsmb/nmblib.c:873(send_udp)
Nov 17 06:01:20 hpmini200 nmbd[76362]:   Packet send failed to 192.168.1.255(138) ERRNO=Permission denied
Nov 17 06:05:21 hpmini200 nmbd[76362]: [2016/11/17 06:05:21.491469,  0] ../source3/libsmb/nmblib.c:873(send_udp)
Nov 17 06:05:21 hpmini200 nmbd[76362]:   Packet send failed to 192.168.1.255(137) ERRNO=Permission denied
Nov 17 06:05:21 hpmini200 nmbd[76362]: [2016/11/17 06:05:21.491674,  0] ../source3/nmbd/nmbd_packets.c:179(send_netbios_packet)
Nov 17 06:05:21 hpmini200 nmbd[76362]:   send_netbios_packet: send_packet() to IP 192.168.1.255 port 137 failed
Nov 17 06:05:21 hpmini200 nmbd[76362]: [2016/11/17 06:05:21.491790,  0] ../source3/nmbd/nmbd_namequery.c:245(query_name)
Nov 17 06:05:21 hpmini200 nmbd[76362]:   query_name: Failed to send packet trying to query name MFHUNRUH<1d>
Nov 17 06:10:23 hpmini200 nmbd[76362]: [2016/11/17 06:10:23.382435,  0] ../source3/libsmb/nmblib.c:873(send_udp)
Nov 17 06:10:23 hpmini200 nmbd[76362]:   Packet send failed to 192.168.1.255(137) ERRNO=Permission denied
Nov 17 06:10:23 hpmini200 nmbd[76362]: [2016/11/17 06:10:23.382640,  0] ../source3/nmbd/nmbd_packets.c:179(send_netbios_packet)
Nov 17 06:10:23 hpmini200 nmbd[76362]:   send_netbios_packet: send_packet() to IP 192.168.1.255 port 137 failed
Nov 17 06:10:23 hpmini200 nmbd[76362]: [2016/11/17 06:10:23.382756,  0] ../source3/nmbd/nmbd_namequery.c:245(query_name)
Nov 17 06:10:23 hpmini200 nmbd[76362]:   query_name: Failed to send packet trying to query name MFHUNRUH<1d>
Nov 17 06:13:24 hpmini200 nmbd[76362]: [2016/11/17 06:13:24.600418,  0] ../source3/libsmb/nmblib.c:873(send_udp)
Nov 17 06:13:24 hpmini200 nmbd[76362]:   Packet send failed to 192.168.1.255(138) ERRNO=Permission denied
Nov 17 06:15:29 hpmini200 nmbd[76362]: [2016/11/17 06:15:29.945681,  0] ../source3/libsmb/nmblib.c:873(send_udp)
Nov 17 06:15:29 hpmini200 nmbd[76362]:   Packet send failed to 192.168.1.255(137) ERRNO=Permission denied
Nov 17 06:15:29 hpmini200 nmbd[76362]: [2016/11/17 06:15:29.945921,  0] ../source3/nmbd/nmbd_packets.c:179(send_netbios_packet)
Nov 17 06:15:29 hpmini200 nmbd[76362]:   send_netbios_packet: send_packet() to IP 192.168.1.255 port 137 failed
Nov 17 06:15:29 hpmini200 nmbd[76362]: [2016/11/17 06:15:29.946044,  0] ../source3/nmbd/nmbd_namequery.c:245(query_name)
Nov 17 06:15:29 hpmini200 nmbd[76362]:   query_name: Failed to send packet trying to query name MFHUNRUH<1d>
Nov 17 06:20:31 hpmini200 nmbd[76362]: [2016/11/17 06:20:31.417966,  0] ../source3/libsmb/nmblib.c:873(send_udp)
Nov 17 06:20:31 hpmini200 nmbd[76362]:   Packet send failed to 192.168.1.255(137) ERRNO=Permission denied
Nov 17 06:20:31 hpmini200 nmbd[76362]: [2016/11/17 06:20:31.418171,  0] ../source3/nmbd/nmbd_packets.c:179(send_netbios_packet)
Nov 17 06:20:31 hpmini200 nmbd[76362]:   send_netbios_packet: send_packet() to IP 192.168.1.255 port 137 failed
Nov 17 06:20:31 hpmini200 nmbd[76362]: [2016/11/17 06:20:31.418287,  0] ../source3/nmbd/nmbd_namequery.c:245(query_name)
Nov 17 06:20:31 hpmini200 nmbd[76362]:   query_name: Failed to send packet trying to query name MFHUNRUH<1d>
Nov 17 06:25:33 hpmini200 nmbd[76362]: [2016/11/17 06:25:33.256175,  0] ../source3/libsmb/nmblib.c:873(send_udp)
Nov 17 06:25:33 hpmini200 nmbd[76362]:   Packet send failed to 192.168.1.255(138) ERRNO=Permission denied
Nov 17 06:25:33 hpmini200 nmbd[76362]: [2016/11/17 06:25:33.256459,  0] ../source3/libsmb/nmblib.c:873(send_udp)
Nov 17 06:25:33 hpmini200 nmbd[76362]:   Packet send failed to 192.168.1.255(137) ERRNO=Permission denied
Nov 17 06:25:33 hpmini200 nmbd[76362]: [2016/11/17 06:25:33.256582,  0] ../source3/nmbd/nmbd_packets.c:179(send_netbios_packet)
Nov 17 06:25:33 hpmini200 nmbd[76362]:   send_netbios_packet: send_packet() to IP 192.168.1.255 port 137 failed
Nov 17 06:25:33 hpmini200 nmbd[76362]: [2016/11/17 06:25:33.256696,  0] ../source3/nmbd/nmbd_namequery.c:245(query_name)
Nov 17 06:25:33 hpmini200 nmbd[76362]:   query_name: Failed to send packet trying to query name MFHUNRUH<1d>
[global]
workgroup = MFHUNRUH
server string = Server on hpmini200.mfhunruh.com
security = user
allow hosts = 192.168.1.111,192.168.1.64,192.168.1.35,192.168.1.49,192.168.1.218
load printers = no
log file = /var/log/samba4/log.%m
max log size = 500
local master = no
domain master = no
dns proxy = no
netbios name = hpmini200.mfhunruh.com
netbios aliases = 
valid users = user //Замeнил

#============================ Share Definitions ==============================

[share]
user = user //Заменил
path = /share
writeable = yes
guest ok = no
valid users = user //Заменил

Какое-то длинное у тебя NETBIOS name, явно в логах «Packet send failed to 192.168.1.255(138) ERRNO=Permission denied» вот не помню а ты почитай «allow hosts» в smb.conf влияет на работу nmbd в плане разрешения отправлять/принимать пакеты.

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